N
- the type of child node this node returnspublic interface OutlineNode<N extends OutlineNode<N>> extends PropertiesProvider
Instruction
s. While OutlineNode
s can form independent
subtrees, they are intended to be part of an Outline Tree which is represented by an instance of
Outline
. The latter also serves as the tree's root node. An OutlineNode
can be
part of at most one Outline
.
Refer to Outline
's class documentation for further information and a general overview of
the concept.
MutableOutlineNode
Modifier and Type | Method and Description |
---|---|
List<N> |
getChildren()
Returns this node's direct children.
|
String |
getDescription()
Get the human-readable description of this node.
|
InstructionChain |
getInstructionChain()
Get the
Instruction s to be executed for this node. |
Outline<N> |
getOutline()
Return the
Outline to which this node belongs. |
N |
getParent()
Return the parent
OutlineNode or null , if this node is the root of a
subtree or the root of an Outline Tree (see Outline ). |
Map<String,Object> |
getProperties()
Return a map of user properties.
|
List<N> getChildren()
InstructionChain getInstructionChain()
Instruction
s to be executed for this node.InstructionChain
which will always be non-null
.String getDescription()
null
.N getParent()
OutlineNode
or null
, if this node is the root of a
subtree or the root of an Outline Tree (see Outline
).null
if this node is the root node.Outline<N> getOutline()
Outline
to which this node belongs.Outline
Map<String,Object> getProperties()
OutlineNode
's presentation or in other ways further augment its data.
There are no guarantees regarding the thread-safety or mutability of the returned map, unless otherwise specified by implementors.
getProperties
in interface PropertiesProvider
Copyright © 2024 levigo holding gmbh. All rights reserved.