Class CompassDropController

  • All Implemented Interfaces:
    com.allen_sauer.gwt.dnd.client.drop.DropController

    @Dependent
    public class CompassDropController
    extends Object
    implements com.allen_sauer.gwt.dnd.client.drop.DropController
    A Drop Controller covering the entire DecoratedWorkbenchPanel that renders a Compass with which to select the target position of the drag operation.
    • Constructor Detail

      • CompassDropController

        public CompassDropController()
    • Method Detail

      • onEnter

        public void onEnter​(com.allen_sauer.gwt.dnd.client.DragContext context)
        Specified by:
        onEnter in interface com.allen_sauer.gwt.dnd.client.drop.DropController
      • onLeave

        public void onLeave​(com.allen_sauer.gwt.dnd.client.DragContext context)
        Specified by:
        onLeave in interface com.allen_sauer.gwt.dnd.client.drop.DropController
      • onMove

        public void onMove​(com.allen_sauer.gwt.dnd.client.DragContext context)
        Specified by:
        onMove in interface com.allen_sauer.gwt.dnd.client.drop.DropController
      • onDrop

        public void onDrop​(com.allen_sauer.gwt.dnd.client.DragContext context)
        Specified by:
        onDrop in interface com.allen_sauer.gwt.dnd.client.drop.DropController
      • getDropTarget

        public com.google.gwt.user.client.ui.Widget getDropTarget()
        Specified by:
        getDropTarget in interface com.allen_sauer.gwt.dnd.client.drop.DropController
      • onPreviewDrop

        public void onPreviewDrop​(com.allen_sauer.gwt.dnd.client.DragContext context)
                           throws com.allen_sauer.gwt.dnd.client.VetoDragException
        Specified by:
        onPreviewDrop in interface com.allen_sauer.gwt.dnd.client.drop.DropController
        Throws:
        com.allen_sauer.gwt.dnd.client.VetoDragException