Class PlatformDropEvent

All Implemented Interfaces:
com.globalmentor.event.Event, GuiseEvent, DepictEvent, PlatformEvent, PlatformMessage, 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:
  • Constructor Details

    • 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:
      NullPointerException - if the given drag source and/or drop target is null.
  • Method Details

    • getDragSource

      public DepictedObject getDragSource()
      Returns:
      The source of the drag-drop gesture.
    • getDropTarget

      public DepictedObject getDropTarget()
      Returns:
      The target of the drag-drop gesture.