public static enum Table.ColumnHeaderMode extends Enum<Table.ColumnHeaderMode>
Enum Constant and Description |
---|
EXPLICIT
Column headers are explicitly specified with
Table.setColumnHeaders(String[]) . |
EXPLICIT_DEFAULTS_ID
Column headers are explicitly specified with
Table.setColumnHeaders(String[]) . |
HIDDEN
Column headers are hidden.
|
ID
Property ID:s are used as column headers.
|
Modifier and Type | Method and Description |
---|---|
static Table.ColumnHeaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Table.ColumnHeaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.ColumnHeaderMode HIDDEN
public static final Table.ColumnHeaderMode ID
public static final Table.ColumnHeaderMode EXPLICIT
Table.setColumnHeaders(String[])
.public static final Table.ColumnHeaderMode EXPLICIT_DEFAULTS_ID
Table.setColumnHeaders(String[])
. If a header is not specified for
a given property, its property id is used instead.
This is the default behavior.
public static Table.ColumnHeaderMode[] values()
for (Table.ColumnHeaderMode c : Table.ColumnHeaderMode.values()) System.out.println(c);
public static Table.ColumnHeaderMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Vaadin Ltd. All rights reserved.