Index
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, Predicate<XsdTreeNode>) - 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, Predicate<XsdTreeNode>) - 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
- acceptNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecorator
-
Accept node by internal predicate.
- 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.PopupValueSelectedListener
- 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.
- Adapters - Class in org.opentrafficsim.editor.extensions
-
Class that houses static instances of adapters, for common usage within the editor.
- 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 an external 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.
- 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.
- addCoupling(XsdTreeNode, XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
-
Add coupling from one node to another.
- addEndOffset(double) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData.MiddleOffset
-
Add end offset.
- 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(EventListener, EventType, ReferenceType) - Method in class org.opentrafficsim.editor.XsdTreeNode
- 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.
- addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
- addNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
- 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.
- addStartOffset(double) - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData.MiddleOffset
-
Add start offset.
- 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.
- AppearanceControlTreeTable - Class in org.opentrafficsim.editor
-
Prevents the TreeTable from showing appearance background color.
- AppearanceControlTreeTable(TreeTableModel) - Constructor for class org.opentrafficsim.editor.AppearanceControlTreeTable
-
Constructor.
- appendChild(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
- APPINFO_NAME - Enum constant in enum class org.opentrafficsim.editor.DocumentReader.NodeAnnotation
-
Element xsd:appinfo.
- APPINFO_PATTERN - Enum constant in enum class org.opentrafficsim.editor.DocumentReader.NodeAnnotation
-
Element xsd:appinfo.
- 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.
- attributeIsExpression(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether the attribute is an expression.
- 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 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
JTableto display the attributes of aXsdTreeNode. - 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
- 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
- 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.
- CHANGE_EVENT - Static variable in class org.opentrafficsim.editor.extensions.map.ChangeListener
-
Event that any change happened to the main node or anything under it.
- 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.
- ChangesListener(OtsEditor, JComboBox<ScenarioWrapper>) - Constructor for class org.opentrafficsim.editor.listeners.ChangesListener
-
Constructor.
- ChildNodeFinder - Class in org.opentrafficsim.editor
-
Checks whether a child node is present, and if so can return it, in an efficient manner.
- ChildNodeFinder(XsdTreeNode) - Constructor for class org.opentrafficsim.editor.ChildNodeFinder
-
Constructor.
- choice() - Method in record class org.opentrafficsim.editor.XsdOption
-
Returns the value of the
choicerecord component. - 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
- collapse(XsdTreeNode) - Method in class org.opentrafficsim.editor.OtsEditor
-
Collapses the given node, if expanded.
- 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(XmlParser) - 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.
- COUPLING - Static variable in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
-
Coupling event type.
- cut(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
-
Cut node.
- CUT - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
-
Cut.
D
- 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.
- DESCRIPTION - Enum constant in enum class org.opentrafficsim.editor.DocumentReader.NodeAnnotation
-
Element xsd:documentation.
- DESCRIPTION_COLUMN - Static variable in class org.opentrafficsim.editor.AttributesTableModel
-
Index of the description column.
- 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() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
- destroy() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
- destroyData() - Method in class org.opentrafficsim.editor.extensions.map.ChangeListener
-
Destroys the data.
- destroyData() - Method in class org.opentrafficsim.editor.extensions.map.RoadLayoutListener
- DocumentReader - Class in org.opentrafficsim.editor
-
Utility class to read XSD or XML from URI.
- DocumentReader.NodeAnnotation - Enum Class in org.opentrafficsim.editor
-
Types of annotation elements the
DocumentReadercan read. - 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
- editingCanceled(ChangeEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
- editingStopped(ChangeEvent) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
- editingStopped(ChangeEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
- EditorMap - Class in org.opentrafficsim.editor.extensions.map
-
Editor map.
- EditorMap.MapUpdater - Class in org.opentrafficsim.editor.extensions.map
-
Event producer that fires an update animation event.
- 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.ScenarioWrapper
-
Indicates whether some other object is "equal to" this one.
- 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
- evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
- evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
- evalChanged() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
- 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.
F
- filterHtml(String) - Static method in class org.opentrafficsim.editor.DocumentReader
-
Remove HTML tags from string.
- fireCreatedEventOnExistingNodes(XsdTreeNode, EventListener) - Static method in class org.opentrafficsim.editor.XsdTreeNodeUtil
-
Recursively throws creation event on specific listener for all current nodes in the tree.
- 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.
- focusGained(FocusEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
- focusLost(FocusEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
- focusTab(String) - Method in class org.opentrafficsim.editor.OtsEditor
-
Place focus on the tab with given name.
G
- GENERATOR - Static variable in class org.opentrafficsim.editor.XsdPaths
-
Generator path.
- get() - Method in class org.opentrafficsim.editor.ChildNodeFinder
-
Returns the previously found node.
- get(Class<T>) - Static method in class org.opentrafficsim.editor.extensions.Adapters
-
Returns an adapter for the given class.
- get(Node) - Method in enum class org.opentrafficsim.editor.DocumentReader.NodeAnnotation
-
Returns an annotation value.
- getAbsoluteContour() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
- getAbsoluteContour() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
- getAbsoluteContour() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
- getAbsoluteContour() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
- getAbsoluteContour() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
- 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.
- getAttributeRestrictions(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns all restrictions for the given attribute.
- getAttributes() - Method in class org.opentrafficsim.editor.decoration.AbstractNodeDecoratorAttribute
-
Returns the attributes.
- getAttributes() - Method in class org.opentrafficsim.editor.XiIncludeNode
- getAttributeValue(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns an attribute value.
- getAttributeValue(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns an attribute value.
- 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
- 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.MapLinkData
- 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.
- 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.
- 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
- getColor(String) - Method in class org.opentrafficsim.editor.ApplicationStore
-
Returns color of given key.
- 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
- getCommonPhaseStripes() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- getConsumerMenuItems() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the menu items for which this node has consumers.
- getCoupledNode(XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
-
Returns the coupled node.
- getCoupledNodeAttribute(int) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the node to which an attribute refers via a
CoupledValidator. - getCoupledNodeAttribute(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the node to which an attribute refers via a
CoupledValidator. - getCoupledNodeValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the node to which the value refers via a
CoupledValidator. - getCouplings() - Method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
-
Returns a map with all node couplings.
- getCouplings() - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
- getCouplings() - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
- getCouplings() - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
-
Returns a map with all node couplings.
- getCustomIcon(String) - Method in class org.opentrafficsim.editor.OtsEditor
-
Obtains a custom icon for the path.
- getDashOffset() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
- 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.
- getDirectory() - Method in class org.opentrafficsim.editor.XsdTreeNodeRoot
-
Returns the directory.
- getDownstreamStripe() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- getElement(String) - Method in class org.opentrafficsim.editor.Schema
-
Returns the node for the given path.
- getElements() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
- getEndOffset() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData.MiddleOffset
-
Get end offset.
- getEndPhase() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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
- getExpressionColor() - Static method in class org.opentrafficsim.editor.OtsEditor
-
Returns the expression cell color.
- getFeature(String, String) - Method in class org.opentrafficsim.editor.XiIncludeNode
- getFirstChild() - Method in class org.opentrafficsim.editor.XiIncludeNode
- getFirstChild(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the first child with given 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.
- getInt(String) - Method in class org.opentrafficsim.editor.ApplicationStore
-
Returns int for given key.
- getInvalidColor() - Static method in class org.opentrafficsim.editor.OtsEditor
-
Returns the invalid cell color.
- getKeyName() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
-
Returns the name of the key, i.e.
- 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.
- getLateralSync() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
-
Returns the lateral sync.
- getLine() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
- getLine() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
- getLine() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
- 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
- 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
- getObject() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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 including current selection status.
- getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
- getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
- getOptions(XsdTreeNode, Object) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
- 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.
- 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. "Ots.Definitions.RoadLayouts".
- getPeriod() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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.
- getReferenceLine() - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
- getRelativeBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
- getRelativeBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
- getRelativeBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
- getRelativeBounds() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
- getRelativeContour() - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
- getRelativeContour() - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
- getRelativeContour() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
- getRelativeContour() - Method in class org.opentrafficsim.editor.extensions.map.MapNodeData
- getRelativeContour() - Method in class org.opentrafficsim.editor.extensions.map.MapPriorityData
- getRestrictions(Node, Schema) - Static method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
-
Returns all restrictions for the given node.
- 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
- getRowCount() - Method in class org.opentrafficsim.editor.AttributesTableModel
- getSelectorTypeString() - Method in class org.opentrafficsim.editor.decoration.validation.XPathValidator
-
Returns the type
Stringfor 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.
- getStartOffset() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData.MiddleOffset
-
Get start offset.
- getStartPhase() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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
- getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.ClassNameTypeStringFunction
- getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.CorrelationStringFunction
- getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.OdOptionsItemStringFunction
- getStringFunction() - Method in class org.opentrafficsim.editor.decoration.string.XiIncludeStringFunction
- getStripeData() - Method in class org.opentrafficsim.editor.extensions.map.MapLinkData
-
Returns the stripes.
- getSynchronizableStripes() - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
-
Returns the map of synchronizable stripes, not a safe copy.
- getSynchronization() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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
- getTreeNodeAtPoint(Point) - Method in class org.opentrafficsim.editor.OtsEditor
-
Returns the XsdTreeNode of the row under the given point (from a mouse or key event).
- 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.
- getUpstreamStripe() - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- getUserData(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
- getValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns the value of this 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(Length) - Method in class org.opentrafficsim.editor.extensions.map.MapCrossSectionData
-
Returns the lane width at the give position.
- getWidth(Length) - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
- getZ() - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
H
- hasActiveChild(String) - Method in class org.opentrafficsim.editor.ChildNodeFinder
-
Whether the node has given child which is also active.
- 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
- hasChild(String) - Method in class org.opentrafficsim.editor.ChildNodeFinder
-
Whether the node has given child.
- hasChild(String) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether this node has a child with given name.
- 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.ScenarioWrapper
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.opentrafficsim.editor.XsdOption
-
Returns a hash code value for this object.
I
- ID - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
SomeWhere.
- ID_CHANGE - Enum constant in enum class org.opentrafficsim.editor.Undo.ActionType
-
Id changed.
- ID_COLUMN - Static variable in class org.opentrafficsim.editor.XsdTreeTableModel
-
Index of the Id column.
- idIsExpression() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether the Id is an expression.
- 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
- invalidate() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Sets the valid status of this node and all parent nodes to unknown.
- 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
- isBackground() - Method in class org.opentrafficsim.editor.StatusLabel
- 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
- isFont() - Method in class org.opentrafficsim.editor.StatusLabel
- isForeground() - Method in class org.opentrafficsim.editor.StatusLabel
- isIdentifiable() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether this node has an attribute named "Id".
- isIncluded() - 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, including deactivating nodes with minOccurs = 0.
- isSameNode(Node) - Method in class org.opentrafficsim.editor.XiIncludeNode
- isScenario(XsdTreeNode) - Method in record class org.opentrafficsim.editor.ScenarioWrapper
-
Returns whether this wraps the given node.
- 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.
- isSequence() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether this is a virtual layer node representing a sequence.
- isSingleChoiceType() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns whether this node only contains a single choice and nothing else.
- 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
- 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.
- keyReleased(KeyEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
- 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
- LANE - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
Node.Lane = RoadLayout.Lane.Id.
- LAYOUT_BY_PARENT_ID - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.LayoutCoupling
-
{Node}.
- 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(XsdTreeNodeUtil.LoadingIndices, 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.decoration.DefaultDecorator
-
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, CrossSectionGeometry) - 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, CrossSectionGeometry) - 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.
- MapLinkData.MiddleOffset - Class in org.opentrafficsim.editor.extensions.map
-
Remembers minimum and maximum start and end offset, to return the mean of both.
- 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(XsdTreeNode, CrossSectionGeometry) - 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(Length, XsdTreeNode, CrossSectionGeometry, List<StripeElement>, StripeElement.StripeLateralSync, PolyLine2d, MapLinkData.MiddleOffset, Direction, Direction) - 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.
- MapUpdater() - Constructor for class org.opentrafficsim.editor.extensions.map.EditorMap.MapUpdater
-
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.
- MiddleOffset() - Constructor for class org.opentrafficsim.editor.extensions.map.MapLinkData.MiddleOffset
-
Constructor.
- 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.XsdTreeListener
- mouseMoved(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeListener
- mousePressed(MouseEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeListener
- 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.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.XsdTreeListener
- 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
- notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
- notifyAttributeChanged(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
- 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.AutomaticLinkId
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.LayoutCustomizer
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.string.ChoiceNodeStringFunction
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
- notifyCreated(XsdTreeNode) - Method in class org.opentrafficsim.editor.EvalWrapper
- 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.LayoutCustomizer
- notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.NoDuplicateChildrenValidator
- notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
- notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
- notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
- notifyRemoved(XsdTreeNode) - Method in class org.opentrafficsim.editor.EvalWrapper
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.
- 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
optionNoderecord component. - 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, 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.
P
- 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.
- PopupValueSelectedListener - Class in org.opentrafficsim.editor.listeners
-
Listener to when a value is selected in a popup showing a list of values.
- PopupValueSelectedListener(String, JTable, Consumer<String>, JTreeTable) - Constructor for class org.opentrafficsim.editor.listeners.PopupValueSelectedListener
-
Constructor.
- 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.
- PropertiesDialog - Class in org.opentrafficsim.editor
-
Shows a modal dialog to edit properties (of the main XML tag).
- PropertiesDialog(OtsEditor, List<String>, ImageIcon) - Constructor for class org.opentrafficsim.editor.PropertiesDialog
-
Constructor.
- PROPERTY_COLUMN - Static variable in class org.opentrafficsim.editor.AttributesTableModel
-
Index of the property column.
R
- redo() - Method in class org.opentrafficsim.editor.Undo
-
Performs a redo.
- 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.
- 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.
- removeCoupling(XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.CoupledValidator
-
Remove coupling of node.
- 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
- removeNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
- 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, empty 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, empty 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, empty if it is valid.
- reportInvalidValue() - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Returns a message why the value is invalid, empty 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 based on XSD type.
- 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 an attribute 'X', or attribute Id on an element named 'X', matches any Id of a road layout element named 'X' within a coupled road layout.
- RoadLayoutElementValidator(OtsEditor, String, RoadLayoutElementValidator.LayoutCoupling, RoadLayoutElementValidator.RoadLayoutElementAttribute) - 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.
- RoadLayoutElementValidator.RoadLayoutElementAttribute - Enum Class in org.opentrafficsim.editor.decoration.validation
-
Defines the attribute pointing to the road layout element.
- 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.
- scenarioNode() - Method in record class org.opentrafficsim.editor.ScenarioWrapper
-
Returns the scenario node.
- SCENARIOS - Static variable in class org.opentrafficsim.editor.XsdPaths
-
Scenarios path.
- ScenarioWrapper - Record Class in org.opentrafficsim.editor
-
Wraps a scenario node as an item in the dropdown menu.
- ScenarioWrapper(XsdTreeNode) - Constructor for record class org.opentrafficsim.editor.ScenarioWrapper
-
Creates an instance of a
ScenarioWrapperrecord class. - 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() - Method in record class org.opentrafficsim.editor.XsdOption
-
Returns the value of the
selectedrecord component. - SELECTION_CHANGED - Static variable in class org.opentrafficsim.editor.OtsEditor
-
Event when the selection in the tree is changed.
- 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.
- setAttributeValue(String, String) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Sets an attribute value.
- setBackground(Color) - Method in class org.opentrafficsim.editor.StatusLabel
- 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.
- setDashOffset(Length) - Method in class org.opentrafficsim.editor.extensions.map.MapStripeData
-
Sets a new dash offset, which should only occur due to synchronization.
- 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.
- setEndPhase(double) - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- setForeground(Color) - Method in class org.opentrafficsim.editor.StatusLabel
- 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 identifying 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 if it is not already.
- setInvalid(MapData) - Method in class org.opentrafficsim.editor.extensions.map.EditorMap
-
Set the data as being invalid to draw.
- setLastId(String) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
-
Set last id value from attribute change.
- setLastNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.AutomaticLinkId
-
Set last node from attribute change.
- setLinkNode(XsdTreeNode) - Method in class org.opentrafficsim.editor.extensions.map.MapLaneBasedObjectData
-
Sets a node as link.
- setMayPresentChoice(boolean) - Method in class org.opentrafficsim.editor.OtsEditor
-
Sets whether the choice menu may appear.
- setNodeValue(String) - Method in class org.opentrafficsim.editor.XiIncludeNode
- setOption(XsdTreeNode) - Method in class org.opentrafficsim.editor.NodeActions
-
Set node as selected in its choice.
- setOption(XsdTreeNode) - Method in class org.opentrafficsim.editor.XsdTreeNode
-
Sets the node as newly selected option.
- setOverwrite(boolean) - Method in class org.opentrafficsim.editor.decoration.string.AbstractStringFunction
-
Sets whether this function should overwrite an existing string function in the node.
- 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.
- setSeparator(String) - Method in class org.opentrafficsim.editor.decoration.string.AttributesStringFunction
-
Sets the separator.
- setStartPhase(double) - Method in class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
- 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
Stringto 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(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. - SHOULDER - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
Node.Shoulder = RoadLayout.Shoulder.Id.
- show(XsdTreeNode, String) - Method in class org.opentrafficsim.editor.OtsEditor
-
Shows and selects the given node in the tree.
- showCircularInputParameters(String) - 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.
- showInvalidExpression(String) - Method in class org.opentrafficsim.editor.OtsEditor
-
Show message about invalid expression.
- showInvalidToRunMessage() - Method in class org.opentrafficsim.editor.OtsEditor
-
Show tree invalid.
- showUnableToRunFromTempFile() - Method in class org.opentrafficsim.editor.OtsEditor
-
Show unable to run.
- signedDistance(Point2d) - Method in class org.opentrafficsim.editor.extensions.map.MapGeneratorData
-
Signed distance function.
- 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, editing is stopped, or focus is gained/lost.
- StatusLabel - Class in org.opentrafficsim.editor
-
Status label at bottom of the screen with font color interpolated between background and foreground colors in GUI appearance.
- StatusLabel() - Constructor for class org.opentrafficsim.editor.StatusLabel
-
Constructor.
- 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.
- STRIPE - Enum constant in enum class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
Node.Stripe = RoadLayout.Stripe.Id.
- 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.
- SynchronizableMapStripe - Class in org.opentrafficsim.editor.extensions.map
-
Representation of a stripe that can be synchronized as used within the editor.
- SynchronizableMapStripe(MapLinkData, MapStripeData, StripeData.StripePhaseSync) - Constructor for class org.opentrafficsim.editor.extensions.map.SynchronizableMapStripe
-
Constructor.
T
- 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 record class org.opentrafficsim.editor.ScenarioWrapper
-
Returns a string representation of this record class.
- 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 optional 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.
- TREE_COLUMN - Static variable in class org.opentrafficsim.editor.XsdTreeTableModel
-
Index of the tree column.
- treeWillCollapse(TreeExpansionEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeListener
- treeWillExpand(TreeExpansionEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeListener
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.
- update() - Method in class org.opentrafficsim.editor.extensions.map.EditorMap.MapUpdater
-
Fire update animation event.
- updateButtons() - Method in class org.opentrafficsim.editor.Undo
-
Update the enabled state and text of the undo and redo button.
- USE_COLUMN - Static variable in class org.opentrafficsim.editor.AttributesTableModel
-
Index of the use column.
V
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.AttributesNotEqualValidator
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyrefValidator
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.KeyValidator
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.ParentValidator
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.RoadLayoutElementValidator
- validate(XsdTreeNode) - Method in class org.opentrafficsim.editor.decoration.validation.TrafficLightValidator
- validate(XsdTreeNode) - Method in interface org.opentrafficsim.editor.decoration.validation.ValueValidator
-
Returns message why a value is invalid, or
nullif 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.
- VALUE_COLUMN - Static variable in class org.opentrafficsim.editor.AttributesTableModel
-
Index of the value column.
- VALUE_COLUMN - Static variable in class org.opentrafficsim.editor.XsdTreeTableModel
-
Index of the Value column.
- valueChanged(ListSelectionEvent) - Method in class org.opentrafficsim.editor.listeners.AttributesListSelectionListener
- valueChanged(TreeSelectionEvent) - Method in class org.opentrafficsim.editor.listeners.XsdTreeListener
- 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.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.opentrafficsim.editor.DocumentReader.NodeAnnotation
-
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.
- valueOptionsPopup(List<String>, JTable, Consumer<String>) - Method in class org.opentrafficsim.editor.OtsEditor
-
Places a popup with value options under the cell that is being clicked in a table (tree or attributes).
- 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.decoration.validation.RoadLayoutElementValidator.RoadLayoutElementAttribute
-
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.DocumentReader.NodeAnnotation
-
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
nullis considered 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_INCLUDEto use for xi:include nodes in anXsdTreeNode. - 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.
- 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.
- 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) - Constructor for record class org.opentrafficsim.editor.XsdOption
-
Creates an instance of a
XsdOptionrecord class. - XsdPaths - Class in org.opentrafficsim.editor
-
Class where static fields define paths in the XML.
- 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.
- XsdTreeEditorListener - Class in org.opentrafficsim.editor.listeners
-
Listener to tree editors.
- XsdTreeEditorListener(OtsEditor, JTreeTable) - Constructor for class org.opentrafficsim.editor.listeners.XsdTreeEditorListener
-
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.
- XsdTreeListener - Class in org.opentrafficsim.editor.listeners
-
Listener to the tree table or its underlying tree.
- XsdTreeListener(OtsEditor, JTreeTable, JTable) - Constructor for class org.opentrafficsim.editor.listeners.XsdTreeListener
-
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. - XsdTreeNodeRoot - Class in org.opentrafficsim.editor
-
Extends
XsdTreeNodewith 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
XsdTreeNodeat manageable size. - XsdTreeTableModel - Class in org.opentrafficsim.editor
-
Defines the columns in the
JTreeTable. - XsdTreeTableModel(Document) - Constructor for class org.opentrafficsim.editor.XsdTreeTableModel
-
Constructor.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form