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 TypeMethodDescriptionvoid
Adds the row.getColumnClass
(int c) int
getColumnName
(int col) int
getValueAt
(int row, int col) boolean
isCellEditable
(int row, int col) void
moveRowDown
(int row) Move row down.void
moveRowUp
(int row) Move row up.void
removeRow
(int row) Removes the row.void
Sets the.void
setValueAt
(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:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getValueAt
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in 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
-