public interface DockRegisterListener
DockRegister.DockRegister can be stalled
and some events may have a great delay when arriving. Subclasses should
be aware that the current state of the dock-tree, and the state one would
get when only monitoring with DockRegisterListener, may be different.| Modifier and Type | Method and Description |
|---|---|
void |
dockableCycledRegister(DockController controller,
Dockable dockable)
Invoked when
dockable was added and removed from the controller, or
was removed and added again to controller. |
void |
dockableRegistered(DockController controller,
Dockable dockable)
Invoked after a
Dockable was registered. |
void |
dockableRegistering(DockController controller,
Dockable dockable)
Invoked right before the
dockable is registered in the
controller. |
void |
dockableUnregistered(DockController controller,
Dockable dockable)
Invoked after
dockable has been unregistered from controller. |
void |
dockStationRegistered(DockController controller,
DockStation station)
Invoked after a
DockStation was registered. |
void |
dockStationRegistering(DockController controller,
DockStation station)
Invoked right before the
station is registered in
the controller. |
void |
dockStationUnregistered(DockController controller,
DockStation station)
Invoked after
station has been unregistered from controller. |
void |
registerStalled(DockController controller)
|
void |
registerUnstalled(DockController controller)
Called if the
DockRegister from controller is no
longer stalled, this method is called
before the pending events are fired. |
void registerStalled(DockController controller)
controller - the controller whose register is stalledvoid registerUnstalled(DockController controller)
DockRegister from controller is no
longer stalled, this method is called
before the pending events are fired.controller - the controller whose register is no longer stalledvoid dockableRegistering(DockController controller, Dockable dockable)
dockable is registered in the
controller.controller - the controller who does not yet know dockable.dockable - the dockable who does not yet know controller.void dockStationRegistering(DockController controller, DockStation station)
station is registered in
the controller.controller - the controller who does not yet know station.station - the station who does not yet know controller.void dockableRegistered(DockController controller, Dockable dockable)
Dockable was registered. Note that this method can
be called while a Dockable is dragged. See the method
DockController.isOnMove().controller - the controller where dockable was addeddockable - the Dockable that was addedvoid dockStationRegistered(DockController controller, DockStation station)
DockStation was registered. This method can
be called while a Dockable is dragged. See the method
DockController.isOnMove().controller - the controller where station was addedstation - the DockStation that was addedvoid dockableUnregistered(DockController controller, Dockable dockable)
dockable has been unregistered from controller.
Note that this method can be invoked while a Dockable is dragged,
use the method DockController.isOnMove().controller - the controller from where dockable was removeddockable - the removed Dockablevoid dockStationUnregistered(DockController controller, DockStation station)
station has been unregistered from controller.
Note that this method can be invoked while a Dockable is dragged,
use the method DockController.isOnMove().controller - the controller from where dockable was removedstation - the removed DockStationvoid dockableCycledRegister(DockController controller, Dockable dockable)
dockable was added and removed from the controller, or
was removed and added again to controller. This method is only
invoked if a call to dockableRegistered(DockController, Dockable) and
dockableUnregistered(DockController, Dockable) was suppressed. It
is unknown whether dockable is now registered at controller.controller - the controller whose register dockable cycleddockable - some DockableCopyright © 2017 Docking Frames. All rights reserved.