|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.split.AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>
bibliothek.gui.dock.station.split.SplitPlaceholderConverter
public class SplitPlaceholderConverter
Supporting class for SplitDockStation, provides the implementation of SplitDockStation.getPlaceholders()
and SplitDockStation.setPlaceholders(PlaceholderMap)
| Constructor Summary | |
|---|---|
SplitPlaceholderConverter(SplitDockStation station)
Creates a new converter |
|
| Method Summary | |
|---|---|
protected SplitDockTree<Dockable> |
createTree()
Creates a new SplitDockTree which will be used for AbstractSplitPlaceholderConverter.dropTree(Object, SplitDockTree). |
protected void |
dropTree(SplitDockStation station,
SplitDockTree<Dockable> tree)
Updates station such that its layout looks as described by tree. |
protected double |
getDivider(SplitNode node)
Gets the divider location of the intermediate node node. |
protected Dockable |
getDockable(SplitNode leaf)
Gets the dockable of the leaf node leaf. |
protected long |
getId(SplitNode node)
Gets the unique identifier that was assigned to node. |
protected SplitNode |
getLeftChild(SplitNode node)
Gets the left child of the intermediate node node. |
protected SplitDockStation.Orientation |
getOrientation(SplitNode node)
Gets the orientation of the intermediate node node. |
protected Path |
getPlaceholderFor(Dockable dockable)
Gets a placeholder that is to be used for dockable. |
protected PlaceholderMap |
getPlaceholderMap(SplitNode node)
Gets the PlaceholderMap which is associated with node. |
protected Path[] |
getPlaceholders(SplitNode node)
Gets all placeholders that are associated with node. |
protected PlaceholderStrategy |
getPlaceholderStrategy(SplitDockStation station)
Gets the PlaceholderStrategy that is used by station to filter
its children. |
protected SplitNode |
getRightChild(SplitNode node)
Gets the right child of the intermediate node node. |
protected SplitNode |
getRoot(SplitDockStation station)
Gets the root node of the tree that describes the layout of station. |
protected SplitNode |
getRootChild(SplitNode root)
Gets the child of the root node root. |
protected boolean |
isLeaf(SplitNode node)
Tells whether node is a leaf node. |
protected boolean |
isNode(SplitNode node)
Tells whether node is an intermediate node. |
protected boolean |
isPlaceholder(SplitNode node)
Tells whether node is a placeholder node. |
protected boolean |
isRoot(SplitNode node)
Tells whether node is a root node. |
| Methods inherited from class bibliothek.gui.dock.station.split.AbstractSplitPlaceholderConverter |
|---|
getPlaceholders, getStation, setPlaceholders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitPlaceholderConverter(SplitDockStation station)
station - the station for which the converter will be used| Method Detail |
|---|
protected SplitNode getRoot(SplitDockStation station)
AbstractSplitPlaceholderConverterstation.
getRoot in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>station - the station whose root node is searched
protected PlaceholderStrategy getPlaceholderStrategy(SplitDockStation station)
AbstractSplitPlaceholderConverterPlaceholderStrategy that is used by station to filter
its children.
getPlaceholderStrategy in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>station - the station whose PlaceholderStrategy is searched
protected SplitDockTree<Dockable> createTree()
AbstractSplitPlaceholderConverterSplitDockTree which will be used for AbstractSplitPlaceholderConverter.dropTree(Object, SplitDockTree).
createTree in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>null
protected void dropTree(SplitDockStation station,
SplitDockTree<Dockable> tree)
AbstractSplitPlaceholderConverterstation such that its layout looks as described by tree.
dropTree in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>station - the station whose layout gets updatedtree - the new layoutprotected boolean isLeaf(SplitNode node)
AbstractSplitPlaceholderConverternode is a leaf node.
isLeaf in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node to check
true if node is a leaf nodeprotected boolean isNode(SplitNode node)
AbstractSplitPlaceholderConverternode is an intermediate node.
isNode in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node to check
true if node is an intermediate nodeprotected boolean isPlaceholder(SplitNode node)
AbstractSplitPlaceholderConverternode is a placeholder node.
isPlaceholder in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node to check
true if node is a placeholder nodeprotected boolean isRoot(SplitNode node)
AbstractSplitPlaceholderConverternode is a root node.
isRoot in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node to check
true if node is a root nodeprotected Path[] getPlaceholders(SplitNode node)
AbstractSplitPlaceholderConverternode.
getPlaceholders in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node whose placeholders are searched
protected PlaceholderMap getPlaceholderMap(SplitNode node)
AbstractSplitPlaceholderConverterPlaceholderMap which is associated with node.
getPlaceholderMap in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - the node whose PlaceholderMap is searched
nullprotected long getId(SplitNode node)
AbstractSplitPlaceholderConverternode.
getId in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - some node whose id is searched
protected double getDivider(SplitNode node)
AbstractSplitPlaceholderConverterintermediate node node.
getDivider in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - an intermediate node
nodeprotected SplitDockStation.Orientation getOrientation(SplitNode node)
AbstractSplitPlaceholderConverterintermediate node node.
getOrientation in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - an intermediate node
nodeprotected Dockable getDockable(SplitNode leaf)
AbstractSplitPlaceholderConverterleaf node leaf.
getDockable in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>leaf - a leaf node
leafprotected SplitNode getLeftChild(SplitNode node)
AbstractSplitPlaceholderConverterintermediate node node.
getLeftChild in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - an intermediate node
nodeprotected SplitNode getRightChild(SplitNode node)
AbstractSplitPlaceholderConverterintermediate node node.
getRightChild in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>node - an intermediate node
nodeprotected SplitNode getRootChild(SplitNode root)
AbstractSplitPlaceholderConverterroot node root.
getRootChild in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>root - a root node
rootprotected Path getPlaceholderFor(Dockable dockable)
AbstractSplitPlaceholderConverterdockable.
getPlaceholderFor in class AbstractSplitPlaceholderConverter<SplitDockStation,SplitNode,Dockable>dockable - some item whose placeholder is searched
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||