Enum Class ColumnsLayoutMode

java.lang.Object
java.lang.Enum<ColumnsLayoutMode>
io.github.palexdev.virtualizedfx.enums.ColumnsLayoutMode
All Implemented Interfaces:
Serializable, Comparable<ColumnsLayoutMode>, Constable

public enum ColumnsLayoutMode extends Enum<ColumnsLayoutMode>
Enumerator to specify the layout modes for columns in VFXTable.
  • Enum Constant Details

    • FIXED

      public static final ColumnsLayoutMode FIXED
      In this mode, all columns will have the same width specified by VFXTable.columnsSizeProperty().
    • VARIABLE

      public static final ColumnsLayoutMode 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

      public static ColumnsLayoutMode[] 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

      public static ColumnsLayoutMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • next

      public static ColumnsLayoutMode next(ColumnsLayoutMode mode)