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
public class StyleMapTableModel extends AbstractTableModel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRow(Vector rowVector)
Class
getColumnClass(int c)
int
getColumnCount()
String
getColumnName(int col)
int
getRowCount()
Object
getValueAt(int row, int col)
boolean
isCellEditable(int row, int col)
void
moveRowDown(int row)
void
moveRowUp(int row)
void
removeRow(int row)
void
set(Object[][] data)
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 Detail
-
getColumnCount
public int getColumnCount()
-
getRowCount
public int getRowCount()
-
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getValueAt
public Object getValueAt(int row, int col)
-
getColumnClass
public Class getColumnClass(int c)
- 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
public void setValueAt(Object value, int row, int col)
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-
set
public void set(Object[][] data)
-
removeRow
public void removeRow(int row)
-
addRow
public void addRow(Vector rowVector)
-
moveRowUp
public void moveRowUp(int row)
-
moveRowDown
public void moveRowDown(int row)
-
-