java.lang.Object
org.praxislive.project.GraphElement
org.praxislive.project.GraphElement.Component
- Direct Known Subclasses:
GraphElement.Root
- Enclosing class:
GraphElement
A component element. A component has a type, and may have associated
comments, properties, children and/or connections.
To create a Component element, see GraphBuilder.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.praxislive.project.GraphElement
GraphElement.Command, GraphElement.Comment, GraphElement.Component, GraphElement.Connection, GraphElement.Property, GraphElement.Root -
Method Summary
Modifier and TypeMethodDescriptionchildren()Immutable ordered map of child component elements by ID.comments()Immutable list of comment elements.Immutable ordered set of connection elements.booleaninthashCode()Immutable ordered map of property elements by ID.toString()type()Component type.Methods inherited from class org.praxislive.project.GraphElement
command, comment, connection, property
-
Method Details
-
type
Component type.- Returns:
- type
-
comments
Immutable list of comment elements.- Returns:
- comments
-
properties
Immutable ordered map of property elements by ID.- Returns:
- properties
-
children
Immutable ordered map of child component elements by ID.- Returns:
- children
-
connections
Immutable ordered set of connection elements.- Returns:
- connections
-
hashCode
public int hashCode() -
equals
-
toString
-