public class DefaultSplitNodeFactory extends java.lang.Object implements SplitNodeFactory
SplitNodeFactory
creates the standard SplitNode
s.Constructor and Description |
---|
DefaultSplitNodeFactory() |
Modifier and Type | Method and Description |
---|---|
Leaf |
createLeaf(SplitDockAccess access,
long id)
Creates a new leaf.
|
Node |
createNode(SplitDockAccess access,
long id)
Creates a new node.
|
Placeholder |
createPlaceholder(SplitDockAccess access,
long id)
Creates a new placeholder.
|
Root |
createRoot(SplitDockAccess access,
long id)
Creates a new root.
|
public Leaf createLeaf(SplitDockAccess access, long id)
SplitNodeFactory
createLeaf
in interface SplitNodeFactory
access
- the access to the private functions of the owning SplitDockStation
id
- the unique id of this leafnull
public Node createNode(SplitDockAccess access, long id)
SplitNodeFactory
createNode
in interface SplitNodeFactory
access
- the access to the private functions of the owning SplitDockStation
id
- the unique id of this nodenull
public Placeholder createPlaceholder(SplitDockAccess access, long id)
SplitNodeFactory
createPlaceholder
in interface SplitNodeFactory
access
- the access to the private functions of the owning SplitDockStation
id
- the unique id of this placeholdernull
public Root createRoot(SplitDockAccess access, long id)
SplitNodeFactory
createRoot
in interface SplitNodeFactory
access
- the access to the private functions of the owning SplitDockStation
id
- the unique id of this rootnull