de.jaetzold.art.examples
Class AWTRobotInterface.TextFieldActuatorPeer
java.lang.Object
|
+--de.jaetzold.art.platform.BaseSensorPeer
|
+--de.jaetzold.art.examples.AWTRobotInterface.TextFieldSensorPeer
|
+--de.jaetzold.art.examples.AWTRobotInterface.TextFieldActuatorPeer
- All Implemented Interfaces:
- ActuatorPeer, SensorPeer
- Enclosing class:
- AWTRobotInterface
- protected class AWTRobotInterface.TextFieldActuatorPeer
- extends AWTRobotInterface.TextFieldSensorPeer
- implements ActuatorPeer
Method Summary |
void |
setValue(double value)
Set the actuator to the value given as a parameter. |
void |
setValue(double value,
boolean waitMode)
Set the actuator to the value given as a parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected TextField output
AWTRobotInterface.TextFieldActuatorPeer
public AWTRobotInterface.TextFieldActuatorPeer(TextField output)
setValue
public void setValue(double value)
- Description copied from interface:
ActuatorPeer
- Set the actuator to the value given as a parameter.
- Specified by:
setValue
in interface ActuatorPeer
- Following copied from interface:
de.jaetzold.art.platform.ActuatorPeer
- See Also:
ActuatorPeer.setValue(double,boolean)
setValue
public void setValue(double value,
boolean waitMode)
- Description copied from interface:
ActuatorPeer
- Set the actuator to the value given as a parameter.
If waitForCompletion is false this method may return before the new value has been sent to the hardware. This way the method could return almost immediatly and informing the peer and thus the hardware may happen asynchronous.
If for some reason the value is not o.k. for this Peer it is not required to accept the value and it is also not required to report that through an Exception.
- Specified by:
setValue
in interface ActuatorPeer
- Following copied from interface:
de.jaetzold.art.platform.ActuatorPeer
- Parameters:
value
- the value this Actuator should have.waitForCompletion
- whether this method may set the value asynchronous.- See Also:
ActuatorPeer.setValue(double)