Package org.apache.uima.tools.stylemap
Class StyleMapTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.apache.uima.tools.stylemap.StyleMapTableModel
- All Implemented Interfaces:
Serializable,TableModel
The Class StyleMapTableModel.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the row.getColumnClass(int c) intgetColumnName(int col) intgetValueAt(int row, int col) booleanisCellEditable(int row, int col) voidmoveRowDown(int row) Move row down.voidmoveRowUp(int row) Move row up.voidremoveRow(int row) Removes the row.voidSets the.voidsetValueAt(Object value, int row, int col) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Method Details
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getValueAt
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
set
Sets the.- Parameters:
data- the data
-
removeRow
public void removeRow(int row) Removes the row.- Parameters:
row- the row
-
addRow
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
-