Package io.jmix.ui.app.bulk
Enum Class ColumnsMode
- All Implemented Interfaces:
Serializable
,Comparable<ColumnsMode>
,Constable
Defines the number of editor columns in bulk editor.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnsMode
fromColumnsCount
(int count) int
static ColumnsMode
Returns the enum constant of this class with the specified name.static ColumnsMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE_COLUMN
-
TWO_COLUMNS
-
-
Field Details
-
columnsCount
protected final int columnsCount
-
-
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
-
getColumnsCount
public int getColumnsCount() -
fromColumnsCount
- Parameters:
count
- number of columns- Returns:
- null if there is no enum value for the given count
-