|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.properties.GenericPropertyHandle
public class GenericPropertyHandle
Field Summary |
---|
Fields inherited from interface maspack.properties.Property |
---|
AutoValue, DEFAULT_DOUBLE, IllegalValue, VoidValue |
Constructor Summary | |
---|---|
GenericPropertyHandle(HasProperties host,
PropertyDesc desc)
|
Method Summary | |
---|---|
java.lang.Object |
get()
Returns the value associated with this property. |
HasProperties |
getHost()
Returns the host object exporting this property. |
PropertyInfo |
getInfo()
Gets static information about the property. |
java.lang.String |
getName()
Returns the name associated with this Property. |
Range |
getRange()
Returns a range that indicates what values are legal for for this property, or null if the
property does not have any range limits (i.e., if
any value of appropriate type specified to Property.get()
is valid. |
void |
set(java.lang.Object obj)
Sets the value associated with this property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericPropertyHandle(HasProperties host, PropertyDesc desc)
Method Detail |
---|
public java.lang.String getName()
Property
getInfo().getName();
getName
in interface Property
public HasProperties getHost()
Property
getHost
in interface Property
public java.lang.Object get()
Property
get
in interface Property
Property.getInfo()
public void set(java.lang.Object obj)
Property
PropertyInfo
method
isReadOnly
returns
true.
set
in interface Property
obj
- object containing the value to be set.Property.getInfo()
public Range getRange()
Property
null
if the
property does not have any range limits (i.e., if
any value of appropriate type specified to Property.get()
is valid.
getRange
in interface Property
null
if there are no limits.public PropertyInfo getInfo()
getInfo
in interface Property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |