Package | Description |
---|---|
org.opentrafficsim.base.modelproperties |
Model properties to initialize models.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProperty<T>
Abstract property.
|
class |
BooleanProperty
Boolean property.
|
class |
CompoundProperty
Compound property.
|
class |
ContinuousProperty
Continuous property.
|
class |
IntegerProperty
Integer property.
|
class |
LongProperty
Long property.
|
class |
ProbabilityDistributionProperty
Property that describes a probability distribution.
|
class |
SelectionProperty
Property that is described by a set of Strings where exactly one can (and must) be true.
|
class |
StringProperty
String property.
|
Modifier and Type | Method and Description |
---|---|
Property<?> |
Property.findByKey(String propertyKey)
Retrieve a Property anywhere in this group that has the specified key.
|
Property<?> |
AbstractProperty.findByKey(String propertyKey)
Retrieve a Property anywhere in this group that has the specified key.
|
Property<?> |
CompoundProperty.findSubPropertyByKey(String key)
Find an embedded Property that has a specified shortName.
|
Property<?> |
CompoundProperty.get(int index)
Return the sub property at a specified index.
|
Modifier and Type | Method and Description |
---|---|
List<Property<?>> |
CompoundProperty.displayOrderedValue()
Return the sub-items in display order.
|
protected Map<String,Property<?>> |
CompoundProperty.getPropertyGroup()
Retrieve the property group.
|
List<Property<?>> |
CompoundProperty.getValue()
Retrieve the current value of the property.
|
Iterator<Property<?>> |
AbstractProperty.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
CompoundProperty.add(int index,
Property<?> ap)
Add a Property at a specified position.
|
void |
CompoundProperty.add(Property<?> ap)
Add a Property at the end of the list.
|
void |
CompoundProperty.remove(Property<?> removeMe)
Remove a property from this CompoundProperty.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompoundProperty.setPropertyGroup(Map<String,Property<?>> newPropertyGroup)
Update the property group when this CompoundProperty is added or removed from another CompoundProperty.
|
void |
CompoundProperty.setValue(List<Property<?>> newValue)
Change the value of the property.
|
Constructor and Description |
---|
CompoundProperty(String key,
String shortName,
String description,
List<Property<?>> initialValue,
boolean readOnly,
int displayPriority)
Construct a CompoundProperty.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.