Package com.javadocking.drag.painter

Contains the functionality for painting a representation of the Dockable, when it is dragged.

See:
          Description

Interface Summary
DockableDragPainter This painter paints a representation for a Dockable during dragging.
DragComponentFactory This is an interface for a factory that creates a java.awt.Component to show where a Dockable will be docked in a Dock while dragging the dockable.
RectanglePainter This painter paints a rectangle on a java.awt.Graphics.
 

Class Summary
CompositeDockableDragPainter  
DefaultRectanglePainter This rectangle painter paints the border of a rectangle and it can fill the rectangle.
ImageDockableDragPainter This dockable drag painter shows a window with the image of the dockable at the current mouse position, when the dockable is dragged.
LabelDockableDragPainter This dockable drag painter shows a window with the title of the dockable at the current mouse position, when the dockable is dragged.
OldWindowDockableDragPainter A dockable drag painter that only paints the dockable when the new dock is a FloatDock.
RectangleDragComponentFactory This factory creates a javax.swing.JComponent to represent the dragged dockable.
SwDockableDragPainter This painter paints a Dockable during dragging.
TransparentWindowDockableDragPainter A dockable drag painter that only paints the dockable when the new dock is a FloatDock.
WindowDockableDragPainter A dockable drag painter that only paints the dockable when the new dock is a FloatDock.
 

Package com.javadocking.drag.painter Description

Contains the functionality for painting a representation of the Dockable, when it is dragged. The basic interface is DockableDragPainter.

Information on using dockable drag painters is in How to Use Dragging in The Sanaware Developer Guide.

Usually the representation for a dragged dockable is a rectangle. It shows where the dockable will be docked in a Dock, if the mouse would be released at the current mouse position. This rectangle can be painted with a RectanglePainter:

Different drag painters can be combined with the CompositeDockableDragPainter.