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


Field Summary
protected  double currentValue
           
protected  TextField input
           
 
Fields inherited from class de.jaetzold.art.platform.BaseSensorPeer
changes, eventQueue
 
Constructor Summary
AWTRobotInterface.TextFieldSensorPeer(TextField input)
           
 
Method Summary
 double getValue()
          Returns the value this peer represents as a double.
 boolean isConnected()
          Returns true.
 
Methods inherited from class de.jaetzold.art.platform.BaseSensorPeer
addPropertyChangeListener, disableEvent, enableEvent, getDeliversFloatingPoint, getIntValue, getPrecision, processEvent, removePropertyChangeListener, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

protected TextField input

currentValue

protected double currentValue
Constructor Detail

AWTRobotInterface.TextFieldSensorPeer

public AWTRobotInterface.TextFieldSensorPeer(TextField input)
Method Detail

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()