bibliothek.gui.dock.station.flap
Class RetroFlapDockStationLayout

java.lang.Object
  extended by bibliothek.gui.dock.station.flap.FlapDockStationLayout
      extended by bibliothek.gui.dock.station.flap.RetroFlapDockStationLayout

public class RetroFlapDockStationLayout
extends FlapDockStationLayout

A FlapDockStationLayout that stores data which was read from an older format.

Author:
Benjamin Sigg

Constructor Summary
RetroFlapDockStationLayout(int[] children, boolean[] holds, int[] sizes, boolean autoDirection, FlapDockStation.Direction direction)
          Creates a new layout
 
Method Summary
 int[] getChildren()
          Gets the order of the children.
 boolean[] getHolds()
          Tells the holding state of the children.
 int[] getSizes()
          Gets the sizes of the window
 
Methods inherited from class bibliothek.gui.dock.station.flap.FlapDockStationLayout
getDirection, getPlaceholders, isAutoDirection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetroFlapDockStationLayout

public RetroFlapDockStationLayout(int[] children,
                                  boolean[] holds,
                                  int[] sizes,
                                  boolean autoDirection,
                                  FlapDockStation.Direction direction)
Creates a new layout

Parameters:
children - the ids of the children of the station
holds - the holding state of the children
sizes - the sizes of the window
autoDirection - whether the direction of the window is chosen automatically
direction - the direction into which the window opens
Method Detail

getChildren

public int[] getChildren()
Gets the order of the children.

Returns:
the children

getHolds

public boolean[] getHolds()
Tells the holding state of the children.

Returns:
the states

getSizes

public int[] getSizes()
Gets the sizes of the window

Returns:
the size in pixel