JavaTM 2
Platform
Std.  Ed.  v1. 4.0

java.awt.dnd
Ŭ·¡½º DragSourceDropEvent

java.lang.Object 
  |
  +--java.util.EventObject 
        |
        +--java.awt.dnd.DragSourceEvent 
              |
              +--java.awt.dnd.DragSourceDropEvent
¸ðµç ±¸Çö ÀÎÅÍÆäÀ̽º:
Serializable

public class DragSourceDropEvent
extends DragSourceEvent

DragSourceDropEvent ´Â DragSourceContextPeer ·ÎºÎÅÍ DragSourceContext ¸¦ °³ÀÔ½ÃÄÑ,DragSourceContext ¹× °Å±â¿¡ °ü·ÃÇÏ´Â DragSource ·Î µî·ÏµÈ DragSourceListener ÀÇ dragDropEnd ¸Þ¼Òµå¿¡ º¸³»Áý´Ï´Ù. DragSourceDropEvent ´Â Á¶ÀÛÀÇ ¿À¸®Áö³×ÀÌŸÀÇ »ó¼¼ Á¤º¸¸¦ ÀúÀåÇØ, Á¶ÀÛÀÌ ¿Ï·áÇßÀ» ¶§¿¡ ÃÖÁ¾ »ç¿ëÀÚ¿¡ ÀûÀýÇÑ Çǵå¹éÀ» Á¦°øÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÁ¯:
1.2
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

ÇʵåÀÇ °³¿ä
 
Ŭ·¡½º java.util. EventObject ¿¡¼­ »ó¼Ó¹ÞÀº Çʵå
source
 
»ý¼ºÀÚÀÇ °³¿ä
DragSourceDropEvent (DragSourceContext  dsc)
          µå·ÓÀÌ µÇÁö ¾Ê´Â µå·¯±×ÀÇ DragSourceDropEvent ¸¦ ±¸ÃàÇÕ´Ï´Ù.
DragSourceDropEvent (DragSourceContext  dsc, int action, boolean success)
          DragSourceDropEvent ¸¦ µå·Ó¿ëÀ¸·Î ±¸ÃàÇØ, µå·Ó ¾×¼ÇÀ» À§ÇÑ DragSourceContext, ¹× µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù.
DragSourceDropEvent (DragSourceContext  dsc, int action, boolean success, int x, int y)
          DragSourceDropEvent ¸¦ µå·Ó¿ëÀ¸·Î ±¸ÃàÇØ,DragSourceContext, µå·Ó ¾×¼Ç, µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Ä¡, ¹× ÁÂÇ¥¸¦ ÁöÁ¤ÇÕ´Ï´Ù.
 
¸Þ¼ÒµåÀÇ °³¿ä
 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
 

»ý¼ºÀÚÀÇ »ó¼¼

DragSourceDropEvent

public DragSourceDropEvent(DragSourceContext  dsc,
                           int action,
                           boolean success)
DragSourceDropEvent ¸¦ µå·Ó¿ëÀ¸·Î ±¸ÃàÇØ, µå·Ó ¾×¼ÇÀ» À§ÇÑ DragSourceContext, ¹× µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù. ÀÌ DragSourceDropEvent ÀÇ ÁÂÇ¥´Â ÁöÁ¤µÇÁö ¾Ê±â ¶§¹®¿¡,getLocation ´Â ÀÌ À̺¥Æ®¿¡ ´ëÇØ¼­ null ¸¦ µ¹·ÁÁÝ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
dsc - ÀÌ DragSourceDropEvent ¿¡ °ü·ÃÇÑ DragSourceContext
action - µå·Ó ¾×¼Ç
success - µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Çü
°ü·Ã Ç׸ñ:
DragSourceEvent.getLocation()

DragSourceDropEvent

public DragSourceDropEvent(DragSourceContext  dsc,
                           int action,
                           boolean success,
                           int x,
                           int y)
