Package swingtree

Enum Class UI.ListData

All Implemented Interfaces:
Serializable, Comparable<UI.ListData>, Constable, UIEnum<UI.ListData>
Enclosing class:
UI

@Immutable public static enum UI.ListData extends Enum<UI.ListData> implements UIEnum<UI.ListData>
Defines whether the list based data model of a JTable is row or column major and whether it is editable or not. See UIFactoryMethods.table(ListData, TableListDataSource) or UIForTable.withModel(ListData, TableListDataSource) for more information about the usage of this enum.
  • Enum Constant Details

    • COLUMN_MAJOR

      public static final UI.ListData COLUMN_MAJOR
    • ROW_MAJOR

      public static final UI.ListData ROW_MAJOR
    • COLUMN_MAJOR_EDITABLE

      public static final UI.ListData COLUMN_MAJOR_EDITABLE
    • ROW_MAJOR_EDITABLE

      public static final UI.ListData ROW_MAJOR_EDITABLE
  • Method Details

    • values

      public static UI.ListData[] 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 UI.ListData 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