public abstract class ControllableBase extends NamedBaseImpl implements Controllable
| Modifier | Constructor and Description |
|---|---|
protected |
ControllableBase(int id,
String name,
String description,
TimerFactoryImpl factory) |
| Modifier and Type | Method and Description |
|---|---|
Set<ControllableBase> |
contents()
Return an unmodifiable set of the contents of this Controllable.
|
String |
description()
A longer description giving some details of the meaning of this
Controllable.
|
void |
disable()
Disable this controllable.
|
void |
enable()
Enable this controllable.
|
int |
id()
A small id for this controllable.
|
boolean |
isEnabled()
Return true if enable() was called, otherwise false if enable() was never
called, or disable() was last called.
|
factoryequals, hashCode, name, setFactory, toStringprotected ControllableBase(int id,
String name,
String description,
TimerFactoryImpl factory)
public int id()
Controllableid in interface Controllablepublic String description()
Controllabledescription in interface Controllablepublic final boolean isEnabled()
ControllableisEnabled in interface Controllablepublic Set<ControllableBase> contents()
Controllablecontents in interface Controllablepublic void enable()
Controllableenable in interface Controllablepublic void disable()
Controllabledisable in interface ControllableCopyright © 2011–2021 Eclipse Foundation. All rights reserved.