org.robokind.api.motion
Class JointProperty.ReadOnly<T>
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.JointProperty.ReadOnly<T>
- Type Parameters:
T - Value Type returned by this JointProperty
- All Implemented Interfaces:
- PropertyChangeSource, JointProperty<T>
- Direct Known Subclasses:
- ReadCurrentPosition, ReadLoad, ReadSpeed, ReadTemperature, ReadVoltage
- Enclosing interface:
- JointProperty<T>
public abstract static class JointProperty.ReadOnly<T>
- extends PropertyChangeNotifier
- implements JointProperty<T>
Defines a JointProperty which can read but not write.
|
Method Summary |
boolean |
getWriteable()
Returns true if getValue() is supported. |
void |
setValue(T val)
Sets the value of the JointProperty. |
| Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JointProperty.ReadOnly
public JointProperty.ReadOnly()
getWriteable
public boolean getWriteable()
- Description copied from interface:
JointProperty
- Returns true if getValue() is supported.
- Specified by:
getWriteable in interface JointProperty<T>
- Returns:
- true if getValue() is supported
setValue
public void setValue(T val)
- Description copied from interface:
JointProperty
- Sets the value of the JointProperty.
- Specified by:
setValue in interface JointProperty<T>
- Parameters:
val - the new value to set
Copyright © 2011-2013. All Rights Reserved.