|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.editor.Property
com.threerings.editor.MethodProperty
public class MethodProperty
A property accessed through a pair of getter/setter methods.
| Field Summary | |
|---|---|
protected Method |
_getter
The getter and setter methods. |
protected Method |
_setter
The getter and setter methods. |
| Fields inherited from class com.threerings.editor.Property |
|---|
_argumentTypes, _configTypes, _genericArgumentTypes, _name |
| Constructor Summary | |
|---|---|
MethodProperty(Method getter,
Method setter)
Creates a new method property. |
|
| Method Summary | |
|---|---|
Object |
get(Object object)
Retrieves the value of the property. |
Type |
getGenericType()
Returns the generic property type. |
Member |
getMember()
Returns the underlying member of the property (the field or method that provides the annotations). |
Class<?> |
getType()
Returns the property type. |
void |
set(Object object,
Object value)
Sets the value of the property. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Method _getter
protected Method _setter
| Constructor Detail |
|---|
public MethodProperty(Method getter,
Method setter)
| Method Detail |
|---|
public Member getMember()
Property
getMember in class Propertypublic Class<?> getType()
Property
getType in class Propertypublic Type getGenericType()
Property
getGenericType in class Propertypublic Object get(Object object)
Property
get in class Property
public void set(Object object,
Object value)
Property
set in class Property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||