Index

A B C D E F G H I K L M N O P R S T U V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractNodeDecorator - Class in org.opentrafficsim.editor.decoration
General implementation of node decorators, such as validators and string functions.
AbstractNodeDecorator(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.AbstractNodeDecorator
Constructor.
AbstractNodeDecoratorAttribute - Class in org.opentrafficsim.editor.decoration
General implementation of node decorators, such as validators and string functions, that also need to trigger on changed attributes.
AbstractNodeDecoratorAttribute(OtsEditor, Predicate<XsdTreeNode>, String...) - Constructor for class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
Constructor.
AbstractNodeDecoratorRemove - Class in org.opentrafficsim.editor.decoration
General implementation of node decorators, such as validators and string functions, that also need to trigger on removed nodes.
AbstractNodeDecoratorRemove(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorRemove
Constructor.
AbstractStringFunction - Class in org.opentrafficsim.editor.decoration.string
General implementation of a string function.
AbstractStringFunction(OtsEditor, Predicate<XsdTreeNode>) - Constructor for class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
Constructor.
accept(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.LayoutCustomizer
accept(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.DefinitionsSaver
accept(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.RoadLayoutEditor
accept(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.RouteEditor
accept(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.TrafCodEditor
ACTION - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Action on node, by custom decoration.
actionPerformed(ActionEvent) - Method in class org.opentrafficsim.editor.listeners.ChoiceListener
ACTIVATE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node activated.
ACTIVATION_CHANGED - Static variable in class org.opentrafficsim.editor.XsdTreeNode
Event when an option is changed.
active - Variable in class org.opentrafficsim.editor.XsdTreeNode
Whether the node is active.
Adapters - Class in org.opentrafficsim.editor.extensions
Class that houses static instances of adapters, for common usage within the editor.
Adapters() - Constructor for class org.opentrafficsim.editor.extensions.Adapters
 
add() - Method in class org.opentrafficsim.editor.XsdTreeNode
Adds a node of similar type next to this node under the parent.
add(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Add node.
ADD - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node added.
addAttributeCellEditorListener(CellEditorListener) - Method in class org.opentrafficsim.editor.OtsEditor
Adds a listener to the cell editor of the attributes table.
addAttributeValidator(String, ValueValidator) - Method in class org.opentrafficsim.editor.XsdTreeNode
Adds a validator for the value of an attribute.
addAttributeValidator(String, ValueValidator, Object) - Method in class org.opentrafficsim.editor.XsdTreeNode
Adds a validator for the value of an attribute.
addChildren(Node, XsdTreeNode, List<XsdTreeNode>, ImmutableList<Node>, Schema, boolean, int) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Main expansion algorithm.
addConsumer(String, Consumer<XsdTreeNode>) - Method in class org.opentrafficsim.editor.XsdTreeNode
A consumer can be set externally and will receive this node when its menu item is selected.
addCoordinate(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
The map was notified a new coordinate node was added.
addEvalListener(EvalWrapper.EvalListener) - Method in class org.opentrafficsim.editor.OtsEditor
Adds listener to changes in the evaluator, i.e. added, removed or changed input parameters.
addListener(EventListener, EventType) - Method in class org.opentrafficsim.editor.OtsEditor
addListener(EventListener, EventType) - Method in class org.opentrafficsim.editor.XsdTreeNode
addListener(EventListener, EventType, int, ReferenceType) - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Overridden to throw events on existing nodes to the listener.
addListener(EvalWrapper.EvalListener) - Method in class org.opentrafficsim.editor.EvalWrapper
Adds listener to changes in the evaluator, i.e. added, removed or changed input parameters.
addListeningKeyrefValidator(KeyrefValidator) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
Adds a keyref validator as listening to this key.
addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Adds node to this key, if applicable.
addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
Adds node to this key, if applicable.
addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Adds node to this key, if applicable.
addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XsdAllValidator
Add node to this validator.
addNodeValidator(Function<XsdTreeNode, String>) - Method in class org.opentrafficsim.editor.XsdTreeNode
Adds a validator for the node.
addRecentFile(String, String) - Method in class org.opentrafficsim.editor.ApplicationStore
Add recent file.
addTab(String, Icon, Component, String) - Method in class org.opentrafficsim.editor.OtsEditor
Adds a tab to the main window.
addToggle(String, Class<? extends Locatable>, String, String, boolean, boolean) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Add a button for toggling an animatable class on or off.
addValueValidator(ValueValidator, Object) - Method in class org.opentrafficsim.editor.XsdTreeNode
Adds a validator for the value.
addXsdAllValidator(XsdTreeNode, XsdTreeNode) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Add xsd all validator to the given node.
AppearanceControlTreeTable - Class in org.opentrafficsim.editor
Prevents the TreeTable from showing appearance background color.
AppearanceControlTreeTable(TreeTableModel) - Constructor for class org.opentrafficsim.editor.AppearanceControlTreeTable
Constructor.
append(ImmutableList<Node>, Node) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns a copy of the input list, with the extra node appended at the end.
appendChild(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
appendPattern(String) - Static method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns part of a pattern that can be used to find the right nodes.
ApplicationStore - Class in org.opentrafficsim.editor
Stores preferences, recently opened files, etc.
ApplicationStore(String, String) - Constructor for class org.opentrafficsim.editor.ApplicationStore
Constructor.
apply(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
apply(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XsdAllValidator
applyColumnWidth(JTreeTable) - Static method in class org.opentrafficsim.editor.XsdTreeTableModel
Apply the column widths to a newly created tree table.
applyColumnWidth(JTable) - Static method in class org.opentrafficsim.editor.AttributesTableModel
Apply the column widths to a newly created table.
assureChildren() - Method in class org.opentrafficsim.editor.XsdTreeNode
Assures children are present.
ATTRIBUTE_CHANGE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Attribute changed.
ATTRIBUTE_CHANGED - Static variable in class org.opentrafficsim.editor.XsdTreeNode
Event when an attribute value is changed.
AttributeCellRenderer - Class in org.opentrafficsim.editor.render
Renderer for cells in the attributes table.
AttributeCellRenderer(Icon) - Constructor for class org.opentrafficsim.editor.render.AttributeCellRenderer
Constructor.
attributeCount() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the number of attributes; directly for an XsdAttributesTableModel.
attributeIsExpression(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the attribute is an expression.
attributes - Variable in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
Attributes to trigger on.
AttributesCellEditor - Class in org.opentrafficsim.editor.render
Editor for attribute table cells.
AttributesCellEditor(JTable, OtsEditor) - Constructor for class org.opentrafficsim.editor.render.AttributesCellEditor
Constructor.
AttributesListSelectionListener - Class in org.opentrafficsim.editor.listeners
Listener for events when an attribute is selected in the table.
AttributesListSelectionListener(OtsEditor, JTable) - Constructor for class org.opentrafficsim.editor.listeners.AttributesListSelectionListener
Constructor.
AttributesMouseListener - Class in org.opentrafficsim.editor.listeners
Listener to the mouse for the attributes table.
AttributesMouseListener(OtsEditor, JTable) - Constructor for class org.opentrafficsim.editor.listeners.AttributesMouseListener
Constructor.
AttributesNotEqualValidator - Class in org.opentrafficsim.editor.decoration.validation
Validates that the two attributes of a node are not the same.
AttributesNotEqualValidator(OtsEditor, String, String, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
Constructor.
AttributesStringFunction - Class in org.opentrafficsim.editor.decoration.string
Generic implementation to enhance the information in nodes as displayed in the tree, by showing a few attribute values.
AttributesStringFunction(OtsEditor, String, String...) - Constructor for class org.opentrafficsim.editor.decoration.string.AttributesStringFunction
Constructor.
AttributesTableModel - Class in org.opentrafficsim.editor
Model for a JTable to display the attributes of a XsdTreeNode.
AttributesTableModel(XsdTreeNode, JTreeTable) - Constructor for class org.opentrafficsim.editor.AttributesTableModel
Constructor.
AutomaticConnectorId - Class in org.opentrafficsim.editor.decoration
Sets the Id of a connector if it is not defined yet, and Node, Centroid and Outbound are defined.
AutomaticConnectorId(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.AutomaticConnectorId
Constructor.
AutomaticLinkId - Class in org.opentrafficsim.editor.decoration
Sets the Id of a link if it is not defined yet, and both NodeStart and NodeEnd are defined.
AutomaticLinkId(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.AutomaticLinkId
Constructor.
AutomaticLinkId(OtsEditor, Predicate<XsdTreeNode>, String...) - Constructor for class org.opentrafficsim.editor.decoration.AutomaticLinkId
Constructor for sub classes.

B

build(OtsEditor) - Static method in class org.opentrafficsim.editor.extensions.map.EditorMap
Builds a map panel with an animator and context.

C

calculateBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
Calculates the bounds.
calculateBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Calculates the bounds.
calculateData() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Calculates the data.
calculateData() - Method in class org.opentrafficsim.editor.extensions.map.FlattenerListener
Calculates the data.
calculateData() - Method in class org.opentrafficsim.editor.extensions.map.RoadLayoutListener
Returns the offsets of the layout this listener is listening to.
canBeIgnored(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Returns whether the node may be ignored.
canBeIgnored(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.RoadLayoutListener
Returns whether the node may be ignored.
canContain(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node can contain the information of the given node.
canMoveDown() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the node can be moved down in the parent.
canMoveUp() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the node can be moved up in the parent.
canRedo() - Method in class org.opentrafficsim.editor.Undo
Returns whether a redo is available.
canUndo() - Method in class org.opentrafficsim.editor.Undo
Returns whether an undo is available.
centerLine - Variable in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
Center line.
CHANGE_EVENT - Static variable in class org.opentrafficsim.editor.extensions.map.ChangeListener
Event that any change happened to the road layout.
ChangeListener<T> - Class in org.opentrafficsim.editor.extensions.map
Generic implementation to listen to any changes under a node, including its own attributes and activation status.
ChangeListener(XsdTreeNode, Supplier<Eval>) - Constructor for class org.opentrafficsim.editor.extensions.map.ChangeListener
Constructor.
ChangesListener - Class in org.opentrafficsim.editor.listeners
Listener to all changes, which notifies the user subtly that changes were made.
ChangesListener(OtsEditor, JComboBox<ScenarioWrapper>) - Constructor for class org.opentrafficsim.editor.listeners.ChangesListener
Constructor.
children - Variable in class org.opentrafficsim.editor.XsdTreeNode
Children nodes.
choice - Variable in class org.opentrafficsim.editor.XsdTreeNode
Choice node, represents an xsd:choice of which 1 option is shown.
choice() - Method in record class org.opentrafficsim.editor.XsdOption
Returns the value of the choice record component.
ChoiceListener - Class in org.opentrafficsim.editor.listeners
Listener for selecting choice options.
ChoiceListener(XsdTreeNode, XsdTreeNode, int, OtsEditor, JTreeTable, JTable) - Constructor for class org.opentrafficsim.editor.listeners.ChoiceListener
Constructor.
ChoiceNodeStringFunction - Class in org.opentrafficsim.editor.decoration.string
In nodes that may only contain one child node which is a choice, displays the chosen child value.
ChoiceNodeStringFunction(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.string.ChoiceNodeStringFunction
Constructor.
ClassNameTypeStringFunction - Class in org.opentrafficsim.editor.decoration.string
Displays the simple class name in nodes of ClassNameType.
ClassNameTypeStringFunction(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.string.ClassNameTypeStringFunction
Constructor.
clear() - Method in class org.opentrafficsim.editor.Undo
Clears the entire queue, suitable for when a new tree is loaded.
clearProperty(String) - Method in class org.opentrafficsim.editor.ApplicationStore
Removes key from the store.
cloneNode(boolean) - Method in class org.opentrafficsim.editor.XiIncludeNode
compareDocumentPosition(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
compareTo(ValueValidator) - Method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
confirmNodeRemoval(XsdTreeNode) - Method in class org.opentrafficsim.editor.OtsEditor
Requests the user to confirm the deletion of a node.
CONNECTOR - Static variable in class org.opentrafficsim.editor.XsdPaths
Connector path.
constructModel() - Method in class org.opentrafficsim.editor.OtsRunner.OtsRunnerModel
consume(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Triggers the node to be consumed.
copy(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Copy node.
copyInto(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Copies the active status, value, choice, attributes and children of this node in to the given node.
CORRELATION - Static variable in class org.opentrafficsim.editor.XsdPaths
Correlation path.
CorrelationStringFunction - Class in org.opentrafficsim.editor.decoration.string
Displays the expression on a correlation node.
CorrelationStringFunction(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.string.CorrelationStringFunction
Constructor.
CoupledValidator - Interface in org.opentrafficsim.editor.decoration.validation
Coupled validators can return the node to which a node attribute or value is coupled.
createOptions() - Method in class org.opentrafficsim.editor.XsdTreeNode
Creates the option nodes as part of an xsd:choice or xsd:all node.
cut(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Cut node.
CUT - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Cut.

D

debrace(String) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
Returns a string with the { and } removed.
decorate(OtsEditor) - Static method in class org.opentrafficsim.editor.decoration.DefaultDecorator
Decorates the editor with custom icons, tabs, string functions and custom editors.
DEFAULT_INPUT_PARAMETER_STRING - Static variable in class org.opentrafficsim.editor.XsdPaths
Default string input parameter path.
DEFAULT_INPUT_PARAMETERS - Static variable in class org.opentrafficsim.editor.XsdPaths
Default input parameters path.
DefaultDecorator - Class in org.opentrafficsim.editor.decoration
Decorates the editor with custom icons, tabs, string functions and custom editors.
DEFINED_ROADLAYOUT - Static variable in class org.opentrafficsim.editor.XsdPaths
Defined road layout path.
DEFINITIONS - Static variable in class org.opentrafficsim.editor.XsdPaths
Definitions path.
DefinitionsSaver - Class in org.opentrafficsim.editor.extensions
Allows the user to save definitions separately.
DefinitionsSaver(OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.DefinitionsSaver
Constructor.
destroy() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Remove all listeners.
destroy() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Destroy this data object, e.g. remove self as listener.
destroy() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Destroy this data object, e.g. remove self as listener.
destroy() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Destroy this data object, e.g. remove self as listener.
destroy() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
Destroy this data object, e.g. remove self as listener.
destroyData() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Destroys the data.
destroyData() - Method in class org.opentrafficsim.editor.extensions.map.RoadLayoutListener
Destroys the data.
DocumentReader - Class in org.opentrafficsim.editor
Utility class to read XSD or XML from URI.
duplicate() - Method in class org.opentrafficsim.editor.XsdTreeNode
Creates a full copy of this node, next to this node under the same parent.
duplicate(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Duplicate node.
duplicate(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Duplicates this node, but under the given parent node.
DUPLICATE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node duplicated.

E

editingCanceled(ChangeEvent) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
editingStopped(ChangeEvent) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
EditorMap - Class in org.opentrafficsim.editor.extensions.map
Editor map.
emptyCopy() - Method in class org.opentrafficsim.editor.XsdTreeNode
Creates an empty copy of this node, i.e. without children, options, attributes.
equals(Object) - Method in record class org.opentrafficsim.editor.XsdOption
Indicates whether some other object is "equal to" this one.
evalChanged() - Method in interface org.opentrafficsim.editor.EvalWrapper.EvalListener
Notifies the listener that evaluation results may have changed.
evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Notifies the listener that evaluation results may have changed.
evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Notifies the listener that evaluation results may have changed.
evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Notifies the listener that evaluation results may have changed.
evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
Notifies the listener that evaluation results may have changed.
EvalWrapper - Class in org.opentrafficsim.editor
Wraps an evaluator for the editor.
EvalWrapper(OtsEditor) - Constructor for class org.opentrafficsim.editor.EvalWrapper
Constructor.
EvalWrapper.EvalListener - Interface in org.opentrafficsim.editor
Interface for listeners that need to know when evaluation results may have changed.
expand(XsdTreeNode, TreePath, boolean) - Method in class org.opentrafficsim.editor.NodeActions
Expand, or collapse, node.
EXPRESSION_COLOR - Static variable in class org.opentrafficsim.editor.OtsEditor
Color for expression nodes and values (background).

F

Field(String) - Constructor for class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
Constructor.
fields - Variable in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Fields of this xsd:key, xsd:unique or xsd:keyref.
fireCreatedEventOnExistingNodes(XsdTreeNode, EventListener) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Recursively throws creation events for all current nodes in the tree.
firstInGroup() - Method in record class org.opentrafficsim.editor.XsdOption
Returns the value of the firstInGroup record component.
FlattenerListener - Class in org.opentrafficsim.editor.extensions.map
Listener for flattener nodes, either under the network or at a link (shape).
FlattenerListener(XsdTreeNode, Supplier<Eval>) - Constructor for class org.opentrafficsim.editor.extensions.map.FlattenerListener
Constructor.
focusTab(String) - Method in class org.opentrafficsim.editor.OtsEditor
Place focus on the tab with given name.

G

gatherFieldValues(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Gathers all the field values, i.e. attribute, child element value, or own value.
GENERATOR - Static variable in class org.opentrafficsim.editor.XsdPaths
Generator path.
get(Class<T>) - Static method in class org.opentrafficsim.editor.extensions.Adapters
Returns an adapter for the given class.
getAllValueSets(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
Returns the present values of the fields for each node within the given context.
getAnnotation(Node, String, String) - Static method in class org.opentrafficsim.editor.DocumentReader
Returns an annotation value.
getAttribute(Node, String) - Static method in class org.opentrafficsim.editor.DocumentReader
Returns the attribute of a node.
getAttributeBaseType(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the base type of the attribute, e.g. xsd:double.
getAttributeIndexByName(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the index of the named attribute.
getAttributeNameByIndex(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the name of the indexed attribute.
getAttributeNode(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the attributes at given index; directly for an XsdAttributesTableModel.
getAttributeRestrictions(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns all restrictions for the given attribute.
getAttributes() - Method in class org.opentrafficsim.editor.XiIncludeNode
getAttributeValue(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns an attribute value; directly for an XsdAttributesTableModel.
getAttributeValue(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the value of an attribute.
getBaseType(Node, Schema) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Returns the base type of the given node, e.g. xsd:double.
getBaseURI() - Method in class org.opentrafficsim.editor.XiIncludeNode
getBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
getBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
getBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
getBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
getCellEditorValue() - Method in class org.opentrafficsim.editor.render.AttributesCellEditor
getCenterLine() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
getCenterLine() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneData
getCenterLine() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
getChild(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the child at given index; directly for an XsdTreeTableModel.
getChild(Object, int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getChild(Node, String) - Static method in class org.opentrafficsim.editor.DocumentReader
Returns a child node of specified type.
getChildCount() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the number of children; directly for an XsdTreeTableModel.
getChildCount(Object) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getChildNodes() - Method in class org.opentrafficsim.editor.XiIncludeNode
getChildren() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a list of the child nodes.
getChildren(Node, String) - Static method in class org.opentrafficsim.editor.DocumentReader
Returns child nodes of specified type.
getChoiceNode() - Method in class org.opentrafficsim.editor.OtsEditor
Returns the node that is the currently selected choice.
getClipboard() - Method in class org.opentrafficsim.editor.OtsEditor
Returns the clipboard node.
getClothoidA() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns the A value from the clothoid.
getClothoidAppliedShape() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns whether the shape was applied as a Clothoid, an Arc, or as a Straight, depending on start and end position and direction.
getClothoidEndCurvature() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns the end curvature from the clothoid.
getClothoidLength() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns the length from the clothoid.
getClothoidStartCurvature() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns the start curvature from the clothoid.
getColor() - Method in class org.opentrafficsim.editor.extensions.map.MapTrafficLightData
getColumnClass(int) - Method in class org.opentrafficsim.editor.AttributesTableModel
getColumnClass(int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getColumnCount() - Method in class org.opentrafficsim.editor.AttributesTableModel
getColumnCount() - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getColumnName(int) - Method in class org.opentrafficsim.editor.AttributesTableModel
getColumnName(int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getConsumerMenuItems() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the menu items for which this node has consumers.
getContext(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns a node that represent the proper context.
getContextualized() - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Returns the context.
getCoupledKeyrefNode(XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
Returns the coupled node.
getCoupledKeyrefNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Returns the coupled node.
getCoupledKeyrefNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Returns the coupled node.
getCoupledKeyrefNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Returns the coupled node.
getCoupledKeyrefNodeAttribute(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the node to which an attribute refers via a KeyValidator.
getCoupledKeyrefNodeAttribute(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the node to which an attribute refers via a KeyValidator.
getCoupledKeyrefNodeValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the node to which the value refers via a KeyValidator.
getCustomIcon(String) - Method in class org.opentrafficsim.editor.OtsEditor
Obtains a custom icon for the path, or null if there is no custom icon specified for the path.
getData() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Returns the data that the node of this listener represents.
getData(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Returns the map data of the given XSD node.
getDefaultAttributeValue(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the default value for the attribute.
getDescription() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the description of this node.
getDesignLine() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
getDirectory() - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Returns the directory.
getElement(String) - Method in class org.opentrafficsim.editor.Schema
Returns the node for the given path.
getEval() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Returns a current valid evaluator.
getEval() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Returns the evaluator for expressions.
getEval() - Method in class org.opentrafficsim.editor.OtsEditor
Return an evaluator to evaluate expression values.
getEval(ScenarioWrapper) - Method in class org.opentrafficsim.editor.EvalWrapper
Returns expression evaluator.
getEventListenerMap() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
getEventListenerMap() - Method in class org.opentrafficsim.editor.OtsEditor
getFeature(String, String) - Method in class org.opentrafficsim.editor.XiIncludeNode
getFieldPath(int) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
Returns the field path at the given index.
getFirstChild() - Method in class org.opentrafficsim.editor.XiIncludeNode
getFirstChild(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the first child with given name.
getFullFieldName() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
Returns the field name.
getId() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
getId() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneData
getId() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
getId() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
getId() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the value of an attribute with name "Id".
getIdRestrictions() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns all restrictions for Id attribute.
getKeyName() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns the name of the key, i.e.
getKeyPath() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns the path at which the xsd:key, xsd:unique or xsd:keyref is defined.
getKeyPathPattern() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns the path at which the xsd:key, xsd:unique or xsd:keyref is defined, with dots escaped.
getLaneData(String) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Returns the editor lane data for the lane of given id.
getLaneWidth() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
getLastChild() - Method in class org.opentrafficsim.editor.XiIncludeNode
getLastValidEval() - Method in class org.opentrafficsim.editor.EvalWrapper
Returns the last evaluator that was valid, i.e. did not have a circular dependency between input parameters.
getLinkId() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
Returns the link id.
getLinkLanePositionId() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Returns an id in the form {linkId}.
getLocalName() - Method in class org.opentrafficsim.editor.XiIncludeNode
getLocation() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
getLocation() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
getLocation() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
getLocation() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
getLocation() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
getMap() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Returns the map.
getNamespaceURI() - Method in class org.opentrafficsim.editor.XiIncludeNode
getNetwork() - Method in class org.opentrafficsim.editor.OtsRunner.OtsRunnerModel
getNetworkFlattener() - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Returns the network level flattener, or a 64 segment flattener of none specified.
getNextSibling() - Method in class org.opentrafficsim.editor.XiIncludeNode
getNode() - Method in class org.opentrafficsim.editor.AttributesTableModel
Returns the underlying node for which attributes are shown.
getNode() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
Returns the main node.
getNode() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Returns the tree node.
getNodeActions() - Method in class org.opentrafficsim.editor.OtsEditor
Returns the node actions.
getNodeName() - Method in class org.opentrafficsim.editor.XiIncludeNode
getNodeName() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the name of this node, as appropriate in XML.
getNodeType() - Method in class org.opentrafficsim.editor.XiIncludeNode
getNodeValue() - Method in class org.opentrafficsim.editor.XiIncludeNode
getOccurs(Node, String) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Parses the minOcccurs or maxOccurs value from given node.
getOption() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the selected option.
getOptions() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a list of options.
getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Returns the options that a validator allows, typically an xsd:keyref returning defined values under the referred xsd:key or xsd:unique.
getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Returns the options that a validator allows, typically an xsd:keyref returning defined values under the referred xsd:key or xsd:unique.
getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Returns the options that a validator allows, typically an xsd:keyref returning defined values under the referred xsd:key or xsd:unique.
getOptions(XsdTreeNode, Object) - Method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Returns the options that a validator allows, typically an xsd:keyref returning defined values under the referred xsd:key or xsd:unique.
getOptionsFromRestrictions(List<Node>) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns a list of options derived from a list of restrictions (xsd:restriction).
getOwnerDocument() - Method in class org.opentrafficsim.editor.XiIncludeNode
getParent() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the parent node.
getParentNode() - Method in class org.opentrafficsim.editor.XiIncludeNode
getPath() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the path from root to this node.
getPathString() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the path string of this element, e.g.
getPrefix() - Method in class org.opentrafficsim.editor.XiIncludeNode
getPreviousSibling() - Method in class org.opentrafficsim.editor.XiIncludeNode
getProperty(String) - Method in class org.opentrafficsim.editor.ApplicationStore
Returns the property value.
getQueueCount() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
getRecentFiles(String) - Method in class org.opentrafficsim.editor.ApplicationStore
Returns recent files.
getRelevantNodesWithChildren(Node, ImmutableList<Node>, Schema) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns from the XSD definition the appropriate nodes to take children from at the level of the input node, in the order in which they should appear.
getRestrictions(Node, Schema) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Returns all restrictions for the given node.
getRoadLayoutListener(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Returns the road layout listener from which a MapLinkData can obtain offsets.
getRoot() - Method in class org.opentrafficsim.editor.Schema
Get the root node.
getRoot() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the root node.
getRoot() - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Returns the root node.
getRowCount() - Method in class org.opentrafficsim.editor.AttributesTableModel
getScenarioNode() - Method in class org.opentrafficsim.editor.ScenarioWrapper
Returns the scenario node.
getSchemaLocation() - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Returns the schema location.
getSelectorTypeString() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns the type String for which the xsd:key, xsd:unique or xsd:keyref applies, i.e.
getShortString() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a string that is the name of the node, without any additional information on id and additional string function.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
Returns the string function that produces the right string from the contents of a node.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.AttributesStringFunction
Returns the string function that produces the right string from the contents of a node.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.ClassNameTypeStringFunction
Returns the string function that produces the right string from the contents of a node.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.CorrelationStringFunction
Returns the string function that produces the right string from the contents of a node.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.OdOptionsItemStringFunction
Returns the string function that produces the right string from the contents of a node.
getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.XiIncludeStringFunction
Returns the string function that produces the right string from the contents of a node.
getTab(String) - Method in class org.opentrafficsim.editor.OtsEditor
Returns the component of the tab with given name.
getTableCellEditorComponent(JTable, Object, boolean, int, int) - Method in class org.opentrafficsim.editor.render.AttributesCellEditor
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class org.opentrafficsim.editor.render.AttributeCellRenderer
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - Method in class org.opentrafficsim.editor.render.StringCellRenderer
getTextContent() - Method in class org.opentrafficsim.editor.XiIncludeNode
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class org.opentrafficsim.editor.render.XsdTreeCellRenderer
getType() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
getType(String) - Method in class org.opentrafficsim.editor.Schema
Returns the type, as pointed to by base={base}.
getUndo() - Method in class org.opentrafficsim.editor.OtsEditor
Returns the undo unit.
getUserData(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
getValidPathIndex(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
Returns which field path is valid for the given node.
getValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the value of this node.
getValue(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
Returns the field value of the given node.
getValueAt(int, int) - Method in class org.opentrafficsim.editor.AttributesTableModel
getValueAt(Object, int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
getValueRestrictions() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns all restrictions for the value.
getWidth() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
getWidth(Length) - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
Returns the lane width at the give position.
getZ() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData

H

hasAttribute(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node has an attribute with given name.
hasAttributes() - Method in class org.opentrafficsim.editor.XiIncludeNode
hasChildNodes() - Method in class org.opentrafficsim.editor.XiIncludeNode
hasConsumer() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node has any consumers.
hasExpression() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the value, any of the attributes, or any of the sub-elements, has an expression.
hashCode() - Method in record class org.opentrafficsim.editor.XsdOption
Returns a hash code value for this object.
haveSameType(XsdTreeNode, XsdTreeNode) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns whether nodes are of the same type.

I

ID_CHANGE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Id changed.
idIsExpression() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the Id is an expression.
ignoreChanges - Variable in class org.opentrafficsim.editor.Undo
Boolean to ignore changes during undo/redo, so no new undo/redo is made.
INACTIVE_COLOR - Static variable in class org.opentrafficsim.editor.OtsEditor
Color for inactive nodes (text).
INPUT_PARAMETERS - Static variable in class org.opentrafficsim.editor.XsdPaths
Input parameters path.
insert(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Insert node.
INSERT - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
INSERT.
insertBefore(Node, Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
INVALID_COLOR - Static variable in class org.opentrafficsim.editor.OtsEditor
Color for invalid nodes and values (background).
invalidate() - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets the valid status of this node and all parent nodes to unknown.
invalidateAll(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Invalidates entire tree in a nested manner.
invalidateNodes() - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Invalidates all nodes that are validating through this keyref.
isActive() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the node is active.
isAddable() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether a node of the same type may be added next to this node under the parent.
isAllStop() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
isBusStop() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
isCellEditable(int, int) - Method in class org.opentrafficsim.editor.AttributesTableModel
isCellEditable(Object, int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
isChoice() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node is (part of) a choice, i.e. should show an option can be set here.
isConnector() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
isDefaultNamespace(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
isEditable() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node is editable; i.e. whether a value can be set on the node, i.e. has a simple value, e.g.
isEqualNode(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
isFont() - Method in class org.opentrafficsim.editor.AppearanceControlTreeTable
isIdentifiable() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node has an attribute named "Id".
isInclude() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node exists as its loaded from an include.
isNone() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
isPriority() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
isRemovable() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node may be removed without violating "minOccurs" constraints.
isSameNode(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
isScenario(XsdTreeNode) - Method in class org.opentrafficsim.editor.ScenarioWrapper
Returns whether this wraps the given node.
isSelectedInContext(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Returns whether the given node is of the correct type and in the correct context for this validator.
isSelfValid() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the contents of the attributes, value and other aspects of the node itself are valid.
isStop() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
isSupported(String, String) - Method in class org.opentrafficsim.editor.XiIncludeNode
isType(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether this node is of the type defined by the path.
isType(Node, String) - Method in class org.opentrafficsim.editor.Schema
Return whether the given node is of the type.
isValid() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the node, and all its children recursively, is valid.
isYield() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData

K

keyNode - Variable in class org.opentrafficsim.editor.decoration.validation.XPathValidator
The node defining the xsd:key, xsd:keyref or xsd:unique.
keyPath - Variable in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Path where the key was defined.
keyPressed(KeyEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeKeyListener
keyrefs() - Method in class org.opentrafficsim.editor.Schema
Returns the xsd:keyref and the paths where they are defined.
KeyrefValidator - Class in org.opentrafficsim.editor.decoration.validation
Validator for xsd:keyref, which allows to define multiple fields.
KeyrefValidator(Node, String, KeyValidator) - Constructor for class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Constructor.
keys() - Method in class org.opentrafficsim.editor.Schema
Returns the xsd:key and the paths where they are defined.
KeyValidator - Class in org.opentrafficsim.editor.decoration.validation
Validator for xsd:key and xsd:unique.
KeyValidator(Node, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.KeyValidator
Constructor.

L

lastId - Variable in class org.opentrafficsim.editor.decoration.AutomaticLinkId
Last id.
lastNode - Variable in class org.opentrafficsim.editor.decoration.AutomaticLinkId
Last node.
LAYOUT_BY_PARENT_ID - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
{Node}.Id refers to {RoadLayout}.Id.
LAYOUT_REBUILT - Static variable in class org.opentrafficsim.editor.extensions.map.MapLinkData
Event when layout is rebuilt.
LayoutCustomizer - Class in org.opentrafficsim.editor.decoration
Allows a defined road layout selected at a link, to be copied in to a customizable road layout at the link.
LayoutCustomizer(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.LayoutCustomizer
Constructor.
limitTooltip(String) - Static method in class org.opentrafficsim.editor.OtsEditor
Limits the length of a tooltip message.
LINK - Static variable in class org.opentrafficsim.editor.XsdPaths
Link path.
LINK_ATTRIBUTE - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
{Node}.Link refers to a link from which the road layout is taken.
LINK_BY_PARENT_ID - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
{Node}.
LIST_GENERATOR - Static variable in class org.opentrafficsim.editor.XsdPaths
List generator path.
loadChildren(List<Integer>, NodeList, boolean) - Method in class org.opentrafficsim.editor.XsdTreeNode
Parses child nodes from XML in to this node's children, as far as it can given available inactive child nodes.
loadIcon(String, int, int, int, int) - Static method in class org.opentrafficsim.editor.OtsEditor
Loads an icon, possibly rescaled.
loadXmlNodes(Node) - Method in class org.opentrafficsim.editor.XsdTreeNode
Parses the information from an XML node into this node.
lookupNamespaceURI(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
lookupPrefix(String) - Method in class org.opentrafficsim.editor.XiIncludeNode

M

main(String[]) - Static method in class org.opentrafficsim.editor.RunEditor
Runs the editor.
MapCrossSectionData - Class in org.opentrafficsim.editor.extensions.map
Cross section element data for in the editor.
MapCrossSectionData(XsdTreeNode, PolyLine2d, Polygon2d, SliceInfo) - Constructor for class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
Constructor.
MapData - Class in org.opentrafficsim.editor.extensions.map
Part of the map data structure.
MapData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapData
Constructor.
MapGeneratorData - Class in org.opentrafficsim.editor.extensions.map
Generator data for the editor Map.
MapGeneratorData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapGeneratorData
Constructor.
MapLaneBasedObjectData - Class in org.opentrafficsim.editor.extensions.map
Data class for objects that are drawn at a lane position.
MapLaneBasedObjectData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Constructor.
MapLaneData - Class in org.opentrafficsim.editor.extensions.map
Lane data for in the editor.
MapLaneData(String, XsdTreeNode, PolyLine2d, Polygon2d, SliceInfo) - Constructor for class org.opentrafficsim.editor.extensions.map.MapLaneData
Constructor.
MapLinkData - Class in org.opentrafficsim.editor.extensions.map
LinkData for the editor Map.
MapLinkData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapLinkData
Constructor.
MapNodeData - Class in org.opentrafficsim.editor.extensions.map
NodeData for the editor Map.
MapNodeData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapNodeData
Constructor.
MapPriorityData - Class in org.opentrafficsim.editor.extensions.map
Priority data for in the editor.
MapPriorityData(MapLinkData) - Constructor for class org.opentrafficsim.editor.extensions.map.MapPriorityData
Constructor.
MapShoulderData - Class in org.opentrafficsim.editor.extensions.map
Shoulder data for in the editor.
MapShoulderData(Length, XsdTreeNode, PolyLine2d, Polygon2d, SliceInfo) - Constructor for class org.opentrafficsim.editor.extensions.map.MapShoulderData
Constructor.
MapSinkData - Class in org.opentrafficsim.editor.extensions.map
Sink data for the editor Map.
MapSinkData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapSinkData
Constructor.
MapStripeData - Class in org.opentrafficsim.editor.extensions.map
Stripe data for in the editor.
MapStripeData(StripeAnimation.StripeData.Type, Length, Length, XsdTreeNode, PolyLine2d, Polygon2d, SliceInfo) - Constructor for class org.opentrafficsim.editor.extensions.map.MapStripeData
Constructor.
MapTrafficLightData - Class in org.opentrafficsim.editor.extensions.map
Traffic light data for the editor Map.
MapTrafficLightData(EditorMap, XsdTreeNode, OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.map.MapTrafficLightData
Constructor.
maxOccurs() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the maximum number of this element under the parent node, as defined in maxOccurs in XSD.
mayPresentChoice() - Method in class org.opentrafficsim.editor.OtsEditor
Returns whether a choice may be presented.
minOccurs() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the minimum number of this element under the parent node, as defined in minOccurs in XSD.
mouseClicked(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.AttributesMouseListener
mouseClicked(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeMouseListener
mousePressed(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeMouseListener
mouseReleased(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.AttributesMouseListener
move(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Move the node to a different position in the parent, relative to the current position.
move(XsdTreeNode, int) - Method in class org.opentrafficsim.editor.NodeActions
Move node.
MOVE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node moved.
MOVED - Static variable in class org.opentrafficsim.editor.XsdTreeNode
Event when a node is moved.

N

NETWORK - Static variable in class org.opentrafficsim.editor.XsdPaths
Network path.
NEW_FILE - Static variable in class org.opentrafficsim.editor.OtsEditor
Event when a a new file is started.
NODE - Static variable in class org.opentrafficsim.editor.XsdPaths
Node path.
NODE_CREATED - Static variable in class org.opentrafficsim.editor.XsdTreeNodeRoot
Event when a node is created.
NODE_REMOVED - Static variable in class org.opentrafficsim.editor.XsdTreeNodeRoot
Event when a node is removed.
NodeActions - Class in org.opentrafficsim.editor
This class houses actions that can be performed on tree nodes.
NodeActions(OtsEditor, JTreeTable) - Constructor for class org.opentrafficsim.editor.NodeActions
Constructor.
NoDuplicateChildrenValidator - Class in org.opentrafficsim.editor.decoration.validation
Validates that children nodes are not duplicate within their parent.
NoDuplicateChildrenValidator(OtsEditor, String, String...) - Constructor for class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
Constructor.
normalize() - Method in class org.opentrafficsim.editor.XiIncludeNode
notify(Event) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecorator
notify(Event) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
notify(Event) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorRemove
notify(Event) - Method in class org.opentrafficsim.editor.decoration.LayoutCustomizer
notify(Event) - Method in class org.opentrafficsim.editor.decoration.string.ChoiceNodeStringFunction
notify(Event) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
notify(Event) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
notify(Event) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
notify(Event) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
notify(Event) - Method in class org.opentrafficsim.editor.decoration.validation.XsdAllValidator
notify(Event) - Method in class org.opentrafficsim.editor.EvalWrapper
notify(Event) - Method in class org.opentrafficsim.editor.extensions.DefinitionsSaver
notify(Event) - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
notify(Event) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
notify(Event) - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
notify(Event) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
notify(Event) - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
notify(Event) - Method in class org.opentrafficsim.editor.extensions.OdEditor
notify(Event) - Method in class org.opentrafficsim.editor.extensions.RoadLayoutEditor
notify(Event) - Method in class org.opentrafficsim.editor.extensions.RouteEditor
notify(Event) - Method in class org.opentrafficsim.editor.extensions.TrafCodEditor
notify(Event) - Method in class org.opentrafficsim.editor.listeners.AttributesListSelectionListener
notify(Event) - Method in class org.opentrafficsim.editor.listeners.ChangesListener
notify(Event) - Method in class org.opentrafficsim.editor.listeners.XsdTreeSelectionListener
notify(Event) - Method in class org.opentrafficsim.editor.Undo
notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
Notified when a node has been removed.
notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.AutomaticConnectorId
Notified when a node has been removed.
notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
Notified when a node has been removed.
notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
Notified when a node has been removed.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecorator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.string.ChoiceNodeStringFunction
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Notified when a node has been created.
notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.EvalWrapper
Notified when a node has been created.
notifyNodeIdChanged(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
Notification from the Map that a node (Ots.Network.Node) id was changed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorRemove
Notified when a node has been removed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
Notified when a node has been removed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Notified when a node has been removed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Notified when a node has been removed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Notified when a node has been removed.
notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.EvalWrapper
Notified when a node has been removed.

O

occurs(int, int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
Creates a string to display minOccurs and maxOccurs.
OD_OPTIONS_ITEM - Static variable in class org.opentrafficsim.editor.XsdPaths
OD options item path.
OdEditor - Class in org.opentrafficsim.editor.extensions
Editor for OD.
OdEditor(OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.OdEditor
Constructor.
OdOptionsItemStringFunction - Class in org.opentrafficsim.editor.decoration.string
Displays the options scope: Global, LinkType, Origin or Link+Lane.
OdOptionsItemStringFunction(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.string.OdOptionsItemStringFunction
Constructor.
open(URI) - Static method in class org.opentrafficsim.editor.DocumentReader
Opens an XSD or XML file.
openFile() - Method in class org.opentrafficsim.editor.OtsEditor
Asks for confirmation to discard unsaved changes, if any, and show a dialog to open a file.
OPTION - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Option set.
OPTION_CHANGED - Static variable in class org.opentrafficsim.editor.XsdTreeNode
Event when an option is changed.
optionNode() - Method in record class org.opentrafficsim.editor.XsdOption
Returns the value of the optionNode record component.
options - Variable in class org.opentrafficsim.editor.XsdTreeNode
Option nodes.
optionsPopup(List<String>, JTable, Consumer<String>) - Method in class org.opentrafficsim.editor.OtsEditor
Places a popup with options under the cell that is being clicked in a table.
org.opentrafficsim.editor - package org.opentrafficsim.editor
The OTS editor allows visual editing for a simulation in OTS.
org.opentrafficsim.editor.decoration - package org.opentrafficsim.editor.decoration
Decorators enhance the basic flexible functionality of the editor.
org.opentrafficsim.editor.decoration.string - package org.opentrafficsim.editor.decoration.string
String functions provide additional information in the name of nodes in the tree.
org.opentrafficsim.editor.decoration.validation - package org.opentrafficsim.editor.decoration.validation
Validators validate either a node value or attribute value.
org.opentrafficsim.editor.extensions - package org.opentrafficsim.editor.extensions
Extensions provide additional methods of providing user input, other than via the tree.
org.opentrafficsim.editor.extensions.map - package org.opentrafficsim.editor.extensions.map
The map editor allows visual specification of the network.
org.opentrafficsim.editor.listeners - package org.opentrafficsim.editor.listeners
Listeners for user interaction.
org.opentrafficsim.editor.render - package org.opentrafficsim.editor.render
Renderers are used in the tree and attribute tables to show items on screen.
OtsEditor - Class in org.opentrafficsim.editor
Editor window to load, edit and save OTS XML files.
OtsEditor() - Constructor for class org.opentrafficsim.editor.OtsEditor
Constructor.
OtsRunner - Class in org.opentrafficsim.editor
Simulation runner for when running from editor.
OtsRunner(OtsAnimationPanel, OtsRunner.OtsRunnerModel) - Constructor for class org.opentrafficsim.editor.OtsRunner
Run a simulation.
OtsRunner.OtsRunnerModel - Class in org.opentrafficsim.editor
The simulation model.
OtsRunnerModel(OtsSimulatorInterface, File, String) - Constructor for class org.opentrafficsim.editor.OtsRunner.OtsRunnerModel
Constructor.
overwrite - Variable in class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
Overwrite existing string functions.

P

parent - Variable in class org.opentrafficsim.editor.XsdTreeNode
Parent node.
PARENT_IS_LINK - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
{Node}.
ParentValidator - Class in org.opentrafficsim.editor.decoration.validation
Validates that the Parent attribute of a node does not refer to self, either directly or indirectly.
ParentValidator(OtsEditor, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.ParentValidator
Constructor.
paste(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Paste node.
PASTE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Paste.
POLYLINE_COORDINATE - Static variable in class org.opentrafficsim.editor.XsdPaths
Polyline coordinate path.
predicate - Variable in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
Predicate to accept nodes that should have this attribute decorator.
preparePopupRemoval(JPopupMenu, JComponent) - Method in class org.opentrafficsim.editor.OtsEditor
Adds a listener to a popup to remove the popop from the component when the popup becomes invisible.

R

redo() - Method in class org.opentrafficsim.editor.Undo
Performs a redo.
ref(Node, String, Schema) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns the element referred to by ref={ref} in an xsd:element.
referringXsdNode - Variable in class org.opentrafficsim.editor.XsdTreeNode
Element defining node that referred to a type.
reinitialize(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Reinitialize animation on object who's animator stores static information that depends on something that was changed.
remove() - Method in class org.opentrafficsim.editor.XsdTreeNode
Removes this node from the tree structure.
remove(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
Remove node.
REMOVE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node removed.
removeAnimation(Renderable2d<?>) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Remove animation.
removeChild(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
removeClipboardWhenCut() - Method in class org.opentrafficsim.editor.OtsEditor
Remove node that was cut.
removeCoordinate(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
The map was notified a coordinate node was removed.
removeEvalListener(EvalWrapper.EvalListener) - Method in class org.opentrafficsim.editor.OtsEditor
Removes listener to changes in the evaluator, i.e. added, removed or changed input parameters.
removeListener(EvalWrapper.EvalListener) - Method in class org.opentrafficsim.editor.EvalWrapper
Removes listener to changes in the evaluator, i.e. added, removed or changed input parameters.
removeNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Remove node.
removeNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
Remove node.
removeNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Remove node.
removeRecentFile(String, String) - Method in class org.opentrafficsim.editor.ApplicationStore
Clears a recent file.
removeStatusLabel() - Method in class org.opentrafficsim.editor.OtsEditor
Removes the status label.
replaceChild(Node, Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
reportInvalidAttributeValue(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a message why the attribute value is invalid, or null if it is valid.
reportInvalidAttributeValue(Node, String, Schema) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Report first encountered problem in validating the attribute value.
reportInvalidId() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a message why the id is invalid, or null if it is valid.
reportInvalidInclude(String, String, String) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Validates an includes file by checking whether it can be found.
reportInvalidNode() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a message why the node is invalid, or null if it is valid.
reportInvalidValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns a message why the value is invalid, or null if it is valid.
reportInvalidValue(Node, String, Schema) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Report first encountered problem in validating the value of the node.
resolveInsertion(int, int) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Takes the minimum of both indices, while ignoring negative values (indicating an element was not found for deletion).
revolveOption(XsdTreeNode, List<XsdOption>) - Method in class org.opentrafficsim.editor.NodeActions
Revolve to the next option of the node.
ROADLAYOUT - Static variable in class org.opentrafficsim.editor.XsdPaths
Road layout path.
RoadLayoutEditor - Class in org.opentrafficsim.editor.extensions
Editor for road layouts.
RoadLayoutEditor(OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.RoadLayoutEditor
Constructor.
RoadLayoutElementValidator - Class in org.opentrafficsim.editor.decoration.validation
Validates that attributes named Stripe, Lane, Shoulder and NoTrafficLane of a node, or the Id attribute of a node itself named Stripe, Lane, Shoulder or NoTrafficLane, match any id of the respective type within a coupled road layout.
RoadLayoutElementValidator(OtsEditor, String, RoadLayoutElementValidator.LayoutCoupling, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Constructor.
RoadLayoutElementValidator.LayoutCoupling - Enum Class in org.opentrafficsim.editor.decoration.validation
Defines how the node is coupled to a road layout.
RoadLayoutListener - Class in org.opentrafficsim.editor.extensions.map
Listens to changes in a road layout.
RoadLayoutListener(XsdTreeNode, Supplier<Eval>) - Constructor for class org.opentrafficsim.editor.extensions.map.RoadLayoutListener
Constructor.
RouteEditor - Class in org.opentrafficsim.editor.extensions
Editor for route.
RouteEditor(OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.RouteEditor
Constructor.
runBatch(boolean) - Method in class org.opentrafficsim.editor.OtsEditor
Batch run.
RunEditor - Class in org.opentrafficsim.editor
Runs the editor with default decoration and built-in XML schema.
runSingle(File, String) - Static method in class org.opentrafficsim.editor.OtsRunner
Run single run from a file.

S

saveFileAs(XsdTreeNode) - Method in class org.opentrafficsim.editor.OtsEditor
Shows a dialog to define a file and saves in to it.
saveXmlNodes(Document, Node) - Method in class org.opentrafficsim.editor.XsdTreeNode
Saves the content of this node in a new XML element under the given XML parent.
SCENARIO - Static variable in class org.opentrafficsim.editor.XsdPaths
Scenario path.
SCENARIOS - Static variable in class org.opentrafficsim.editor.XsdPaths
Scenarios path.
ScenarioWrapper - Class in org.opentrafficsim.editor
Wraps a scenario node as an item in the dropdown menu.
ScenarioWrapper(XsdTreeNode) - Constructor for class org.opentrafficsim.editor.ScenarioWrapper
Constructor.
Schema - Class in org.opentrafficsim.editor
Reads the XML Schema in XSD format for OTS.
Schema(Document) - Constructor for class org.opentrafficsim.editor.Schema
Constructs the XML Schema information from a document.
selected - Variable in class org.opentrafficsim.editor.XsdTreeNode
Currently selection option in the choice node.
selected() - Method in record class org.opentrafficsim.editor.XsdOption
Returns the value of the selected record component.
SELECTION_CHANGED - Static variable in class org.opentrafficsim.editor.OtsEditor
Event when the selection in the tree is changed.
separatedName(String) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Adds a thin space before each capital character in a String, except the first.
set(Class<T>, ExpressionAdapter<T, E>) - Static method in class org.opentrafficsim.editor.extensions.Adapters
Add an adapter for the given class.
setActive() - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets this node to be active if it is not already.
setAnimationToggles() - Method in class org.opentrafficsim.editor.OtsRunner
setAppearance(Appearance) - Method in class org.opentrafficsim.editor.OtsEditor
setAttributeIfNotNull(XsdTreeNode, String, String) - Static method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
Sets the given value on the attribute of the node, if the current value is not null.
setAttributeValue(int, String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets an attribute value; directly for an XsdAttributesTableModel.
setAttributeValue(String, String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets an attribute value; directly for an XsdAttributesTableModel.
setChild(int, XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets the given node as child of this node.
setChoiceNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.OtsEditor
Sets the node that is the currently selected choice.
setClipboard(XsdTreeNode, boolean) - Method in class org.opentrafficsim.editor.OtsEditor
Sets a node in the clipboard.
setContext(String) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Sets the context path, which should refer to a higher level node relative to the nodes at the regular path.
setCoupledNode(XsdTreeNode, XsdTreeNode, String) - Method in class org.opentrafficsim.editor.OtsEditor
Sets coupled node from user action, i.e. the node that contains the key value to which a user selected node with keyref refers to.
setCustomIcon(String, ImageIcon) - Method in class org.opentrafficsim.editor.OtsEditor
Sets a custom icon for nodes that comply to the path.
setDirectory(String) - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Set the directory.
setDirty() - Method in class org.opentrafficsim.editor.EvalWrapper
Sets the evaluator as being dirty, i.e. some input parameter was added, removed or changed.
setId(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets the value for an attribute with name "Id".
setIdAttribute(String) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Sets the attribute that is the defining attribute of a parent.
setIgnoreChanges(boolean) - Method in class org.opentrafficsim.editor.Undo
Tells the undo unit to ignore all changes.
setInactive() - Method in class org.opentrafficsim.editor.XsdTreeNode
Deactivates this node.
setInvalid() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Notify the map that the element cannot be drawn.
setInvalid(MapData) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Set the data as being invalid to draw.
setLinkNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
Sets a node as link.
setNodeValue(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
setOption(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets the node as newly selected option.
setParentAttribute(String) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Sets the attribute that refers to a parent.
setPostActionShowNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.Undo
Sets the node to show in the tree after the action.
setPrefix(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
setProperty(String, String) - Method in class org.opentrafficsim.editor.ApplicationStore
Sets a property value.
setSchema(Document) - Method in class org.opentrafficsim.editor.OtsEditor
Sets a new schema in the GUI.
setSchemaLocation(String) - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
Sets the scehame location.
setSeparator(String) - Method in class org.opentrafficsim.editor.decoration.string.AttributesStringFunction
Sets the separator.
setStatusLabel(String) - Method in class org.opentrafficsim.editor.OtsEditor
Sets a status label.
setStringFunction(Function<XsdTreeNode, String>, boolean) - Method in class org.opentrafficsim.editor.XsdTreeNode
This function can be set externally and supplies an additional String to clarify this node in the tree.
setTextContent(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
setTreeTable(JTreeTable) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
Sets the tree table.
setUnsavedChanges(boolean) - Method in class org.opentrafficsim.editor.OtsEditor
Sets whether there are unsaved changes, resulting in a * in the window name, and confirmation pop-ups upon file changes.
setUserData(String, Object, UserDataHandler) - Method in class org.opentrafficsim.editor.XiIncludeNode
setValid() - Method in class org.opentrafficsim.editor.extensions.map.MapData
Notify the map that the element can be drawn.
setValid(MapData) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
Set the data as being valid to draw.
setValue(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
Sets the value on this node.
setValue(Consumer<T>, ExpressionAdapter<T, ?>, XsdTreeNode, String) - Method in class org.opentrafficsim.editor.extensions.map.MapData
Generic method to set a value based on a changed attribute.
setValueAt(Object, int, int) - Method in class org.opentrafficsim.editor.AttributesTableModel
setValueAt(Object, Object, int) - Method in class org.opentrafficsim.editor.XsdTreeTableModel
setValueIfNotNull(XsdTreeNode, String) - Static method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
Sets the given value on the node, if the current value is not null.
show(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.OtsEditor
Shows and selects the given node in the tree.
showCircularInputParameters() - Method in class org.opentrafficsim.editor.OtsEditor
Show input parameters have a circular dependency.
showDescription(String) - Method in class org.opentrafficsim.editor.OtsEditor
Shows a description in a modal pane.
showInvalidMessage() - Method in class org.opentrafficsim.editor.OtsEditor
Show tree invalid.
showUnableToRun() - Method in class org.opentrafficsim.editor.OtsEditor
Show unable to run.
SINK - Static variable in class org.opentrafficsim.editor.XsdPaths
Sink path.
startAction(Undo.ActionType, XsdTreeNode, String) - Method in class org.opentrafficsim.editor.Undo
Starts a new action, which groups all sub-actions until a new action is started.
startUndoActionOnTreeTable() - Method in class org.opentrafficsim.editor.OtsEditor
Creates a new undo action as the selection is changed in the tree table.
STATUS_COLOR - Static variable in class org.opentrafficsim.editor.OtsEditor
Color for status label.
StatusLabel - Class in org.opentrafficsim.editor
Status label with fixed font color irrespective of GUI appearance.
StatusLabel() - Constructor for class org.opentrafficsim.editor.StatusLabel
 
StringCellRenderer - Class in org.opentrafficsim.editor.render
Renderer for columns in the tree table.
StringCellRenderer(JTreeTable) - Constructor for class org.opentrafficsim.editor.render.StringCellRenderer
Constructor.
SUPPRESS_ERRORS - Static variable in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Set to store tags for which an error has been printed, to prevent repeated printing on repeated validation.

T

toString() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator.Field
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapShoulderData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapSinkData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
toString() - Method in class org.opentrafficsim.editor.extensions.map.MapTrafficLightData
toString() - Method in class org.opentrafficsim.editor.ScenarioWrapper
toString() - Method in enum class org.opentrafficsim.editor.Undo.ActionType
toString() - Method in record class org.opentrafficsim.editor.XsdOption
Returns a string representation of this record class.
toString() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns the short string, appended with any additional information on id and additional string function.
TrafCodEditor - Class in org.opentrafficsim.editor.extensions
Editor for TrafCod program.
TrafCodEditor(OtsEditor) - Constructor for class org.opentrafficsim.editor.extensions.TrafCodEditor
Constructor.
TRAFFIC_LIGHT - Static variable in class org.opentrafficsim.editor.XsdPaths
Traffic light path.
TrafficLightValidator - Class in org.opentrafficsim.editor.decoration.validation
Checks that attribute TrafficLightId can be found on link under attribute Link (with keyref) having the same lane under attribute Lane.
TrafficLightValidator(OtsEditor, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Constructor.
type(Node, String, Schema) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns the element referred to by type={type} in an xsd:element.

U

undo() - Method in class org.opentrafficsim.editor.Undo
Performs an undo.
Undo - Class in org.opentrafficsim.editor
Undo unit for the OTS editor.
Undo(OtsEditor, AbstractButton, AbstractButton) - Constructor for class org.opentrafficsim.editor.Undo
Constructor.
Undo.ActionType - Enum Class in org.opentrafficsim.editor
Type of actions for undo.
uniques() - Method in class org.opentrafficsim.editor.Schema
Returns the xsd:unique and the paths where they are defined.
updateButtons() - Method in class org.opentrafficsim.editor.Undo
Update the enabled state and text of the undo and redo button.
updateFieldValue(XsdTreeNode, int, String) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Update value as it was changed at the key.
user(String) - Static method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
Transforms an xpath specified path to a path that is presentable to the user.

V

validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
Returns message why a value is invalid, or null if the value is valid.
validate(XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
Returns message why a value is invalid, or null if the value is valid.
VALUE_CHANGE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
Node value changed.
VALUE_CHANGED - Static variable in class org.opentrafficsim.editor.XsdTreeNode
Event when a node value is changed.
valueChanged(ListSelectionEvent) - Method in class org.opentrafficsim.editor.listeners.AttributesListSelectionListener
valueChanged(TreeSelectionEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeSelectionListener
valueIsExpression() - Method in class org.opentrafficsim.editor.XsdTreeNode
Returns whether the value is an expression.
valueOf(String) - Static method in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.opentrafficsim.editor.Undo.ActionType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.opentrafficsim.editor.Undo.ActionType
Returns an array containing the constants of this enum class, in the order they are declared.
valuesAreEqual(String, String) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
Returns whether the two values are equal, where null is consider equal to an empty string.
ValueValidator - Interface in org.opentrafficsim.editor.decoration.validation
Interface for validators of element attributes and values.

X

XI_INCLUDE - Static variable in class org.opentrafficsim.editor.XiIncludeNode
Singleton instance for xi:include nodes.
XiIncludeNode - Class in org.opentrafficsim.editor
Singleton at XiIncludeNode.XI_INCLUDE to use for xi:include nodes in an XsdTreeNode.
XiIncludeStringFunction - Class in org.opentrafficsim.editor.decoration.string
Adds the included file name to the include node.
XiIncludeStringFunction(OtsEditor) - Constructor for class org.opentrafficsim.editor.decoration.string.XiIncludeStringFunction
Constructor.
XPathValidator - Class in org.opentrafficsim.editor.decoration.validation
Common functionality between a key/unique validator, and a keyref validator.
XPathValidator(Node, String) - Constructor for class org.opentrafficsim.editor.decoration.validation.XPathValidator
Constructor.
XPathValidator.Field - Class in org.opentrafficsim.editor.decoration.validation
The field class represents an xsd:field tag within an xsd:key, xsd:unique or xsd:keyref.
XsdAllValidator - Class in org.opentrafficsim.editor.decoration.validation
Validates that children nodes are not duplicate within their parent.
XsdAllValidator(XsdTreeNodeRoot) - Constructor for class org.opentrafficsim.editor.decoration.validation.XsdAllValidator
Constructor.
xsdNode - Variable in class org.opentrafficsim.editor.XsdTreeNode
Node from XSD that this XsdTreeNode represents.
XsdOption - Record Class in org.opentrafficsim.editor
Class that groups some information on an option for a choice node, relevant to show to the user.
XsdOption(XsdTreeNode, XsdTreeNode, boolean, boolean) - Constructor for record class org.opentrafficsim.editor.XsdOption
Creates an instance of a XsdOption record class.
XsdPaths - Class in org.opentrafficsim.editor
Class where static fields define paths in the XML.
XsdPaths() - Constructor for class org.opentrafficsim.editor.XsdPaths
 
XsdTreeCellRenderer - Class in org.opentrafficsim.editor.render
Renderer for the nodes in the tree.
XsdTreeCellRenderer(OtsEditor) - Constructor for class org.opentrafficsim.editor.render.XsdTreeCellRenderer
Constructor.
XsdTreeKeyListener - Class in org.opentrafficsim.editor.listeners
Listener for key events on the tree table.
XsdTreeKeyListener(OtsEditor, JTreeTable) - Constructor for class org.opentrafficsim.editor.listeners.XsdTreeKeyListener
Constructor.
XsdTreeMouseListener - Class in org.opentrafficsim.editor.listeners
Listener for mouse events on the tree.
XsdTreeMouseListener(OtsEditor, JTreeTable, JTable) - Constructor for class org.opentrafficsim.editor.listeners.XsdTreeMouseListener
Constructor.
XsdTreeNode - Class in org.opentrafficsim.editor
Underlying data structure object of the editor.
XsdTreeNode(Schema) - Constructor for class org.opentrafficsim.editor.XsdTreeNode
Constructor for root node, based on an XsdSchema.
XsdTreeNode(XsdTreeNode, Node, ImmutableList<Node>) - Constructor for class org.opentrafficsim.editor.XsdTreeNode
Construct a node without referring node.
XsdTreeNode(XsdTreeNode, Node, ImmutableList<Node>, Node) - Constructor for class org.opentrafficsim.editor.XsdTreeNode
Constructor with referring node for extended types.
XsdTreeNodeRoot - Class in org.opentrafficsim.editor
Extends XsdTreeNode with event producer capabilities.
XsdTreeNodeRoot(Schema) - Constructor for class org.opentrafficsim.editor.XsdTreeNodeRoot
Constructor for root node, based on a schema.
XsdTreeNodeUtil - Class in org.opentrafficsim.editor
This class exists to keep XsdTreeNode at manageable size.
XsdTreeSelectionListener - Class in org.opentrafficsim.editor.listeners
Listener for selection events on the tree table.
XsdTreeSelectionListener(OtsEditor, JTreeTable, JTable) - Constructor for class org.opentrafficsim.editor.listeners.XsdTreeSelectionListener
Constructor.
XsdTreeTableModel - Class in org.opentrafficsim.editor
Defines the columns in the JTreeTable.
XsdTreeTableModel(Document) - Constructor for class org.opentrafficsim.editor.XsdTreeTableModel
Constructor.
A B C D E F G H I K L M N O P R S T U V X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form