bibliothek.gui.dock.wizard
Class CellDivider

java.lang.Object
  extended by bibliothek.gui.dock.wizard.CellDivider
All Implemented Interfaces:
bibliothek.gui.dock.station.split.Divideable

public class CellDivider
extends Object
implements bibliothek.gui.dock.station.split.Divideable

This divider marks the outer Dockable of one column as being resized.

Author:
Benjamin Sigg

Constructor Summary
CellDivider(WizardSplitDockStation station, bibliothek.gui.dock.station.split.Leaf leaf)
           
 
Method Summary
 double getDivider()
           
 double getDividerAt(int x, int y)
           
 Rectangle getDividerBounds(double divider, Rectangle bounds)
           
 bibliothek.gui.dock.station.split.Leaf getLeaf()
           
 bibliothek.gui.dock.SplitDockStation.Orientation getOrientation()
           
 void setDivider(double dividier)
           
 double validateDivider(double divider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellDivider

public CellDivider(WizardSplitDockStation station,
                   bibliothek.gui.dock.station.split.Leaf leaf)
Method Detail

getLeaf

public bibliothek.gui.dock.station.split.Leaf getLeaf()

getDividerAt

public double getDividerAt(int x,
                           int y)
Specified by:
getDividerAt in interface bibliothek.gui.dock.station.split.Divideable

getDividerBounds

public Rectangle getDividerBounds(double divider,
                                  Rectangle bounds)
Specified by:
getDividerBounds in interface bibliothek.gui.dock.station.split.Divideable

getOrientation

public bibliothek.gui.dock.SplitDockStation.Orientation getOrientation()
Specified by:
getOrientation in interface bibliothek.gui.dock.station.split.Divideable

getDivider

public double getDivider()
Specified by:
getDivider in interface bibliothek.gui.dock.station.split.Divideable

setDivider

public void setDivider(double dividier)
Specified by:
setDivider in interface bibliothek.gui.dock.station.split.Divideable

validateDivider

public double validateDivider(double divider)
Specified by:
validateDivider in interface bibliothek.gui.dock.station.split.Divideable