Class BlockingStationsPanel.StationTable

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

protected class BlockingStationsPanel.StationTable extends JTable
Table used to show stations inside a region
Author:
Bertoli Marco Date: 10-mag-2006 Time: 16.53.41
See Also:
  • Constructor Details

    • StationTable

      public StationTable()
      Builds a new Blocking region Station Table
  • Method Details

    • getCellEditor

      public TableCellEditor getCellEditor(int row, int column)
      Returns an appropriate editor for the cell specified by row and column. If the TableColumn for this column has a non-null editor, returns that. If not, finds the class of the data in this column (using getColumnClass) and returns the default editor for this type of data.

      Note: Throughout the table package, the internal implementations always use this method to provide editors so that this default behavior can be safely overridden by a subclass.

      Overrides:
      getCellEditor in class JTable
      Parameters:
      row - the row of the cell to edit, where 0 is the first row
      column - the column of the cell to edit, where 0 is the first column
      Returns:
      the editor for this cell; if null return the default editor for this type of cell
      See Also:
    • getCellRenderer

      public TableCellRenderer getCellRenderer(int row, int column)
      Returns an appropriate renderer for the cell specified by this row and column. If the TableColumn for this column has a non-null renderer, returns that. If not, finds the class of the data in this column (using getColumnClass) and returns the default renderer for this type of data.

      Note: Throughout the table package, the internal implementations always use this method to provide renderers so that this default behavior can be safely overridden by a subclass.

      Overrides:
      getCellRenderer in class JTable
      Parameters:
      row - the row of the cell to render, where 0 is the first row
      column - the column of the cell to render, where 0 is the first column
      Returns:
      the assigned renderer; if null returns the default renderer for this type of object
      See Also: