|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.util.EventObject
java.awt.dnd.DragSourceEvent
java.awt.dnd.DragSourceDropEvent
public class DragSourceDropEvent
DragSourceDropEvent
´Â
DragSourceContextPeer
·Î
ºÎÅÍ DragSourceContext
¸¦ °³ÀÔ½ÃÄÑDragSourceContext
¹× °Å±â¿¡ °ü·ÃµÈ DragSource
¿¡ µî·ÏµÈ DragSourceListener
dragDropEnd
¸Þ¼µå¿¡ º¸³»Áý´Ï´Ù. DragSourceDropEvent
´Â
Á¶ÀÛÀÇ ¿À¸®Áö³×ÀÌŸÀÇ »ó¼¼ Á¤º¸¸¦ Æ÷ÇÔÇØ, Á¶ÀÛÀÌ ¿Ï·áÇßÀ» ¶§¿¡ ÃÖÁ¾ »ç¿ëÀÚ¿¡ ÀûÀýÇÑ Çǵå¹éÀ» Á¦°øÇÕ´Ï´Ù.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º java.util. EventObject ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
source |
»ý¼ºÀÚ °³¿ä | |
---|---|
DragSourceDropEvent (DragSourceContext dsc)
µå·ÓÀÌ µÇÁö ¾Ê´Â µå·¡±× ÀÇ DragSourceDropEvent ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
DragSourceDropEvent (DragSourceContext dsc,
int action,
boolean success)
DragSourceContext , µå·Ó ¾×¼Ç ¹× µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean °ªÀ» ÁöÁ¤ÇØ, µå·ÓÀÇ DragSourceDropEvent ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
DragSourceDropEvent (DragSourceContext dsc,
int action,
boolean success,
int x,
int y)
DragSourceContext , µå·Ó ¾×¼Ç, µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Ä¡ ¹× ÁÂÇ¥¸¦ ÁöÁ¤ÇØ, µå·ÓÀÇ DragSourceDropEvent ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
int |
getDropAction ()
ÀÌ ¸Þ¼µå´Â µå·ÓÀÇ ´ë»óÀ¸·Î Ÿ°ÙÀ¸·Î µû¶ó ½ÇÇàµÇ´Â ¾×¼ÇÀ» ³ªÅ¸³»´Â int ¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
boolean |
getDropSuccess ()
ÀÌ ¸Þ¼µå´Â µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean À»
¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.awt.dnd. DragSourceEvent ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getDragSourceContext,
getLocation,
getX,
getY |
Ŭ·¡½º java.util. EventObject ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getSource,
toString |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public DragSourceDropEvent(DragSourceContext dsc, int action, boolean success)
DragSourceContext
, µå·Ó ¾×¼Ç ¹× µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean
°ªÀ» ÁöÁ¤ÇØ, µå·ÓÀÇ DragSourceDropEvent
¸¦ ±¸ÃàÇÕ´Ï´Ù. ÀÌ DragSourceDropEvent
ÁÂÇ¥´Â ÁöÁ¤µÇÁö ¾Ê±â ¶§¹®¿¡
getLocation
´Â ÀÌ À̺¥Æ®¿¡ ´ëÇØ¼ null
À»
¸®ÅÏÇÕ´Ï´Ù.
Àμö action
´Â ´ÜÀÏÀÇ ¾×¼ÇÀ» ³ªÅ¸³»´Â DnDConstants
¾î¶² °ÍÀΰ¡·Î ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ »ý¼ºÀÚ´Â ¹«È¿ÀÎ action
¿¡ ´ëÇØ¼
¿¹¿Ü¸¦ Throw ÇÏÁö ¾Ê½À´Ï´Ù.
dsc
- ÀÌ DragSourceDropEvent
¿¡ °ü·ÃÇÑ DragSourceContext
action
- µå·Ó ¾×¼Çsuccess
- µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Çü
IllegalArgumentException
- dsc
°¡ null
ÀÎ °æ¿ìDragSourceEvent.getLocation()
public DragSourceDropEvent(DragSourceContext dsc, int action, boolean success, int x, int y)
DragSourceContext
, µå·Ó ¾×¼Ç, µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean
Ä¡ ¹× ÁÂÇ¥¸¦ ÁöÁ¤ÇØ, µå·ÓÀÇ DragSourceDropEvent
¸¦ ±¸ÃàÇÕ´Ï´Ù.
Àμö action
´Â ´ÜÀÏÀÇ ¾×¼ÇÀ» ³ªÅ¸³»´Â DnDConstants
¾î¶² °ÍÀΰ¡·Î ÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. ÀÌ »ý¼ºÀÚ´Â ¹«È¿ÀÎ action
¿¡ ´ëÇØ¼
¿¹¿Ü¸¦ Throw ÇÏÁö ¾Ê½À´Ï´Ù.
dsc
- ÀÌ DragSourceDropEvent
¿¡ °ü·ÃÇÑ DragSourceContext
action
- µå·Ó ¾×¼Çsuccess
- µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Çüx
- Ä¿¼ À§Ä¡ÀÇ ¼öÆò ÁÂÇ¥y
- Ä¿¼ À§Ä¡ÀÇ ¼öÁ÷ ÁÂÇ¥
IllegalArgumentException
- dsc
°¡ null
ÀÎ °æ¿ìpublic DragSourceDropEvent(DragSourceContext dsc)
DragSourceDropEvent
¸¦ ±¸ÃàÇÕ´Ï´Ù. ÀÌ DragSourceDropEvent
ÁÂÇ¥´Â ÁöÁ¤µÇÁö ¾Ê±â ¶§¹®¿¡
getLocation
´Â ÀÌ À̺¥Æ®¿¡ ´ëÇØ¼ null
À»
¸®ÅÏÇÕ´Ï´Ù.
dsc
- DragSourceContext
IllegalArgumentException
- dsc
°¡ null
ÀÎ °æ¿ìDragSourceEvent.getLocation()
¸Þ¼µåÀÇ »ó¼¼ |
---|
public boolean getDropSuccess()
boolean
À»
¸®ÅÏÇÕ´Ï´Ù.
true
. µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» °ÅºÎÇßÀ» °æ¿ì, ¶Ç´Â µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» ¹Þ¾Æµé¿´Áö¸¸ µå·Ó ¾×¼Ç¿¡ ½ÇÆÐÇßÀ» °æ¿ì´Â false
public int getDropAction()
int
¸¦ ¸®ÅÏÇÕ´Ï´Ù.
DnDConstants.ACTION_NONE
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.