public abstract class Control
extends java.lang.Object
LifeCycleManager
and
manipulating it. Typically, a Control is some kind of user interface, but it
could also represent an interface to a third party software or control
xAffect fully automatically.Constructor and Description |
---|
Control(LifeCycleManager manager)
Creates a new
Control . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
close()
Closes the
Control component. |
void |
closeController()
Closes the
Control |
LifeCycleManager |
getLifeCycleManager()
Returns the
LifeCycleManager the Control controls. |
protected abstract void |
open()
Opens the
Control component. |
void |
openController()
Opens the
Control . |
public Control(LifeCycleManager manager)
Control
.manager
- LifeCycleManager
the Control is supposed to control.public void openController()
Control
.public void closeController()
Control
public LifeCycleManager getLifeCycleManager()
LifeCycleManager
the Control
controls.LifeCycleManager
the Control
controls.protected abstract void open()
Control
component. Normally this should be a GUI or a
network based controller.protected abstract void close()
Control
component.