de.jaetzold.art.examples
Class AWTRobotInterface.TextFieldSensorPeer
java.lang.Object
|
+--de.jaetzold.art.platform.BaseSensorPeer
|
+--de.jaetzold.art.examples.AWTRobotInterface.TextFieldSensorPeer
- All Implemented Interfaces:
- SensorPeer
- Direct Known Subclasses:
- AWTRobotInterface.TextFieldActuatorPeer
- Enclosing class:
- AWTRobotInterface
- protected class AWTRobotInterface.TextFieldSensorPeer
- extends BaseSensorPeer
Method Summary |
double |
getValue()
Returns the value this peer represents as a double. |
boolean |
isConnected()
Returns true. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
protected TextField input
currentValue
protected double currentValue
AWTRobotInterface.TextFieldSensorPeer
public AWTRobotInterface.TextFieldSensorPeer(TextField input)
getValue
public double getValue()
- Description copied from interface:
SensorPeer
- Returns the value this peer represents as a double.
isConnected
public boolean isConnected()
- Description copied from class:
BaseSensorPeer
- Returns true.
- Overrides:
isConnected
in class BaseSensorPeer
- Following copied from interface:
de.jaetzold.art.platform.SensorPeer
- See Also:
RobotInterface.isConnected()