|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.event.DockRegisterAdapter
bibliothek.gui.dock.common.intern.DelayedWorkingAreaSetter
@FrameworkOnly public class DelayedWorkingAreaSetter
A DelayedWorkingAreaSetter is a listener that is added to a CControl and
waits until a CStation with a specific identifier is registered. It then calls
CDockable.setWorkingArea(CStation) with this station. This listener automatically
removes itself once its mission is over.
| Constructor Summary | |
|---|---|
DelayedWorkingAreaSetter(String area,
CDockable dockable,
CControl control)
Creates a new setter. |
|
| Method Summary | |
|---|---|
void |
dockStationRegistering(DockController controller,
DockStation station)
Invoked right before the station is registered in
the controller. |
void |
install()
|
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 |
uninstall()
Removes all listeners this DelayedWorkingAreaSetter has added anywhere. |
| Methods inherited from class bibliothek.gui.dock.event.DockRegisterAdapter |
|---|
dockableCycledRegister, dockableRegistered, dockableRegistering, dockableUnregistered, dockStationRegistered, dockStationUnregistered, registerStalled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelayedWorkingAreaSetter(String area,
CDockable dockable,
CControl control)
area - the CStation for which to searchdockable - the element whose working area should be setcontrol - the control to monitor| Method Detail |
|---|
public void install()
public void uninstall()
DelayedWorkingAreaSetter has added anywhere.
public void dockStationRegistering(DockController controller,
DockStation station)
DockRegisterListenerstation is registered in
the controller.
dockStationRegistering in interface DockRegisterListenerdockStationRegistering in class DockRegisterAdaptercontroller - the controller who does not yet know station.station - the station who does not yet know controller.public void registerUnstalled(DockController controller)
DockRegisterListenerDockRegister from controller is no
longer stalled, this method is called
before the pending events are fired.
registerUnstalled in interface DockRegisterListenerregisterUnstalled in class DockRegisterAdaptercontroller - the controller whose register is no longer stalled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||