public class ToolbarGroupDockStationLayout
extends java.lang.Object
ToolbarGroupDockStation
.Constructor and Description |
---|
ToolbarGroupDockStationLayout(bibliothek.gui.dock.station.support.PlaceholderMap map,
ExpandedState state)
Creates a new layout object.
|
Modifier and Type | Method and Description |
---|---|
bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders()
Gets the encoded layout of a
ToolbarGroupDockStation . |
ExpandedState |
getState()
Tells whether the children are big or small.
|
static Orientation |
readOrientation(bibliothek.gui.dock.station.support.PlaceholderMap map)
Reads an
Orientation from map , this method assumes that the
orientation was written with writeOrientation(PlaceholderMap, Orientation) . |
static void |
writeOrientation(bibliothek.gui.dock.station.support.PlaceholderMap map,
Orientation orientation)
Stores
orientation in map . |
public ToolbarGroupDockStationLayout(bibliothek.gui.dock.station.support.PlaceholderMap map, ExpandedState state)
map
- the encoded layout of a ToolbarGroupDockStation
, not
null
state
- whether the children are big or smallpublic bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders()
ToolbarGroupDockStation
.public ExpandedState getState()
public static void writeOrientation(bibliothek.gui.dock.station.support.PlaceholderMap map, Orientation orientation)
orientation
in map
.map
- the map to modifyorientation
- the orientation to savereadOrientation(PlaceholderMap)
public static Orientation readOrientation(bibliothek.gui.dock.station.support.PlaceholderMap map)
Orientation
from map
, this method assumes that the
orientation was written with writeOrientation(PlaceholderMap, Orientation)
.map
- the map to read fromnull
if not foundwriteOrientation(PlaceholderMap, Orientation)