Enum UITableColumn.CollapseMode
- java.lang.Object
-
- java.lang.Enum<UITableColumn.CollapseMode>
-
- org.linkki.core.ui.table.column.annotation.UITableColumn.CollapseMode
-
- All Implemented Interfaces:
Serializable,Comparable<UITableColumn.CollapseMode>
- Enclosing class:
- UITableColumn
public static enum UITableColumn.CollapseMode extends Enum<UITableColumn.CollapseMode>
Defines whether a column can be collapsed and whether it initially is.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLAPSIBLEThe column is collapsible and is initially visible.INITIALLY_COLLAPSEDThe column is collapsible and is initially collapsed.NOT_COLLAPSIBLEThe column is always shown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCollapsible()booleanisInitiallyCollapsed()static UITableColumn.CollapseModevalueOf(String name)Returns the enum constant of this type with the specified name.static UITableColumn.CollapseMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_COLLAPSIBLE
public static final UITableColumn.CollapseMode NOT_COLLAPSIBLE
The column is always shown.
-
COLLAPSIBLE
public static final UITableColumn.CollapseMode COLLAPSIBLE
The column is collapsible and is initially visible.
-
INITIALLY_COLLAPSED
public static final UITableColumn.CollapseMode INITIALLY_COLLAPSED
The column is collapsible and is initially collapsed.
-
-
Method Detail
-
values
public static UITableColumn.CollapseMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UITableColumn.CollapseMode c : UITableColumn.CollapseMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UITableColumn.CollapseMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isCollapsible
public boolean isCollapsible()
-
isInitiallyCollapsed
public boolean isInitiallyCollapsed()
-
-