Module org.autogui

Class GuiSwingViewCollectionTable.PreferencesForTable

java.lang.Object
org.autogui.swing.GuiSwingViewCollectionTable.PreferencesForTable
All Implemented Interfaces:
GuiSwingPrefsSupports.Preferences, GuiSwingPrefsSupports.PreferencesByJsonEntry
Enclosing class:
GuiSwingViewCollectionTable

public static class GuiSwingViewCollectionTable.PreferencesForTable extends Object implements GuiSwingPrefsSupports.PreferencesByJsonEntry
  • Field Details

  • Constructor Details

    • PreferencesForTable

      public PreferencesForTable()
  • Method Details

    • getColumnOrder

      public List<Integer> getColumnOrder()
      Returns:
      the direct reference to the columnOrder list
      Since:
      1.7
    • getColumnWidth

      public List<Integer> getColumnWidth()
      Returns:
      the direct reference to the columnWidth list
      Since:
      1.7
    • getRowSort

      Returns:
      the direct reference to the rowSort list
      Since:
      1.7
    • getRowHeight

      public int getRowHeight()
      Returns:
      rowHeight
      Since:
      1.7
    • setRowHeight

      public void setRowHeight(int rowHeight)
      Parameters:
      rowHeight - a new rowHeight value
      Since:
      1.7
    • isRowCustom

      public boolean isRowCustom()
      Returns:
      the property value
      Since:
      1.7
    • setRowCustom

      public void setRowCustom(boolean rowCustom)
      Parameters:
      rowCustom - a new value
      Since:
      1.7
    • isRowFitToContent

      public boolean isRowFitToContent()
      Returns:
      the property value
      Since:
      1.7
    • setRowFitToContent

      public void setRowFitToContent(boolean rowFitToContent)
      Parameters:
      rowFitToContent - a new value
      Since:
      1.7
    • applyTo

      public void applyTo(JTable table)
    • applyColumnWidthTo

      public void applyColumnWidthTo(JTable table, TableColumnModel columnModel)
    • applyColumnOrderTo

      public void applyColumnOrderTo(JTable table, TableColumnModel columnModel)
    • applyRowSortTo

      public void applyRowSortTo(JTable table)
    • applyRowHeightTo

      public void applyRowHeightTo(JTable table)
      Parameters:
      table - the target table
      Since:
      1.3
    • setColumnOrderFrom

      public void setColumnOrderFrom(JTable table)
    • setColumnWidthFrom

      public void setColumnWidthFrom(JTable table)
    • setRowSortFrom

      public void setRowSortFrom(JTable table)
    • setRowHeightFrom

      public void setRowHeightFrom(JTable table)
      Parameters:
      table - the source table
      Since:
      1.3
    • getKey

      public String getKey()
      Specified by:
      getKey in interface GuiSwingPrefsSupports.PreferencesByJsonEntry
    • toJson

      public Map<String,Object> toJson()
      Specified by:
      toJson in interface GuiSwingPrefsSupports.PreferencesByJsonEntry
    • setJson

      public void setJson(Object json)
      Specified by:
      setJson in interface GuiSwingPrefsSupports.PreferencesByJsonEntry