|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.properties.EditingProperty
public class EditingProperty
Stub property that interfaces to a common property of one or more underlying property hosts.
Field Summary |
---|
Fields inherited from interface maspack.properties.Property |
---|
AutoValue, DEFAULT_DOUBLE, IllegalValue, VoidValue |
Constructor Summary | |
---|---|
EditingProperty(PropTreeCell cell,
HostList hostList,
boolean isLive)
|
Method Summary | |
---|---|
static java.util.LinkedList<Property> |
createProperties(PropTreeCell tree,
HostList hostList,
boolean isLive)
|
java.lang.Object |
get()
Returns the value associated with this property. |
PropTreeCell |
getCell()
|
HasProperties |
getHost()
Assuming this is not needed ... |
HostList |
getHostList()
|
PropertyInfo |
getInfo()
Gets static information about the property. |
PropertyMode |
getMode()
Returns the current mode for this 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. |
boolean |
isLive()
|
void |
set(java.lang.Object value)
Sets the value associated with this property. |
void |
setMode(PropertyMode mode)
Sets the mode for this property. |
void |
updateValue()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditingProperty(PropTreeCell cell, HostList hostList, boolean isLive)
Method Detail |
---|
public void updateValue()
public java.lang.Object get()
Property
get
in interface Property
Property.getInfo()
public void set(java.lang.Object value)
Property
PropertyInfo
method
isReadOnly
returns
true.
set
in interface Property
value
- 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 PropertyMode getMode()
InheritableProperty
getMode
in interface InheritableProperty
InheritableProperty.setMode(maspack.properties.PropertyMode)
public void setMode(PropertyMode mode)
InheritableProperty
PropertyMode.Explicit
,
PropertyMode.Inherited
,
or PropertyMode.Inactive
.
setMode
in interface InheritableProperty
mode
- new mode for this property.InheritableProperty.getMode()
public java.lang.String getName()
Property
getInfo().getName();
getName
in interface Property
public HasProperties getHost()
getHost
in interface Property
public PropertyInfo getInfo()
Property
getInfo
in interface Property
public HostList getHostList()
public boolean isLive()
public PropTreeCell getCell()
public static java.util.LinkedList<Property> createProperties(PropTreeCell tree, HostList hostList, boolean isLive)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |