|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Classes that implement the Editable interface can have editable properties modified with a general set of methods.
| Nested Class Summary | |
static class |
Editable.Selection
An Editable.Selection object stores a set of options and a selection. |
| Method Summary | |
Producer[] |
getInputPropertyValues()
|
java.lang.String[] |
getPropertyDescriptions()
Returns an array of String objects with descriptions for each editable property of this Editable object. |
java.lang.String[] |
getPropertyNames()
Returns an array of String objects with names for each editable property of this Editable object. |
java.lang.Class[] |
getPropertyTypes()
Returns an array of Class objects representing the class types of each editable property of this Editable object. |
java.lang.Object[] |
getPropertyValues()
Returns the values of the properties of this Editable object as an Object array. |
void |
setInputPropertyValue(int index,
Producer p)
|
void |
setPropertyValue(java.lang.Object value,
int index)
Sets the value of the property of this Editable object at the specified index to the specified value. |
void |
setPropertyValues(java.lang.Object[] values)
Sets the values of properties of this Editable object to those specified. |
| Method Detail |
public java.lang.String[] getPropertyNames()
public java.lang.String[] getPropertyDescriptions()
public java.lang.Class[] getPropertyTypes()
public java.lang.Object[] getPropertyValues()
public void setPropertyValue(java.lang.Object value,
int index)
public void setPropertyValues(java.lang.Object[] values)
public Producer[] getInputPropertyValues()
public void setInputPropertyValue(int index,
Producer p)
index - Index of input property (array index from this.getInputPropertyValue).p - Producer object to use for input property.
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||