com.guiseframework.platform
Class PlatformDropEvent
java.lang.Object
java.util.EventObject
com.globalmentor.event.AbstractEvent
com.guiseframework.event.AbstractGuiseEvent
com.guiseframework.platform.AbstractPlatformEvent
com.guiseframework.platform.AbstractDepictEvent
com.guiseframework.platform.PlatformDropEvent
- All Implemented Interfaces:
- com.globalmentor.event.Event, GuiseEvent, DepictEvent, PlatformEvent, PlatformMessage, java.io.Serializable
public class PlatformDropEvent
- extends AbstractDepictEvent
Indicates that a drop action has occurred after a drag on the platform.
The drag target serves as the source of the event.
- Author:
- Garret Wilson
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.globalmentor.event.Event |
getSource |
PlatformDropEvent
public PlatformDropEvent(DepictedObject dragSource,
DepictedObject dropTarget)
- Drag source and drop target constructor.
- Parameters:
dragSource - The source of the drag-drop gesture.dropTarget - The target of the drag-drop gesture.
- Throws:
java.lang.NullPointerException - if the given drag source and/or drop target is null.
getDragSource
public DepictedObject getDragSource()
- Returns:
- The source of the drag-drop gesture.
getDropTarget
public DepictedObject getDropTarget()
- Returns:
- The target of the drag-drop gesture.
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.