|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.control.FocusController
public class FocusController
A listener to the DockRegister, ensuring that always the newest or
a visible Dockable has the focus.
| Constructor Summary | |
|---|---|
FocusController(DockController controller)
Creates a new focus-controller. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FocusController(DockController controller)
controller - the controller whose focused Dockable might be
changed.| Method Detail |
|---|
public void dockStationRegistered(DockController controller,
DockStation station)
DockRegisterListenerDockStation was registered. This method can
be called while a Dockable is dragged. See the method
DockController.isOnMove().
dockStationRegistered in interface DockRegisterListenercontroller - the controller where station was addedstation - the DockStation that was added
public void dockStationUnregistered(DockController controller,
DockStation station)
DockRegisterListenerstation has been unregistered from controller.
Note that this method can be invoked while a Dockable is dragged,
use the method DockController.isOnMove().
dockStationUnregistered in interface DockRegisterListenercontroller - the controller from where dockable was removedstation - the removed DockStation
public void dockableUnregistered(DockController controller,
Dockable dockable)
DockRegisterListenerdockable has been unregistered from controller.
Note that this method can be invoked while a Dockable is dragged,
use the method DockController.isOnMove().
dockableUnregistered in interface DockRegisterListenercontroller - the controller from where dockable was removeddockable - the removed Dockable
public void dockStationRegistering(DockController controller,
DockStation station)
DockRegisterListenerstation is registered in
the controller.
dockStationRegistering in interface DockRegisterListenercontroller - the controller who does not yet know station.station - the station who does not yet know controller.
public void dockableRegistered(DockController controller,
Dockable dockable)
DockRegisterListenerDockable was registered. Note that this method can
be called while a Dockable is dragged. See the method
DockController.isOnMove().
dockableRegistered in interface DockRegisterListenercontroller - the controller where dockable was addeddockable - the Dockable that was added
public void dockableRegistering(DockController controller,
Dockable dockable)
DockRegisterListenerdockable is registered in the
controller.
dockableRegistering in interface DockRegisterListenercontroller - the controller who does not yet know dockable.dockable - the dockable who does not yet know controller.
public void dockableCycledRegister(DockController controller,
Dockable dockable)
DockRegisterListenerdockable was added and removed from the controller, or
was removed and added again to controller. This method is only
invoked if a call to DockRegisterListener.dockableRegistered(DockController, Dockable) and
DockRegisterListener.dockableUnregistered(DockController, Dockable) was suppressed. It
is unknown whether dockable is now registered at controller.
dockableCycledRegister in interface DockRegisterListenercontroller - the controller whose register dockable cycleddockable - some Dockable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||