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
,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
-
-
Constructor Summary
Constructors Constructor Description PlatformDropEvent(DepictedObject dragSource, DepictedObject dropTarget)
Drag source and drop target constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DepictedObject
getDragSource()
DepictedObject
getDropTarget()
-
Methods inherited from class io.guise.framework.platform.AbstractDepictEvent
getDepictedObject
-
Methods inherited from class io.guise.framework.event.AbstractGuiseEvent
getSession
-
-
-
-
Constructor Detail
-
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 isnull
.
-
-
Method Detail
-
getDragSource
public DepictedObject getDragSource()
- Returns:
- The source of the drag-drop gesture.
-
getDropTarget
public DepictedObject getDropTarget()
- Returns:
- The target of the drag-drop gesture.
-
-