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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String[]
(package private) boolean
private static final long
(package private) Vector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getColumnClass
(int c) int
getColumnName
(int col) int
getValueAt
(int row, int col) boolean
isCellEditable
(int row, int col) void
moveRowDown
(int row) void
moveRowUp
(int row) private void
void
removeRow
(int row) void
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
-
Field Details
-
Constructor Details
-
StyleMapTableModel
StyleMapTableModel(String[] columnNames)
-
-
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
-
printDebugData
private void printDebugData() -
set
-
removeRow
public void removeRow(int row) -
addRow
-
moveRowUp
public void moveRowUp(int row) -
moveRowDown
public void moveRowDown(int row)
-