Class StyleMapTableModel

java.lang.Object
javax.swing.table.AbstractTableModel
org.apache.uima.tools.stylemap.StyleMapTableModel
All Implemented Interfaces:
Serializable, TableModel

public class StyleMapTableModel extends AbstractTableModel
The Class StyleMapTableModel.
See Also:
  • Method Details

    • getColumnCount

      public int getColumnCount()
    • getRowCount

      public int getRowCount()
    • getColumnName

      public String getColumnName(int col)
      Specified by:
      getColumnName in interface TableModel
      Overrides:
      getColumnName in class AbstractTableModel
    • getValueAt

      public Object getValueAt(int row, int col)
    • getColumnClass

      public Class getColumnClass(int c)
      Specified by:
      getColumnClass in interface TableModel
      Overrides:
      getColumnClass in class AbstractTableModel
    • isCellEditable

      public boolean isCellEditable(int row, int col)
      Specified by:
      isCellEditable in interface TableModel
      Overrides:
      isCellEditable in class AbstractTableModel
    • setValueAt

      public void setValueAt(Object value, int row, int col)
      Specified by:
      setValueAt in interface TableModel
      Overrides:
      setValueAt in class AbstractTableModel
    • set

      public void set(Object[][] data)
      Sets the.
      Parameters:
      data - the data
    • removeRow

      public void removeRow(int row)
      Removes the row.
      Parameters:
      row - the row
    • addRow

      public void addRow(Vector rowVector)
      Adds the row.
      Parameters:
      rowVector - the row vector
    • moveRowUp

      public void moveRowUp(int row)
      Move row up.
      Parameters:
      row - the row
    • moveRowDown

      public void moveRowDown(int row)
      Move row down.
      Parameters:
      row - the row