public static enum DockLayoutPanel.Direction extends Enum<DockLayoutPanel.Direction>
DockLayoutPanel.addEast(Widget, double)
et al to specify
the direction in which a child widget will be added.Enum Constant and Description |
---|
CENTER |
EAST |
LINE_END |
LINE_START |
NORTH |
SOUTH |
WEST |
Modifier and Type | Method and Description |
---|---|
static DockLayoutPanel.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockLayoutPanel.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockLayoutPanel.Direction NORTH
public static final DockLayoutPanel.Direction EAST
public static final DockLayoutPanel.Direction SOUTH
public static final DockLayoutPanel.Direction WEST
public static final DockLayoutPanel.Direction CENTER
public static final DockLayoutPanel.Direction LINE_START
public static final DockLayoutPanel.Direction LINE_END
public static DockLayoutPanel.Direction[] values()
for (DockLayoutPanel.Direction c : DockLayoutPanel.Direction.values()) System.out.println(c);
public static DockLayoutPanel.Direction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.