| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final Set | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Set | contents()
Implements org. Return an unmodifiable set of the contents of this Controllable. |
| public String | description()
Implements org. A longer description giving some details of the meaning of this Controllable. |
| pack-priv void | |
| public void | |
| public void | |
| public int | |
| public final boolean | isEnabled()
Implements org. Return true if enable() was called, otherwise false if enable() was never called, or disable() was last called. |
| pack-priv void |
| description | back to summary |
|---|---|
| private String description | |
| emptyContent | back to summary |
|---|---|
| private static final Set<ControllableBase> emptyContent | |
| id | back to summary |
|---|---|
| private int id | |
| isEnabled | back to summary |
|---|---|
| private boolean isEnabled | |
| ControllableBase | back to summary |
|---|---|
| protected ControllableBase(int id, String name, String description, TimerFactoryImpl factory) | |
| contents | back to summary |
|---|---|
| public Set Implements org. Doc from org. Return an unmodifiable set of the contents of this Controllable. May always be empty for some subclasses of Controllable.
| |
| description | back to summary |
|---|---|
| public String description() Implements org. Doc from org. A longer description giving some details of the meaning of this Controllable.
| |
| description | back to summary |
|---|---|
| pack-priv void description(String description) | |
| disable | back to summary |
|---|---|
| public void disable() Implements org. Doc from org. Disable this controllable.
| |
| enable | back to summary |
|---|---|
| public void enable() Implements org. Doc from org. Enable this controllable. All Timers that are either enabled, or reachable via contents() from an enabled Controllable are activated, and will cause TimerEvents to be generated when passed to the TimerEventController enter and exit methods.
| |
| id | back to summary |
|---|---|
| public int id() Implements org. Doc from org. A small id for this controllable. Each controllable created from the same TimerFactory will have a unique ID. All ids will be small integers starting at 0 (so indexing tables by timer ID is supported).
| |
| isEnabled | back to summary |
|---|---|
| public final boolean isEnabled() Implements org. Doc from org. Return true if enable() was called, otherwise false if enable() was never called, or disable() was last called.
| |
| transitiveClosure | back to summary |
|---|---|
| pack-priv void transitiveClosure(Set<ControllableBase> result) | |