bibliothek.gui.dock.station.split
Class SpanSplitNode

java.lang.Object
  extended by bibliothek.gui.dock.station.split.SplitNode
      extended by bibliothek.gui.dock.station.split.VisibleSplitNode
          extended by bibliothek.gui.dock.station.split.SpanSplitNode
Direct Known Subclasses:
Leaf, Root

public abstract class SpanSplitNode
extends VisibleSplitNode

A SplitNode that also stores some Spans.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.station.split.SplitNode
height, width, x, y
 
Constructor Summary
protected SpanSplitNode(SplitDockAccess access, long id)
          Creates a new node.
 
Method Summary
 void createSpans()
          Creates or re-creates the Spans used by this Leaf.
 Span[] getSpans()
          Gets the Spans that are currently used by this Leaf.
abstract  void onSpanResize()
          Called if a Span of this node changed its size
 
Methods inherited from class bibliothek.gui.dock.station.split.VisibleSplitNode
getCurrentBounds, updateBounds
 
Methods inherited from class bibliothek.gui.dock.station.split.SplitNode
above, addPlaceholder, create, create, createLeaf, createNode, createPlaceholder, delete, ensureIdUnique, ensureIdUniqueAsync, evolve, getAccess, getBounds, getChild, getChildLocation, getDividerNode, getHeight, getId, getLeaf, getMaxChildrenCount, getMinimumSize, getParent, getPlaceholderMap, getPlaceholderNode, getPlaceholders, getPreferredSize, getPut, getRoot, getSize, getStation, getTotalChildrenCount, getVisible, getWidth, getX, getY, hasPlaceholder, hasPlaceholders, insert, insert, intersection, isInOverrideZone, isOfUse, isVisible, movePlaceholderMap, relativeSidePut, removePlaceholder, removePlaceholders, replace, setBounds, setChild, setParent, setPlaceholderMap, setPlaceholders, submit, toString, toString, treeChanged, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpanSplitNode

protected SpanSplitNode(SplitDockAccess access,
                        long id)
Creates a new node.

Parameters:
access - access ot the SplitDockStation
id - a unique identifier for this node
Method Detail

createSpans

@FrameworkOnly
public void createSpans()
Creates or re-creates the Spans used by this Leaf. This method should not be called by clients.


getSpans

@FrameworkOnly
public Span[] getSpans()
Gets the Spans that are currently used by this Leaf. This method should not be called by clients.

Returns:
the spans, can be null

onSpanResize

@FrameworkOnly
public abstract void onSpanResize()
Called if a Span of this node changed its size