|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockableDragPainter
This painter paints a representation for a Dockable
during dragging.
Usually a rectangle is painted.
It shows where the dockable will be docked in a Dock
,
if the mouse would be released at the current mouse position.
Method Summary | |
---|---|
void |
clear()
Clears everything what was painted by this painter before. |
void |
paintDockableDrag(Dockable dockable,
Dock dock,
java.awt.Rectangle rectangle,
java.awt.Point mouseLocation)
Paints a dockable during dragging. |
Method Detail |
---|
void paintDockableDrag(Dockable dockable, Dock dock, java.awt.Rectangle rectangle, java.awt.Point mouseLocation)
Paints a dockable during dragging.
Usually a rectangle is painted. It shows where the dockable will be docked in the dock, if the mouse would be released at the current mouse position.
dockable
- The dockable that will be painted.dock
- The dock in which the dockable can be docked.rectangle
- The rectangle that defines, where the given dockable
will be docked, if the mouse is released at the current mouse position.
The position of the rectangle is relative to the given dock.mouseLocation
- The position of the mouse relative to the given dock.void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |