SMRT ® View 2.3.0
API Specification
pub.vlsolutions.swing.docking

Interface DockableDragSource

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void endDragComponent(boolean dropped)
      notifies the source when the drag operation has ended (by a drop or cancelled)
      Dockable getDockable()
      Returns the Dockable component this source is for
      java.awt.Container getDockableContainer()
      returns the DockableContainer responsible for displaying the associated dockable
      boolean startDragComponent(java.awt.Point p)
      Notifies this source that a drag operation has begun.
    • Method Detail

      • startDragComponent

        boolean startDragComponent(java.awt.Point p)
        Notifies this source that a drag operation has begun.

        The source may reject the drag according to internal conditions (in that case this method shall return false) or to wrong mouse position .

        Returns:
        true if drag operation is accepted (i.e the zone pointed by p refers to a draggable component), false otherwise.
      • getDockable

        Dockable getDockable()
        Returns the Dockable component this source is for
      • getDockableContainer

        java.awt.Container getDockableContainer()
        returns the DockableContainer responsible for displaying the associated dockable
      • endDragComponent

        void endDragComponent(boolean dropped)
        notifies the source when the drag operation has ended (by a drop or cancelled)
        Since:
        2.1.3
SMRT ® View 2.3.0
API Specification

Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.