|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DockRegisterListener
A listener receiving events from a 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.
Method Summary | |
---|---|
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)
Called if the DockRegister from controller has been
stalled . |
void |
registerUnstalled(DockController controller)
Called if the DockRegister from controller is no
longer stalled , this method is called
before the pending events are fired. |
Method Detail |
---|
void registerStalled(DockController controller)
DockRegister
from controller
has been
stalled
.
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 Dockable
void 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 DockStation
void 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 Dockable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |