|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vlsolutions.swing.docking.event.DockEvent
public abstract class DockEvent
Abstract superclass of drag and drop docking events.
This class holds a reference to the source of the event and its mouse event.
Field Summary | |
---|---|
protected DockingDesktop |
desktop
The docking desktop |
protected MouseEvent |
event
The MouseEvent, in target's coordinates |
protected DockableDragSource |
source
The drag source |
Constructor Summary | |
---|---|
DockEvent(DockingDesktop desktop,
DockableDragSource source,
MouseEvent event)
Constructor for dock events. |
Method Summary | |
---|---|
DockingDesktop |
getDesktop()
Returns a reference of the desktop in which the docking event takes place |
DockableDragSource |
getDragSource()
Returns a reference to the drag source of this event. |
MouseEvent |
getMouseEvent()
Returns the MouseEvent which is the cause of this DockEvent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DockableDragSource source
protected DockingDesktop desktop
protected MouseEvent event
Constructor Detail |
---|
public DockEvent(DockingDesktop desktop, DockableDragSource source, MouseEvent event)
source
- the source of drag operationevent
- the mouse event which is the cause of this DockEvent.Method Detail |
---|
public MouseEvent getMouseEvent()
note that mouse coordinates are converted into the target's coordinates.
public DockableDragSource getDragSource()
public DockingDesktop getDesktop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |