com.vlsolutions.swing.docking.event
public abstract class DockEvent extends Object
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.
|
Parameters: source the source of drag operation event the mouse event which is the cause of this DockEvent.
Returns: the drag source (the component actually dragged)
note that mouse coordinates are converted into the target's coordinates.
Returns: a mouse event