Package | Description |
---|---|
org.opentrafficsim.gui |
Swing components that are used in OpenTrafficSim.
|
org.opentrafficsim.simulationengine |
Wrappers and stubs for the DSOL simulation engine.
|
org.opentrafficsim.simulationengine.properties |
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Constructor and Description |
---|
OTSAnimationPanel(Rectangle2D extent,
Dimension size,
SimpleAnimator simulator,
WrappableAnimation wrappableAnimation,
GTUColorer gtuColorer)
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
|
OTSSimulationPanel(OTSDEVSSimulatorInterface simulator,
WrappableAnimation wrappableAnimation)
Construct a panel that looks like the DSOLPanel for quick building of OTS applications.
|
Modifier and Type | Method and Description |
---|---|
SimpleSimulatorInterface |
WrappableAnimation.buildAnimator(org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration warmupPeriod,
org.djunits.value.vdouble.scalar.Duration runLength,
ArrayList<AbstractProperty<?>> properties,
Rectangle rect,
boolean exitOnClose)
Build the animation.
|
SimpleAnimator |
AbstractWrappableAnimation.buildAnimator(org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration warmupPeriod,
org.djunits.value.vdouble.scalar.Duration runLength,
ArrayList<AbstractProperty<?>> userModifiedProperties,
Rectangle rect,
boolean eoc)
Build the animation.
|
protected abstract JPanel |
AbstractWrappableAnimation.makeCharts() |
SimpleSimulatorInterface |
WrappableAnimation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
SimpleSimulatorInterface |
AbstractWrappableAnimation.rebuildSimulator(Rectangle rect)
Restart (rebuild) the simulation.
|
Constructor and Description |
---|
SimpleAnimator(org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Duration warmupPeriod,
org.djunits.value.vdouble.scalar.Duration runLength,
OTSModelInterface model)
Create a simulation engine with animation; the easy way.
|
Modifier and Type | Method and Description |
---|---|
void |
CompoundProperty.add(AbstractProperty<?> ap)
Add an AbstractProperty at the end of the list.
|
void |
CompoundProperty.add(int index,
AbstractProperty<?> ap)
Add an AbstractProperty at a specified position.
|
AbstractProperty<?> |
CompoundProperty.get(int index)
Return the sub property at a specified index.
|
static CompoundProperty |
IDMPropertySet.makeIDMPropertySet(String key,
String carType,
org.djunits.value.vdouble.scalar.Acceleration a,
org.djunits.value.vdouble.scalar.Acceleration b,
org.djunits.value.vdouble.scalar.Length s0,
org.djunits.value.vdouble.scalar.Duration tSafe,
int displayPriority)
Create a CompoundProperty for the IDM or IDMPlus parameters for a specified car type.
|
void |
CompoundProperty.remove(AbstractProperty<?> removeMe)
Remove a property from this CompoundProperty.
|
void |
CompoundProperty.remove(int index)
Remove a sub property from this CompoundProperty.
|
void |
BooleanProperty.setValue(Boolean newValue)
Change the value of the property.
|
void |
ContinuousProperty.setValue(Double newValue)
Change the value of the property.
|
void |
ProbabilityDistributionProperty.setValue(Double[] newValue)
Change the value of the property.
|
void |
IntegerProperty.setValue(Integer newValue)
Change the value of the property.
|
void |
CompoundProperty.setValue(List<AbstractProperty<?>> newValue)
Change the value of the property.
|
void |
StringProperty.setValue(String newValue)
Change the value of the property.
|
void |
SelectionProperty.setValue(String newValue)
Change the value of the property.
|
void |
Property.setValue(T newValue)
Change the value of the property.
|
Constructor and Description |
---|
BooleanProperty(String key,
String shortName,
String description,
Boolean initialValue,
boolean readOnly,
int displayPriority)
Construct an BooleanProperty.
|
CompoundProperty(String key,
String shortName,
String description,
List<AbstractProperty<?>> initialValue,
boolean readOnly,
int displayPriority)
Construct a CompoundProperty.
|
ProbabilityDistributionProperty(String key,
String shortName,
String description,
String[] elementNames,
Double[] initialValue,
boolean readOnly,
int displayPriority)
Construct a new ProbabilityDistributionProperty.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.