org.netbeans.api.visual 2.21.1

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.21.1

Built on February 22 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.