public enum Span extends java.lang.Enum<Span>
GridLayout should span. This
uses a concept similar to the Bootstrap layout common on the web, where a node can span between one and twelve
columns.GridLayout,
GridRow,
GridSpan,
Offset| Enum Constant | Description |
|---|---|
SPAN_1 |
Span one column.
|
SPAN_10 |
Span ten columns.
|
SPAN_11 |
Span eleven columns.
|
SPAN_12 |
Span twelve columns.
|
SPAN_2 |
Span two columns.
|
SPAN_3 |
Span three columns.
|
SPAN_4 |
Span four columns.
|
SPAN_5 |
Span five columns.
|
SPAN_6 |
Span six columns.
|
SPAN_7 |
Span seven columns.
|
SPAN_8 |
Span eight columns.
|
SPAN_9 |
Span nine columns.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getSpan() |
Returns the span as an integer value between one and twelve.
|
static Span |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Span[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Span SPAN_1
public static final Span SPAN_2
public static final Span SPAN_3
public static final Span SPAN_4
public static final Span SPAN_5
public static final Span SPAN_6
public static final Span SPAN_7
public static final Span SPAN_8
public static final Span SPAN_9
public static final Span SPAN_10
public static final Span SPAN_11
public static final Span SPAN_12
public static Span[] values()
for (Span c : Span.values()) System.out.println(c);
public static Span 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 getSpan()