|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.awt.dnd.DropTargetContext
DropTargetContext
´Â µå·¯±×£¦µå·Ó Á¶ÀÛ¿¡ °ü·ÃÇÑ ³í¸® Ä¿¼°¡,DropTarget
¿¡ °ü·ÃÇÑ Component
ÀÇ °¡½Ã Áö¿À¸ÞÆ®¸®¿Í °ãÄ¥ ¶§, ¾ðÁ¦³ª ÀÛ¼ºµË´Ï´Ù. DropTargetContext
´Â µå·Ó Á¶ÀÛÀÇ ¸®½Ã¹ö°¡ ÃÖÁ¾ »ç¿ëÀÚ¿¡ ÀûÀýÇÑ µå·¯±× ¾ð´õ Çǵå¹éÀ» Á¦°øÇϰųª Çʿ信 µû¶ó¼ ÈļÓÀÇ µ¥ÀÌÅÍ Àü¼ÛÀ» ½ÇÇàÇϰųª ÇÏ´Â ±â±¸¸¦ Á¦°øÇÕ´Ï´Ù.
ÁßøµÈ Ŭ·¡½ºÀÇ °³¿ä | |
protected class |
DropTargetContext.TransferableProxy
TransferableProxy ´Â Transferable ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÏ´Â ÇïÆÛ ³»ºÎ Ŭ·¡½º¿¡¼, ƯÁ¤ÀÇ µå·¯±×£¦µå·Ó Á¶ÀÛÀÇ µ¥ÀÌÅÍ Àü¼ÛÀ» ³ªÅ¸³»´Â ´Ù¸¥ Transferable ¿ÀºêÁ§Æ®¿¡ ´ëÇÑ ÇÁ·Ï½Ã·Î¼ µ¿ÀÛÇÕ´Ï´Ù.
|
¸Þ¼ÒµåÀÇ °³¿ä | |
protected void |
acceptDrag (int dragOperation)
µå·¯±×¸¦ ¹Þ¾ÆµéÀÔ´Ï´Ù. |
protected void |
acceptDrop (int dropOperation)
ÁöÁ¤µÈ Á¶ÀÛÀ» »ç¿ëÇØ µå·ÓÀÌ ¹Þ¾Æµé¿©Áö´Â °ÍÀ» ¾Ë¸®±â À§Çؼ(¶§¹®¿¡) ºÒ·Á °©´Ï´Ù. |
void |
addNotify (java.awt.dnd.peer.DropTargetContextPeer dtcp)
DropTargetContextPeer ¿¡ °ü·ÃÇßÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù.
|
protected Transferable |
createTransferableProxy (Transferable t,
boolean local)
ÁöÁ¤µÈ Transferable ÀÇ ÇÁ·Ï½Ã·Î¼ TransferableProxy ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
void |
dropComplete (boolean success)
ÀÌ ¸Þ¼Òµå´Â µå·ÓÀÌ ¿Ï·áÇÑ °Í, ¹× ±×°ÍÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ¾Ë¸³´Ï´Ù. |
Component |
getComponent ()
ÀÌ ¸Þ¼Òµå´Â ÀÌ DropTargetContext ¿¡ °ü·ÃÇÑ Component ¸¦ µ¹·ÁÁÝ´Ï´Ù.
|
protected DataFlavor [] |
getCurrentDataFlavors ()
ÀÌ Á¶ÀÛÀÇ Transferable ¿ÀÆÛ·£µåÀÇ À¯È¿ÇÑ DataFlavor À» ÃëµæÇÕ´Ï´Ù.
|
protected List |
getCurrentDataFlavorsAsList ()
ÀÌ ¸Þ¼Òµå´Â Transferable ¿ÀÆÛ·£µåÀÇ ÇöÀç À¯È¿ÇÑ DataFlavor ¸¦ java.util.List ·Î¼ µ¹·ÁÁÝ´Ï´Ù.
|
DropTarget |
getDropTarget ()
ÀÌ ¸Þ¼Òµå´Â ÀÌ DropTargetContext ¿¡ °ü·ÃÇÑ DropTarget ¸¦ µ¹·ÁÁÝ´Ï´Ù.
|
protected int |
getTargetActions ()
ÀÌ ¸Þ¼Òµå´Â ÀÌ DropTarget °¡ ¹Þ¾ÆµéÀÌ´Â ÇöÀçÀÇ ¾×¼ÇÀ» ³ªÅ¸³»´Â int ¸¦ µ¹·ÁÁÝ´Ï´Ù.
|
protected Transferable |
getTransferable ()
ÀÌ Á¶ÀÛÀÇ Transferable (ÇÁ·Ï½Ã) ¿ÀÆÛ·£µå¸¦ µ¹·ÁÁÝ´Ï´Ù. |
protected boolean |
isDataFlavorSupported (DataFlavor df)
ÀÌ ¸Þ¼Òµå´Â ÁöÁ¤ÇÑ DataFlavor °¡ ÀÌ DropTargetContext ¿¡ ÀÇÇØ ¼Æ÷Æ®µÉÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â boolean ¸¦ µ¹·ÁÁÝ´Ï´Ù.
|
protected void |
rejectDrag ()
µå·¯±×¸¦ °ÅºÎÇÕ´Ï´Ù. |
protected void |
rejectDrop ()
µå·ÓÀÌ ¹Þ¾Æµé¿©ÁöÁö ¾Ê´Â °ÍÀ» ¾Ë¸®±â À§Çؼ(¶§¹®¿¡) ºÒ·Á °©´Ï´Ù. |
void |
removeNotify ()
DropTargetContextPeer °úÀÇ °ü·ÃÀÌ Ç®¸± ¶§ ºÒ·Á °©´Ï´Ù. |
protected void |
setTargetActions (int actions)
ÀÌ ¸Þ¼Òµå´Â ÀÌ DropTarget ·Î Çã¿ë µÇ´Â ÇöÀçÀÇ ¾×¼ÇÀ» ¼³Á¤ÇÕ´Ï´Ù.
|
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
¸Þ¼ÒµåÀÇ »ó¼¼ |
public DropTarget getDropTarget()
DropTargetContext
¿¡ °ü·ÃÇÑ DropTarget
¸¦ µ¹·ÁÁÝ´Ï´Ù.
DropTargetContext
¿¡ °ü·ÃÇÑ DropTarget
public Component getComponent()
DropTargetContext
¿¡ °ü·ÃÇÑ Component
¸¦ µ¹·ÁÁÝ´Ï´Ù.
public void addNotify(java.awt.dnd.peer.DropTargetContextPeer dtcp)
DropTargetContextPeer
¿¡ °ü·ÃÇßÀ» ¶§¿¡ ºÒ·Á °©´Ï´Ù.
dtcp
- DropTargetContextPeer
public void removeNotify()
DropTargetContextPeer
°úÀÇ °ü·ÃÀÌ Ç®¸± ¶§ ºÒ·Á °©´Ï´Ù.
protected void setTargetActions(int actions)
DropTarget
·Î Çã¿ë µÇ´Â ÇöÀçÀÇ ¾×¼ÇÀ» ¼³Á¤ÇÕ´Ï´Ù.
actions
- ¼Æ÷Æ®µÇ´Â ¾×¼ÇÀ» ³ªÅ¸³»´Â int
protected int getTargetActions()
DropTarget
°¡ ¹Þ¾ÆµéÀÌ´Â ÇöÀçÀÇ ¾×¼ÇÀ» ³ªÅ¸³»´Â int
¸¦ µ¹·ÁÁÝ´Ï´Ù.
DropTarget
·Î Çã¿ë µÇ´Â ÇöÀçÀÇ ¾×¼Çpublic void dropComplete(boolean success) throws InvalidDnDOperationException
success
- ¼º°øÇßÀ» °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
InvalidDnDOperationException
- µå·ÓÀÌ ¹Ì󸮰¡ ¾Æ´ÑÁö ÇöÁ¸ Çϰí ÀÖÁö ¾Ê´Â °æ¿ìprotected void acceptDrag(int dragOperation)
dragOperation
- ¼Æ÷Æ®µÇ´Â ¾×¼Çprotected void rejectDrag()
protected void acceptDrop(int dropOperation)
dropOperation
- ¼Æ÷Æ®µÇ´Â ¾×¼Çprotected void rejectDrop()
protected DataFlavor [] getCurrentDataFlavors()
Transferable
¿ÀÆÛ·£µåÀÇ À¯È¿ÇÑ DataFlavor ¸¦ ÃëµæÇÕ´Ï´Ù.
Transferable
¿ÀÆÛ·£µåÀÇ, ¼Æ÷Æ®µÇ´Â DataFlavor
¸¦ ÀúÀåÇÏ´Â DataFlavor[]
protected List getCurrentDataFlavorsAsList()
Transferable
¿ÀÆÛ·£µåÀÇ ÇöÀç À¯È¿ÇÑ DataFlavor ¸¦ java.util.List
·Î¼ µ¹·ÁÁÝ´Ï´Ù.
java.util.List
·Î¼ ÇöÀç À¯È¿ÇÑ DataFlavorprotected boolean isDataFlavorSupported(DataFlavor df)
DataFlavor
°¡ ÀÌ DropTargetContext
¿¡ ÀÇÇØ ¼Æ÷Æ®µÉÁö ¾î¶³Áö¸¦ ³ªÅ¸³»´Â boolean
¸¦ µ¹·ÁÁÝ´Ï´Ù.
df
- DataFlavor
DataFlavor
°¡ ¼Æ÷Æ®µÇ°í ÀÖ´ÂÁö ¾î¶²Áöprotected Transferable getTransferable() throws InvalidDnDOperationException
Transferable
InvalidDnDOperationException
- µå·¯±×°¡ ¹Ì󸮰¡ ¾Æ´ÑÁö ÇöÁ¸ Çϰí ÀÖÁö ¾Ê´Â °æ¿ì
protected Transferable createTransferableProxy(Transferable t, boolean local)
t
- ÇÁ·Ï½ÃÀÇ ´ë»óÀÇ Transferablelocal
- t °¡ ·ÎÄÃÀÇ µå·¯±×£¦µå·Ó Á¶ÀÛÀÇ °á°ú¸¦ ³ªÅ¸³»´Â °æ¿ì´Â true
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.