Class FileTable

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class FileTable extends JTable
See Also:
  • Constructor Details

  • Method Details

    • addAutoResizeColumn

      public boolean addAutoResizeColumn(int column, boolean keepSize)
      Selects column to be autoresized
      Parameters:
      column - column index, should be <= 0 and > getColumnCount()
      keepSize - shows if it is needed to keep width of column when the model is changed true: width of the column will be the same or greater at model change false: width will always equal the longest name
      Returns:
      false in case this column is already autoresizing, true if column was added
    • removeAutoResizeColumn

      public boolean removeAutoResizeColumn(int column)
      Selects column not to be autoresized
      Parameters:
      column - column index
      Returns:
      true in case column was set not to be autoresized, false in case column wasn't autoresized