Class TablePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TablePanel extends JPanel
Basic table panel with some customization over standard JTable.
Author:
Eric Tatara TODO filtering
See Also:
  • Field Details

  • Constructor Details

    • TablePanel

      public TablePanel()
    • TablePanel

      public TablePanel(TableModel model, String tableName)
  • Method Details

    • addToolBar

      public void addToolBar(JToolBar toolbar)
    • getToolBar

      public JToolBar getToolBar()
    • insertRowLabels

      public void insertRowLabels()
      Adds numbered row labels. Should be called after table is populated. TODO add a listener that updates for row add / remove events.
    • getTable

      public JTable getTable()
    • autoResizeColumnWidth

      public void autoResizeColumnWidth()
      Automatically resizes column widths to fit header and contents
    • clearRowFilters

      public void clearRowFilters()
    • addRowFilter

      protected void addRowFilter(RowFilter<Object,Object> filter)
    • setRowFilters

      protected void setRowFilters(Set<RowFilter<Object,Object>> filterList)
    • getRowFilterList

      public Set<RowFilter<Object,Object>> getRowFilterList()