站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

WidgetAction.WidgetDropTargetEvent (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

org.netbeans.api.visual.action
Class WidgetAction.WidgetDropTargetEvent

java.lang.Object
  extended by org.netbeans.api.visual.action.WidgetAction.WidgetDropTargetEvent
All Implemented Interfaces:
WidgetAction.WidgetEvent
Enclosing interface:
WidgetAction

public static final class WidgetAction.WidgetDropTargetEvent
extends Object
implements WidgetAction.WidgetEvent

Represents a drop target event.


Constructor Summary
WidgetAction.WidgetDropTargetEvent(long id, DropTargetEvent event)
          Creates a drop target event.
 
Method Summary
 DropTargetContext getDropTargetContext()
           
 long getEventID()
          Returns an event id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetAction.WidgetDropTargetEvent

public WidgetAction.WidgetDropTargetEvent(long id,
                                          DropTargetEvent event)
Creates a drop target event.

Parameters:
id - the event id
event - the Swing event
Method Detail

getEventID

public long getEventID()
Returns an event id.

Specified by:
getEventID in interface WidgetAction.WidgetEvent
Returns:
the event id

getDropTargetContext

public DropTargetContext getDropTargetContext()
See Also:
DropTargetEvent

org.netbeans.api.visual 2.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.