bibliothek.gui.dock.station.flap
Class FlapDockStationLayout

java.lang.Object
  extended by bibliothek.gui.dock.station.flap.FlapDockStationLayout
Direct Known Subclasses:
RetroFlapDockStationLayout

public class FlapDockStationLayout
extends Object

A layout describing the content of a FlapDockStation.

Author:
Benjamin Sigg

Constructor Summary
FlapDockStationLayout(boolean autoDirection, FlapDockStation.Direction direction, PlaceholderMap placeholders)
          Creates a new layout
 
Method Summary
 FlapDockStation.Direction getDirection()
          Gets the direction into which the window will open
 PlaceholderMap getPlaceholders()
          Gets all the items.
 boolean isAutoDirection()
          Tells whether the direction is chosen automatically or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlapDockStationLayout

public FlapDockStationLayout(boolean autoDirection,
                             FlapDockStation.Direction direction,
                             PlaceholderMap placeholders)
Creates a new layout

Parameters:
autoDirection - whether the direction of the window is chosen automatically
direction - the direction into which the window opens
placeholders - placeholders for all the items, contains also the encoded Dockables.
Method Detail

getDirection

public FlapDockStation.Direction getDirection()
Gets the direction into which the window will open

Returns:
the direction

isAutoDirection

public boolean isAutoDirection()
Tells whether the direction is chosen automatically or not.

Returns:
true if the direction is chosen automatically

getPlaceholders

public PlaceholderMap getPlaceholders()
Gets all the items.

Returns:
the location of all items and all placeholders