DockLayoutConstant<int> class
DockPanel layout constant, used in {@link DockPanel#add(Widget, DockPanel.DockLayoutConstant)}.
class DockLayoutConstant<int> extends Enum<int> { const DockLayoutConstant(int type) : super (type); /** * Specifies that a widget be added at the center of the dock. */ static const DockLayoutConstant CENTER = const DockLayoutConstant(0); /** * Specifies that a widget be added at the beginning of the line direction * for the layout. */ static const DockLayoutConstant LINE_START = const DockLayoutConstant(1); /** * Specifies that a widget be added at the end of the line direction * for the layout. */ static const DockLayoutConstant LINE_END = const DockLayoutConstant(2); /** * Specifies that a widget be added at the east edge of the dock. */ static const DockLayoutConstant EAST = const DockLayoutConstant(3); /** * Specifies that a widget be added at the north edge of the dock. */ static const DockLayoutConstant NORTH = const DockLayoutConstant(4); /** * Specifies that a widget be added at the south edge of the dock. */ static const DockLayoutConstant SOUTH = const DockLayoutConstant(5); /** * Specifies that a widget be added at the west edge of the dock. */ static const DockLayoutConstant WEST = const DockLayoutConstant(6); }
Extends
Enum<int> > DockLayoutConstant<int>
Static Properties
const DockLayoutConstant CENTER #
Specifies that a widget be added at the center of the dock.
static const DockLayoutConstant CENTER = const DockLayoutConstant(0)
const DockLayoutConstant EAST #
Specifies that a widget be added at the east edge of the dock.
static const DockLayoutConstant EAST = const DockLayoutConstant(3)
const DockLayoutConstant LINE_END #
Specifies that a widget be added at the end of the line direction for the layout.
static const DockLayoutConstant LINE_END = const DockLayoutConstant(2)
const DockLayoutConstant LINE_START #
Specifies that a widget be added at the beginning of the line direction for the layout.
static const DockLayoutConstant LINE_START = const DockLayoutConstant(1)
const DockLayoutConstant NORTH #
Specifies that a widget be added at the north edge of the dock.
static const DockLayoutConstant NORTH = const DockLayoutConstant(4)
const DockLayoutConstant SOUTH #
Specifies that a widget be added at the south edge of the dock.
static const DockLayoutConstant SOUTH = const DockLayoutConstant(5)
const DockLayoutConstant WEST #
Specifies that a widget be added at the west edge of the dock.
static const DockLayoutConstant WEST = const DockLayoutConstant(6)