|
||||||||||
| 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.
| 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.editor.Property |
|---|
getAnnotation, getAnnotation, getArgumentType, getArgumentTypes, getBoolean, getByte, getChar, getColorName, getComponentSubtypes, getComponentType, getComponentTypeLabel, getDouble, getFloat, getGenericArgumentType, getGenericArgumentTypes, getGenericComponentType, getInt, getLong, getMaximum, getMaxSize, getMemberObject, getMessageBundle, getMinimum, getMinSize, getMode, getName, getScale, getShort, getStep, getSubtypes, getTypeLabel, getUnits, isAnnotationPresent, isLegalValue, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, shouldTranslateName, toString |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 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 | |||||||||