public static enum Table.RowHeaderMode extends Enum<Table.RowHeaderMode>
Enum Constant and Description |
---|
EXPLICIT
Row caption mode: Item captions are explicitly specified.
|
EXPLICIT_DEFAULTS_ID
Row caption mode: Item captions are explicitly specified, but if the
caption is missing, the item id objects
toString() is
used instead. |
HIDDEN
Row caption mode: The row headers are hidden.
|
ICON_ONLY
Row caption mode: Only icons are shown, the captions are hidden.
|
ID
Row caption mode: Items Id-objects toString is used as row caption.
|
INDEX
Row caption mode: Index of the item is used as item caption.
|
ITEM
Row caption mode: Item-objects toString is used as row caption.
|
PROPERTY
Row caption mode: Item captions are read from property specified with
AbstractSelect.setItemCaptionPropertyId(Object) . |
Modifier and Type | Method and Description |
---|---|
AbstractSelect.ItemCaptionMode |
getItemCaptionMode() |
static Table.RowHeaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Table.RowHeaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.RowHeaderMode HIDDEN
public static final Table.RowHeaderMode ID
public static final Table.RowHeaderMode ITEM
public static final Table.RowHeaderMode INDEX
Container.Indexed
interface.public static final Table.RowHeaderMode EXPLICIT_DEFAULTS_ID
toString()
is
used instead.public static final Table.RowHeaderMode EXPLICIT
public static final Table.RowHeaderMode ICON_ONLY
public static final Table.RowHeaderMode PROPERTY
AbstractSelect.setItemCaptionPropertyId(Object)
.public static Table.RowHeaderMode[] values()
for (Table.RowHeaderMode c : Table.RowHeaderMode.values()) System.out.println(c);
public static Table.RowHeaderMode 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 nullpublic AbstractSelect.ItemCaptionMode getItemCaptionMode()
Copyright © 2019 Vaadin Ltd. All rights reserved.