bibliothek.gui.dock.wizard
Class WizardNodeMap.Cell

java.lang.Object
  extended by bibliothek.gui.dock.wizard.WizardNodeMap.Cell
Enclosing class:
WizardNodeMap

public class WizardNodeMap.Cell
extends Object

A cell is a single SplitNode, usually a Leaf, and a part of a WizardNodeMap.Column.

Author:
Benjamin Sigg

Method Summary
 int getGaps()
          Gets the number of gaps between the leafs of this cell
 int getIndex()
          Gets the index of this cell.
 Dimension getMinimumSize()
          Gets the minimum size of this cell, does not include any gaps
 bibliothek.gui.dock.station.split.SplitNode getNode()
          Gets the node which is represented by this WizardNodeMap.Cell.
 Dimension getPreferredSize()
          Gets the preferred size of this cell, does not include any gaps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNode

public bibliothek.gui.dock.station.split.SplitNode getNode()
Gets the node which is represented by this WizardNodeMap.Cell.

Returns:
the node of this cell

getIndex

public int getIndex()
Gets the index of this cell.

Returns:
the index

getPreferredSize

public Dimension getPreferredSize()
Gets the preferred size of this cell, does not include any gaps

Returns:
the preferred size ignoring gaps

getMinimumSize

public Dimension getMinimumSize()
Gets the minimum size of this cell, does not include any gaps

Returns:
the minimum size ignoring gaps

getGaps

public int getGaps()
Gets the number of gaps between the leafs of this cell

Returns:
the number of gaps