public enum CLayoutPosition extends java.lang.Enum<CLayoutPosition>
| Enum Constant and Description |
|---|
ABSOLUTE
Absolute positioning (positioned by explicit coordinates, typically removed from normal flow).
|
FIXED
Fixed positioning (fixed relative to page/viewport; behavior depends on native implementation).
|
RELATIVE
Relative positioning (offset relative to its normal position).
|
STATIC
Static positioning (default flow layout; not explicitly positioned).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the integer value of this enum.
|
static CLayoutPosition |
toEnum(int id)
Convert an integer id to
CLayoutPosition. |
static CLayoutPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CLayoutPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLayoutPosition STATIC
public static final CLayoutPosition RELATIVE
public static final CLayoutPosition ABSOLUTE
public static final CLayoutPosition FIXED
public static CLayoutPosition[] values()
for (CLayoutPosition c : CLayoutPosition.values()) System.out.println(c);
public static CLayoutPosition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CLayoutPosition toEnum(int id)
CLayoutPosition.
If the id is not recognized, STATIC is returned by default.id - Integer id.STATIC if unknown.public int getValue()