public class DockingEvent
extends java.lang.Object
DockingContainer whenever a DockableWidget is dragged
into it, out of it, or to a new location inside it.| Constructor and Description |
|---|
DockingEvent(DockingContainer sourceContainer,
DockingContainer targetContainer,
DockableWidget[] widgets)
Create a new DockingEvent.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getMovedWidgets()
Get the list of DockableWidgets which were moved.
|
DockingContainer |
getSourceContainer()
Get the DockingContainer from which one or more DockableWidgets were dragged.
|
DockingContainer |
getTargetContainer()
Get the DockingContainer into which the DockableWidgets were dragged.
|
public DockingEvent(DockingContainer sourceContainer, DockingContainer targetContainer, DockableWidget[] widgets)
sourceContainer - the container from which one or more DockableWidgets were draggedtargetContainer - the container into which the DockableWidgets were draggedwidgets - the list of DockableWidgets which were movedpublic DockingContainer getSourceContainer()
public DockingContainer getTargetContainer()
public java.util.List getMovedWidgets()
Written by Peter Eastman.