Package org.vaadin.firitin.layouts
Enum BorderLayout.Region
- java.lang.Object
-
- java.lang.Enum<BorderLayout.Region>
-
- org.vaadin.firitin.layouts.BorderLayout.Region
-
- All Implemented Interfaces:
Serializable,Comparable<BorderLayout.Region>
- Enclosing class:
- BorderLayout
public static enum BorderLayout.Region extends Enum<BorderLayout.Region>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BorderLayout.RegionvalueOf(String name)Returns the enum constant of this type with the specified name.static BorderLayout.Region[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORTH
public static final BorderLayout.Region NORTH
-
SOUTH
public static final BorderLayout.Region SOUTH
-
EAST
public static final BorderLayout.Region EAST
-
WEST
public static final BorderLayout.Region WEST
-
CENTER
public static final BorderLayout.Region CENTER
-
-
Method Detail
-
values
public static BorderLayout.Region[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BorderLayout.Region c : BorderLayout.Region.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BorderLayout.Region valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-