Package com.jogamp.graph.ui.layout
Enum Alignment.Bit
- java.lang.Object
-
- java.lang.Enum<Alignment.Bit>
-
- com.jogamp.graph.ui.layout.Alignment.Bit
-
- All Implemented Interfaces:
Serializable
,Comparable<Alignment.Bit>
- Enclosing class:
- Alignment
public static enum Alignment.Bit extends Enum<Alignment.Bit>
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Alignment.Bit
valueOf(String name)
Returns the enum constant of this type with the specified name.static Alignment.Bit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Left
public static final Alignment.Bit Left
Left alignment.
-
Right
public static final Alignment.Bit Right
Right alignment.
-
Bottom
public static final Alignment.Bit Bottom
Bottom alignment.
-
Top
public static final Alignment.Bit Top
Top alignment.
-
Center
public static final Alignment.Bit Center
Center alignment.
-
Fill
public static final Alignment.Bit Fill
Scale object to parent size, e.g. fillGridLayout
cell size.
-
-
Method Detail
-
values
public static Alignment.Bit[] 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 (Alignment.Bit c : Alignment.Bit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Alignment.Bit 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
-
-