|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tomgibara.pronto.control.impl.SignalControllerPart<S,L,P>
S - the type of stateL - the type of labelP - the type of parameterpublic class SignalControllerPart<S,L,P>
A ControllerPart implementation that provides functionality for the SignalControllerSettings interface.
| Constructor Summary | |
|---|---|
SignalControllerPart(ControllerImpl<S,L,P> controller,
SignalControllerSettings settings)
Creates a new SignalControllerPart. |
|
| Method Summary | |
|---|---|
ControllerImpl<S,L,P> |
getController()
The controller of which this is part. |
void |
start()
Causes a shutdown hook to be registered for the purpose of performing termination state transitions. |
boolean |
stop(long timeout)
If a shutdown hook as been registered, the hook is deregistered and the method returns immediately unless JVM shutdown is in progress in which case the method blocks (subject to the specified timeout) until termination state transitions have been completed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignalControllerPart(ControllerImpl<S,L,P> controller,
SignalControllerSettings settings)
controller - the controller that aggregates this partsettings - the settings for this part| Method Detail |
|---|
public void start()
public boolean stop(long timeout)
timeout - the (approx.) number of milliseconds for which a call to the
method will block, or 0L.
public ControllerImpl<S,L,P> getController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||