Class ShapeTableModel

All Implemented Interfaces:
Serializable, TableModel, RmaTableModelInterface

public class ShapeTableModel extends AbstractRmaTableModel
See Also:
  • Constructor Details

    • ShapeTableModel

      public ShapeTableModel(RmaJTable table)
  • Method Details

    • setGlyph

      public void setGlyph(AiShapeGlyph glyph)
    • clear

      public void clear()
    • rowSelected

      public void rowSelected(int row)
    • rowsSelected

      public void rowsSelected(int[] rows)
      Parameters:
      rows -
    • getShapeAt

      public AiShapeObject getShapeAt(int row)
    • addShapes

      public void addShapes(List shapes)
    • clearHighlights

      public void clearHighlights()
    • getColumnCount

      public int getColumnCount()
      Description copied from class: AbstractRmaTableModel
      Returns the number of columns represented by this model. The number of columns is determined by the number of column labels assigned to this table model. If the array of column labels is null, 0 columns are held.
      Specified by:
      getColumnCount in interface TableModel
      Overrides:
      getColumnCount in class AbstractRmaTableModel
    • getColumnName

      public String getColumnName(int columnIndex)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractRmaTableModel
    • fireQueryFieldsChanged

      public void fireQueryFieldsChanged()
    • getValueAt

      public Object getValueAt(int rowIndex, int columnIndex)
      Description copied from class: AbstractRmaTableModel
      Returns the value at a given row/column location. The default method returns null. Needs to be overrridden
      Specified by:
      getValueAt in interface TableModel
      Overrides:
      getValueAt in class AbstractRmaTableModel
      Parameters:
      rowIndex - the row to look for the value in.
      columnIndex - the column to look for the value in.
    • getRowCount

      public int getRowCount()
      Description copied from class: AbstractRmaTableModel
      Returns the number of row in the table model. The default method always returns 0, so this method must be overridden to return a row count other than 0.
      Specified by:
      getRowCount in interface TableModel
      Overrides:
      getRowCount in class AbstractRmaTableModel
      Returns:
      the row count.
    • getShapeHighlight

      public ShapeHighlight getShapeHighlight()