public class ToolbarGroupDockStationLayout extends Object
ToolbarGroupDockStation.| Constructor and Description |
|---|
ToolbarGroupDockStationLayout(PlaceholderMap map,
ExpandedState state)
Creates a new layout object.
|
| Modifier and Type | Method and Description |
|---|---|
PlaceholderMap |
getPlaceholders()
Gets the encoded layout of a
ToolbarGroupDockStation. |
ExpandedState |
getState()
Tells whether the children are big or small.
|
static Orientation |
readOrientation(PlaceholderMap map)
Reads an
Orientation from map, this method assumes that the
orientation was written with writeOrientation(PlaceholderMap, Orientation). |
static void |
writeOrientation(PlaceholderMap map,
Orientation orientation)
Stores
orientation in map. |
public ToolbarGroupDockStationLayout(PlaceholderMap map, ExpandedState state)
map - the encoded layout of a ToolbarGroupDockStation, not
nullstate - whether the children are big or smallpublic PlaceholderMap getPlaceholders()
ToolbarGroupDockStation.public ExpandedState getState()
public static void writeOrientation(PlaceholderMap map, Orientation orientation)
orientation in map.map - the map to modifyorientation - the orientation to savereadOrientation(PlaceholderMap)public static Orientation readOrientation(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)Copyright © 2018. All rights reserved.