Package io.guise.framework.platform
Class PlatformDropEvent
java.lang.Object
java.util.EventObject
com.globalmentor.event.AbstractEvent
io.guise.framework.event.AbstractGuiseEvent
io.guise.framework.platform.AbstractPlatformEvent
io.guise.framework.platform.AbstractDepictEvent
io.guise.framework.platform.PlatformDropEvent
- All Implemented Interfaces:
com.globalmentor.event.Event
,GuiseEvent
,DepictEvent
,PlatformEvent
,PlatformMessage
,Serializable
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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPlatformDropEvent
(DepictedObject dragSource, DepictedObject dropTarget) Drag source and drop target constructor. -
Method Summary
Methods inherited from class io.guise.framework.platform.AbstractDepictEvent
getDepictedObject
Methods inherited from class io.guise.framework.event.AbstractGuiseEvent
getSession
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
-
Constructor Details
-
PlatformDropEvent
Drag source and drop target constructor.- Parameters:
dragSource
- The source of the drag-drop gesture.dropTarget
- The target of the drag-drop gesture.- Throws:
NullPointerException
- if the given drag source and/or drop target isnull
.
-
-
Method Details
-
getDragSource
- Returns:
- The source of the drag-drop gesture.
-
getDropTarget
- Returns:
- The target of the drag-drop gesture.
-