T
- Type of the propertypublic interface Property<T>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
AbstractProperty<T> |
deepCopy()
Construct a deep copy of this property (duplicates everything except immutable fields).
|
String |
getDescription()
Return a description of the property (may use HTML markup).
|
int |
getDisplayPriority()
Display priority determines the order in which properties should be displayed.
|
String |
getShortName()
Return a short description of the property.
|
T |
getValue()
Retrieve the current value of the property.
|
String |
htmlStateDescription()
Generate a description of the state of this property in HTML (excluding the <html> at the start and the
</html> at the end.
|
boolean |
isReadOnly()
Return true if the property can not be altered.
|
Iterator<AbstractProperty<T>> |
iterator()
Return an iterator.
|
void |
setValue(T newValue)
Change the value of the property.
|
T getValue()
String getShortName()
String getDescription()
void setValue(T newValue) throws PropertyException
newValue
- T; the new value for the propertyPropertyException
- when this Property is read-only, or newValue is not validboolean isReadOnly()
int getDisplayPriority()
String htmlStateDescription()
AbstractProperty<T> deepCopy()
Iterator<AbstractProperty<T>> iterator()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.