psdi.webclient.applet.wfcanvas.diagram.dnd

Class WorkflowDropTarget

  • java.lang.Object
    • java.awt.dnd.DropTarget
      • psdi.webclient.applet.wfcanvas.diagram.dnd.WorkflowDropTarget
  • All Implemented Interfaces:
    java.awt.dnd.DropTargetListener, java.io.Serializable, java.util.EventListener


    public class WorkflowDropTarget
    extends java.awt.dnd.DropTarget
    This class implements autoscrolling for the version of the drag and drop that doesn't use the native handlers. The reason is that unlike the native code , the muse event is not reported as the component scrolls under it thus the mouse location has to be updated in the timer code
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      protected static class  WorkflowDropTarget.AutoScroller 
      • Nested classes/interfaces inherited from class java.awt.dnd.DropTarget

        java.awt.dnd.DropTarget.DropTargetAutoScroller
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkflowDropTarget(java.awt.Component c, java.awt.dnd.DropTargetListener dtl) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected void clearAutoscroll() 
      protected WorkflowDropTarget.AutoScroller createAutoScroller(java.awt.Component c, java.awt.Point p) 
      protected void initializeAutoscrolling(java.awt.Point p) 
      protected void updateAutoscroll(java.awt.Point dragCursorLocn) 
      • Methods inherited from class java.awt.dnd.DropTarget

        addDropTargetListener, addNotify, createDropTargetAutoScroller, createDropTargetContext, dragEnter, dragExit, dragOver, drop, dropActionChanged, getComponent, getDefaultActions, getDropTargetContext, getFlavorMap, isActive, removeDropTargetListener, removeNotify, setActive, setComponent, setDefaultActions, setFlavorMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowDropTarget

        public WorkflowDropTarget(java.awt.Component c,
                                  java.awt.dnd.DropTargetListener dtl)
    • Method Detail

      • initializeAutoscrolling

        protected void initializeAutoscrolling(java.awt.Point p)
        Overrides:
        initializeAutoscrolling in class java.awt.dnd.DropTarget
      • updateAutoscroll

        protected void updateAutoscroll(java.awt.Point dragCursorLocn)
        Overrides:
        updateAutoscroll in class java.awt.dnd.DropTarget
      • clearAutoscroll

        protected void clearAutoscroll()
        Overrides:
        clearAutoscroll in class java.awt.dnd.DropTarget