Class PlatformDropEvent

    • 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 is null.
    • 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.