@FrameworkOnly public class DelayedWorkingAreaSetter extends DockRegisterAdapter
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 and Description |
|---|
DelayedWorkingAreaSetter(String area,
CDockable dockable,
CControl control)
Creates a new setter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dockStationRegistering(DockController controller,
DockStation station) |
void |
install() |
void |
registerUnstalled(DockController controller) |
void |
uninstall()
Removes all listeners this
DelayedWorkingAreaSetter has added anywhere. |
dockableCycledRegister, dockableRegistered, dockableRegistering, dockableUnregistered, dockStationRegistered, dockStationUnregistered, registerStalledpublic void install()
public void uninstall()
DelayedWorkingAreaSetter has added anywhere.public void dockStationRegistering(DockController controller, DockStation station)
dockStationRegistering in interface DockRegisterListenerdockStationRegistering in class DockRegisterAdapterpublic void registerUnstalled(DockController controller)
registerUnstalled in interface DockRegisterListenerregisterUnstalled in class DockRegisterAdapterCopyright © 2018. All rights reserved.