class DefaultMutableNode[I] extends MutableNodeLike[I, DefaultMutableNode[I]] with MutableNode[I, DefaultMutableNode[I]]
Default implementation of a mutable node of a graph.
Thread Safety
This is class is thread-safe.
- Source
- DefaultMutableNode.scala
- Alphabetic
- By Inheritance
- DefaultMutableNode
- MutableNodeLike
- MutableNode
- Node
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultMutableNode(identifier: I, identifierToString: (I) => String, fillcolor: Option[String])
- new DefaultMutableNode(theIdentifier: I, identifierToString: (I) => String = (_: Any).toString, theVisualProperties: Map[String, String] = immutable.Map.empty, theChildren: List[DefaultMutableNode[I]] = List.empty)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addChild(node: DefaultMutableNode[I]): Unit
- Definition Classes
- MutableNodeLike → MutableNode
- def addChildren(furtherChildren: List[DefaultMutableNode[I]]): Unit
- Definition Classes
- MutableNodeLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def children: List[DefaultMutableNode[I]]
- Definition Classes
- MutableNodeLike → MutableNode
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Node → AnyRef → Any
- def firstChild: DefaultMutableNode[I]
- Definition Classes
- MutableNodeLike → MutableNode
- def foreachSuccessor(f: (Node) => Unit): Unit
Applies the given function for each successor node.
Applies the given function for each successor node.
- Definition Classes
- MutableNodeLike → Node
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOneChild: Boolean
- Definition Classes
- MutableNodeLike → MutableNode
- def hasSuccessors: Boolean
Returns
true
if this node has successor nodes.Returns
true
if this node has successor nodes.- Definition Classes
- MutableNodeLike → Node
- def hashCode(): Int
The hash code of this node.
The hash code of this node. By default the hash code is the unique id.
- Definition Classes
- Node → AnyRef → Any
- def identifier: I
- Definition Classes
- MutableNodeLike → MutableNode
- val identifierToString: (I) => String
- Definition Classes
- MutableNodeLike → MutableNode
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeVisualProperties(other: Map[String, String]): Unit
- Definition Classes
- MutableNodeLike → MutableNode
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeId: Int
An identifier that uniquely identifies this node in the graph to which this node belongs.
An identifier that uniquely identifies this node in the graph to which this node belongs. By default two nodes are considered equal if they have the same unique id.
- Definition Classes
- MutableNodeLike → Node
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def removeChild(node: DefaultMutableNode[I]): Unit
- Definition Classes
- MutableNodeLike → MutableNode
- def removeLastAddedChild(): Unit
- Definition Classes
- MutableNodeLike → MutableNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toHRR: Option[String]
Returns a human readable representation (HRR) of this node.
Returns a human readable representation (HRR) of this node.
- Definition Classes
- MutableNodeLike → Node
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateIdentifier(newIdentifier: I): Unit
- Definition Classes
- MutableNodeLike → MutableNode
- def visualProperties: Map[String, String]
- Definition Classes
- MutableNodeLike → Node
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated