bibliothek.gui.dock.wizard
Class PersistentCell

java.lang.Object
  extended by bibliothek.gui.dock.wizard.PersistentCell

@FrameworkOnly
public class PersistentCell
extends Object

A cell in the grid of a WizardSplitDockStation, the cell offers information about its current and its preferred size.

Author:
Benjamin Sigg

Constructor Summary
PersistentCell(int size, int preferred)
           
 
Method Summary
 int getPreferredSize()
           
 int getSize()
           
 void setSize(int size)
          Changes the size of this cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentCell

public PersistentCell(int size,
                      int preferred)
Method Detail

setSize

public void setSize(int size)
Changes the size of this cell.

Parameters:
size - the new size of this cell

getSize

public int getSize()

getPreferredSize

public int getPreferredSize()