public class EditingProperty extends java.lang.Object implements InheritableProperty
AutoValue, DEFAULT_DOUBLE, IllegalValue, VoidValue| Constructor and Description |
|---|
EditingProperty(PropTreeCell cell,
HostList hostList,
boolean isLive) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public EditingProperty(PropTreeCell cell, HostList hostList, boolean isLive)
public void updateValue()
public java.lang.Object get()
Propertyget in interface PropertyProperty.getInfo()public void set(java.lang.Object value)
PropertyPropertyInfo method
isReadOnly returns
true.set in interface Propertyvalue - object containing the value to be set.Property.getInfo()public Range getRange()
Propertynull if the
property does not have any range limits (i.e., if
any value of appropriate type specified to Property.get()
is valid.public PropertyMode getMode()
InheritablePropertygetMode in interface InheritablePropertyInheritableProperty.setMode(maspack.properties.PropertyMode)public void setMode(PropertyMode mode)
InheritablePropertyPropertyMode.Explicit,
PropertyMode.Inherited,
or PropertyMode.Inactive.setMode in interface InheritablePropertymode - new mode for this property.InheritableProperty.getMode()public java.lang.String getName()
PropertygetInfo().getName();
public HasProperties getHost()
public PropertyInfo getInfo()
Propertypublic HostList getHostList()
public boolean isLive()
public PropTreeCell getCell()
public static java.util.LinkedList<Property> createProperties(PropTreeCell tree, HostList hostList, boolean isLive)