Class AspectTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
org.bidib.wizard.mvc.stepcontrol.view.AspectTableModel
All Implemented Interfaces:
com.jidesoft.grid.HeaderStyleModel, com.jidesoft.grid.HierarchicalTableModel, com.jidesoft.grid.StyleModel, Serializable, TableModel

public class AspectTableModel extends AbstractTableModel implements com.jidesoft.grid.HierarchicalTableModel, com.jidesoft.grid.StyleModel, com.jidesoft.grid.HeaderStyleModel
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • removeAllRows

      public void removeAllRows()
    • getColumnName

      public String getColumnName(int column)
      Returns the column name.
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
      Returns:
      a name for this column using the string value of the appropriate member in columnIdentifiers. If columnIdentifiers does not have an entry for this index, returns the default name provided by the superclass.
    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface TableModel
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in interface TableModel
    • isCellEditable

      public boolean isCellEditable(int rowIndex, int columnIndex)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class AbstractTableModel
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
      Specified by:
      getValueAt in interface TableModel
    • getCellStyleAt

      public com.jidesoft.grid.CellStyle getCellStyleAt(int rowIndex, int columnIndex)
      Specified by:
      getCellStyleAt in interface com.jidesoft.grid.StyleModel
    • isCellStyleOn

      public boolean isCellStyleOn()
      Specified by:
      isCellStyleOn in interface com.jidesoft.grid.StyleModel
    • hasChild

      public boolean hasChild(int row)
      Specified by:
      hasChild in interface com.jidesoft.grid.HierarchicalTableModel
    • isHierarchical

      public boolean isHierarchical(int row)
      Specified by:
      isHierarchical in interface com.jidesoft.grid.HierarchicalTableModel
    • getChildValueAt

      public Object getChildValueAt(int row)
      Specified by:
      getChildValueAt in interface com.jidesoft.grid.HierarchicalTableModel
    • isExpandable

      public boolean isExpandable(int row)
      Specified by:
      isExpandable in interface com.jidesoft.grid.HierarchicalTableModel
    • getHeaderStyleAt

      public com.jidesoft.grid.CellStyle getHeaderStyleAt(int rowIndex, int columnIndex)
      Specified by:
      getHeaderStyleAt in interface com.jidesoft.grid.HeaderStyleModel
    • isHeaderStyleOn

      public boolean isHeaderStyleOn()
      Specified by:
      isHeaderStyleOn in interface com.jidesoft.grid.HeaderStyleModel
    • isCollapsed

      public boolean isCollapsed()
      Returns:
      the collapsed
    • setCollapsed

      public void setCollapsed(boolean collapsed)
      Parameters:
      collapsed - the collapsed to set