|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.nav.fleet.graph.properties.EditableParameterAccess.Accessor
public static final class EditableParameterAccess.Accessor
Class to access a specific field that has been annotated with EditableParameter of a specific class.
| Nested Class Summary | |
|---|---|
class |
EditableParameterAccess.Accessor.Range
|
| Method Summary | ||
|---|---|---|
|
checkValue(T value)
Checks if the given value is inside the allowed range. |
|
Class<?> |
getDataType()
|
|
String |
getDefaultValue()
This value is set if no value was given by user or the content of the text field was removed. |
|
String |
getDescription()
|
|
String |
getDisplayName()
|
|
String |
getName()
|
|
Class<? extends Property> |
getPropertyType()
|
|
EditableParameterAccess.Accessor.Range |
getRange()
|
|
Object |
getValue(Object o)
Gets the current value of an EditableParameter from an object
for which this accessor has been constructed. |
|
boolean |
isNullable()
Returns true or false if the value can be null or not. |
|
void |
setValue(Object o,
Object value)
Sets the value of an EditableParameter of an object for which
this accessor has been constructed. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Class<?> getDataType()
public Class<? extends Property> getPropertyType()
public String getDisplayName()
public String getDescription()
public String getName()
public String getDefaultValue()
public EditableParameterAccess.Accessor.Range getRange()
public boolean isNullable()
public Object getValue(Object o)
EditableParameter from an object
for which this accessor has been constructed.
o - an object of a class for which this accessor is valid
EditableParameter for which
this accessor is valid
public void setValue(Object o,
Object value)
EditableParameter of an object for which
this accessor has been constructed.
o - an object of a class for which this accessor is validvalue - the new value of the field, must be of the same type as
the fieldpublic <T> boolean checkValue(T value)
T - the type of the valuevalue - the new value of the field, must be of the same type as
the field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||