bibliothek.gui.dock.station.split
Interface SplitNodeFactory

All Known Implementing Classes:
DefaultSplitNodeFactory

@FrameworkOnly
public interface SplitNodeFactory

A SplitNodeFactory is responsible for creating the various SplitNodes that are used by a SplitDockStation.
This interface is not intended for clients to use or implement, it is purely an internal abstraction keeping an option for customized subclasses of SplitDockStation open.

Author:
Benjamin Sigg

Method Summary
 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.
 

Method Detail

createLeaf

Leaf createLeaf(SplitDockAccess access,
                long id)
Creates a new leaf.

Parameters:
access - the access to the private functions of the owning SplitDockStation
id - the unique id of this leaf
Returns:
the new leaf, must not be null

createNode

Node createNode(SplitDockAccess access,
                long id)
Creates a new node.

Parameters:
access - the access to the private functions of the owning SplitDockStation
id - the unique id of this node
Returns:
the new node, must not be null

createPlaceholder

Placeholder createPlaceholder(SplitDockAccess access,
                              long id)
Creates a new placeholder.

Parameters:
access - the access to the private functions of the owning SplitDockStation
id - the unique id of this placeholder
Returns:
the new placeholder, must not be null

createRoot

Root createRoot(SplitDockAccess access,
                long id)
Creates a new root.

Parameters:
access - the access to the private functions of the owning SplitDockStation
id - the unique id of this root
Returns:
the new root, must not be null