Package com.jogamp.graph.ui.layout
Enum GridLayout.Order
- java.lang.Object
-
- java.lang.Enum<GridLayout.Order>
-
- com.jogamp.graph.ui.layout.GridLayout.Order
-
- All Implemented Interfaces:
Serializable
,Comparable<GridLayout.Order>
- Enclosing class:
- GridLayout
public static enum GridLayout.Order extends Enum<GridLayout.Order>
Layout order forGroup.getShapes()
} after population.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN
COLUMN layout order ofGroup.getShapes()
} is left to right and top to bottom.ROW
ROW layout order ofGroup.getShapes()
} is top to bottom and left to right.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridLayout.Order
valueOf(String name)
Returns the enum constant of this type with the specified name.static GridLayout.Order[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLUMN
public static final GridLayout.Order COLUMN
COLUMN layout order ofGroup.getShapes()
} is left to right and top to bottom.
-
ROW
public static final GridLayout.Order ROW
ROW layout order ofGroup.getShapes()
} is top to bottom and left to right.
-
-
Method Detail
-
values
public static GridLayout.Order[] 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 (GridLayout.Order c : GridLayout.Order.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridLayout.Order 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
-
-