public enum Offset extends java.lang.Enum<Offset>
GridLayout. This
uses a concept similar to the Bootstrap layout common on the web, where a node can be offset between zero and eleven
columns.GridLayout,
GridRow,
GridSpan,
Span| Enum Constant | Description |
|---|---|
OFFSET_0 |
Offset zero columns.
|
OFFSET_1 |
Offset one column.
|
OFFSET_10 |
Offset ten columns.
|
OFFSET_11 |
Offset eleven columns.
|
OFFSET_2 |
Offset two columns.
|
OFFSET_3 |
Offset three columns.
|
OFFSET_4 |
Offset four columns.
|
OFFSET_5 |
Offset five columns.
|
OFFSET_6 |
Offset six columns.
|
OFFSET_7 |
Offset seven columns.
|
OFFSET_8 |
Offset eight columns.
|
OFFSET_9 |
Offset nine columns.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getOffset() |
Returns the offset as an integer value between zero and eleven.
|
static Offset |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Offset[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Offset OFFSET_0
public static final Offset OFFSET_1
public static final Offset OFFSET_2
public static final Offset OFFSET_3
public static final Offset OFFSET_4
public static final Offset OFFSET_5
public static final Offset OFFSET_6
public static final Offset OFFSET_7
public static final Offset OFFSET_8
public static final Offset OFFSET_9
public static final Offset OFFSET_10
public static final Offset OFFSET_11
public static Offset[] values()
for (Offset c : Offset.values()) System.out.println(c);
public static Offset 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 final int getOffset()