stella.sensor
Class AbstractToggle
java.lang.Object
stella.sensor.AbstractToggle
public abstract class AbstractToggle
- extends Object
An abstract implementation of the Toggling interface.
To make construction out of a String more convenient,
a static createToggle(java.lang.String, java.lang.String) method is given.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractToggle
public AbstractToggle()
createToggle
public static final Toggling createToggle(String classname,
String arg)
- Constructs a new
Toggling instance for use in
WeatherSensors. The toggling class must support construction
with a single String argument.
- Returns:
- A new
Toggling instance.