- All Implemented Interfaces:
Serializable
,Comparable<ColumnsLayoutMode>
,Constable
Enumerator to specify the layout modes for columns in
VFXTable
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn this mode, all columns will have the same width specified byVFXTable.columnsSizeProperty()
.In this mode, columns are allowed to have different widths. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnsLayoutMode
next
(ColumnsLayoutMode mode) static ColumnsLayoutMode
Returns the enum constant of this class with the specified name.static ColumnsLayoutMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIXED
In this mode, all columns will have the same width specified byVFXTable.columnsSizeProperty()
. -
VARIABLE
In this mode, columns are allowed to have different widths. This enables features like: columns auto-sizing (VFXTableHelper.VariableTableHelper.autosizeColumn(VFXTableColumn)
), or resizing at runtime through gestures.A downside of such mode is that basically, virtualization along the x-axis is disabled. Which means that all columns will be added to the viewport. Internal optimizations should make this issue less impactful on performance.
-
-
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
-
next
-