Enum Class ColumnVisibleType
- All Implemented Interfaces:
Serializable
,Comparable<ColumnVisibleType>
,Constable
- Since:
- 1,0
- Author:
- JBStrap
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnVisibleType
Determines the visibility type, by the specified name.getName()
Gets the name of the visibility typestatic ColumnVisibleType
Returns the enum constant of this class with the specified name.static ColumnVisibleType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDDEN
Hidden column
Columns marked as hidden won't appear on the list or on the editable interface. The user won't be able to place hidden columns to the list interface.
-
ONLY_LIST
Columns that only display on lists.
Columns marked like this will only be displayed on lists by default, but not on the editors. The user will be able to remove them from the list, and later display it again.
-
LIST
Columns that display on lists.
Columns marked like this will only be displayed on lists by default, but not on the editors. The user will be able to remove them from the list, and later display it again.
-
HIDE_LIST
Column that is hidden on the list
Columns marked like this, by default won't appear on lists, but they will appear on the editor. The user can place these columns on lists if need be.
-
ONLY_EDITOR
Column that is only displayed on the editor
Columns marked like this, won't be displayed on the lists, but will appear on the editor. The user can't display these columns on lists.
-
VISIBLE
Visible column
Columns marked as visible will be visible on both the lists and editors. The user can hide these, and display them later again if need be.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Gets the name of the visibility type- Returns:
- The name of the visibility type
-
fromName
Determines the visibility type, by the specified name.- Parameters:
name
- The name of the visibility type- Returns:
- The visibility type or
null
, if not found
-