|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DraggableContent
A Dockable
that has an implementation of this interface as content,
can be dragged by dragging the content component.
Information on using a draggable content is in How to Use Dockables in The Sanaware Developer Guide.
To make this dragging possible a DragListener
should be added as mouse listener and mouse motion
listener to this component or deeper components.
A possible implementation of addDragListener(DragListener)
is:
this.addMouseListener(dragListener); this.addMouseMotionListener(dragListener);
Method Summary | |
---|---|
void |
addDragListener(DragListener dragListener)
Adds the given drag listener as mouse listener and mouse motion listener on the content of this component. |
Method Detail |
---|
void addDragListener(DragListener dragListener)
dragListener
- The drag listener for dragging and docking the dockable with this component as content.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |