|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Value Type returned by this JointProperty.public interface JointProperty<T>
Defines additional properties or capabilities of a given Joint, such as \ position feedback or moving speed.
| Nested Class Summary | |
|---|---|
static class |
JointProperty.ReadOnly<T>
Defines a JointProperty which can read but not write. |
static class |
JointProperty.ReadWrite<T>
Defines a JointProperty which can read and write. |
| Method Summary | |
|---|---|
T |
getCachedValue()
Returns the cached value for this JointProperty. |
String |
getDisplayName()
Returns the display name of the JointProperty. |
Class<T> |
getPropertyClass()
Returns the JointProperty's value Type. |
String |
getPropertyName()
Returns the name of the JointProperty. |
boolean |
getReadable()
Returns true if getValue() is supported. |
T |
getValue()
Returns the value for this JointProperty, and caches the value. |
boolean |
getWriteable()
Returns true if setValue(T val) is supported. |
void |
setValue(T val)
Sets the value of the JointProperty. |
| Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
String getPropertyName()
String getDisplayName()
Class<T> getPropertyClass()
boolean getReadable()
boolean getWriteable()
T getValue()
UnsupportedOperationException - if getValue is not supportedT getCachedValue()
void setValue(T val)
val - the new value to set
UnsupportedOperationException - if setValue is not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||