Interface EntityTableModel.ColumnPreferences

  • Enclosing interface:
    EntityTableModel<E extends EntityEditModel>

    public static interface EntityTableModel.ColumnPreferences
    Represents preferences for an Attribute based table column.
    • Field Detail

      • PREFERENCES_COLUMNS

        static final String PREFERENCES_COLUMNS
        The name of the root element identifying column preferences
        See Also:
        Constant Field Values
      • PREFERENCES_COLUMN_WIDTH

        static final String PREFERENCES_COLUMN_WIDTH
        The key for the 'width' property
        See Also:
        Constant Field Values
      • PREFERENCES_COLUMN_INDEX

        static final String PREFERENCES_COLUMN_INDEX
        The key for the 'index' property
        See Also:
        Constant Field Values
    • Method Detail

      • attribute

        Attribute<?> attribute()
        Returns:
        the column attribute
      • index

        int index()
        Returns:
        the column index, -1 if not visible
      • isVisible

        boolean isVisible()
        Returns:
        true if this column is visible, false if hidden
      • width

        int width()
        Returns:
        the column width in pixels