DragSourceDropEvent ¸¦ µå·Ó¿ëÀ¸·Î ±¸ÃàÇØ,DragSourceContext, µå·Ó ¾×¼Ç, µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Ä¡, ¹× ÁÂÇ¥¸¦ ÁöÁ¤ÇÕ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
dsc - ÀÌ DragSourceDropEvent ¿¡ °ü·ÃÇÑ DragSourceContext
action - µå·Ó ¾×¼Ç
success - µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean Çü
x - Ä¿¼­ À§Ä¡ÀÇ ¼öÆò ÁÂÇ¥
y - Ä¿¼­ À§Ä¡ÀÇ ¼öÁ÷ ÁÂÇ¥
µµÀÔµÈ ¹öÁ¯:
1.4

DragSourceDropEvent

public DragSourceDropEvent(DragSourceContext  dsc)
µå·ÓÀÌ µÇÁö ¾Ê´Â µå·¯±×ÀÇ DragSourceDropEvent ¸¦ ±¸ÃàÇÕ´Ï´Ù. ÀÌ DragSourceDropEvent ÀÇ ÁÂÇ¥´Â ÁöÁ¤µÇÁö ¾Ê±â ¶§¹®¿¡,getLocation ´Â ÀÌ À̺¥Æ®¿¡ ´ëÇØ¼­ null ¸¦ µ¹·ÁÁÝ´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
dsc - DragSourceContext
°ü·Ã Ç׸ñ:
DragSourceEvent.getLocation()
¸Þ¼ÒµåÀÇ »ó¼¼

getDropSuccess

public boolean getDropSuccess()
ÀÌ ¸Þ¼Òµå´Â µå·ÓÀÌ ¼º°øÇß´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³»´Â boolean ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» ¹Þ¾Æµé¿© µå·Ó ¾×¼ÇÀÌ ¼º°øÇßÀ» °æ¿ì´Â true. µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» °ÅºÎÇßÀ» °æ¿ì, ¶Ç´Â µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» ¹Þ¾Æµé¿´Áö¸¸ µå·Ó ¾×¼Ç¿¡ ½ÇÆÐÇßÀ» °æ¿ì´Â false

getDropAction

public int getDropAction()
ÀÌ ¸Þ¼Òµå´Â µå·ÓÀÇ ´ë»óÀ¸·Î Ÿ°ÙÀ¸·Î µû¶ó ½ÇÇàµÇ´Â ¾×¼ÇÀ» ³ªÅ¸³»´Â int ¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
µå·Ó Ÿ°ÙÀÌ µå·ÓÀ» ¹Þ¾Æµé¿© Ÿ°Ù µå·Ó ¾×¼ÇÀÌ µå·¯±× ¼Ò½º·Î ¼­Æ÷Æ®µÇ°í ÀÖ´Â °æ¿ì´Â µå·ÓÀÇ ´ë»óÀ¸·Î Ÿ°ÙÀ¸·Î µû¶ó ½ÇÇàµÇ´Â ¾×¼Ç. ±×·¸Áö ¾ÊÀº °æ¿ì´Â DnDConstants.ACTION_NONE

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

¹ö±×ÀÇ º¸°í¿Í ±â´ÉÀÇ ¸®Äù½ºÆ®
ÀÌ¿ÜÀÇ API ·¹ÆÛ·±½º ¹× °³¹ßÀÚ¿ë ¹®¼­¿¡ ´ëÇØ¼­´Â Java 2 SDK SE °³¹ßÀÚ¿ë ¹®¼­¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. °³¹ßÀÚÀü¿ëÀÇ »ó¼¼ÇÑ ÇØ¼³, °³³äÀÇ °³¿ä, ¿ë¾îÀÇ Á¤ÀÇ, ¹ö±×ÀÇ È¸ÇÇÃ¥, ¹× ÄÚµå ½Ç·Ê°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.

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.