Package org.apache.uima.tools.cvd.tsview
Class FeatureTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.apache.uima.tools.cvd.tsview.FeatureTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class FeatureTableModel extends javax.swing.table.AbstractTableModel
Insert comment for enclosing_type here.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String[]
columnHeaders
The Constant columnHeaders.private static long
serialVersionUID
The Constant serialVersionUID.private Type
type
The type.
-
Constructor Summary
Constructors Constructor Description FeatureTableModel()
Instantiates a new feature table model.FeatureTableModel(Type type)
Constructor for FeatureTableModel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
Gets the column count.java.lang.String
getColumnName(int i)
int
getRowCount()
Gets the row count.java.lang.Object
getValueAt(int rowIndex, int columnIndex)
Gets the value at.void
setType(Type type)
Sets the type.-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
The Constant serialVersionUID.- See Also:
- Constant Field Values
-
columnHeaders
static final java.lang.String[] columnHeaders
The Constant columnHeaders.
-
type
private Type type
The type.
-
-
Constructor Detail
-
FeatureTableModel
public FeatureTableModel()
Instantiates a new feature table model.
-
FeatureTableModel
public FeatureTableModel(Type type)
Constructor for FeatureTableModel.- Parameters:
type
- the type
-
-
Method Detail
-
setType
public void setType(Type type)
Sets the type.- Parameters:
type
- the new type
-
getColumnName
public java.lang.String getColumnName(int i)
- Specified by:
getColumnName
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getRowCount
public int getRowCount()
Gets the row count.- Returns:
- the row count
- See Also:
TableModel.getRowCount()
-
getColumnCount
public int getColumnCount()
Gets the column count.- Returns:
- the column count
- See Also:
TableModel.getColumnCount()
-
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
Gets the value at.- Parameters:
rowIndex
- the row indexcolumnIndex
- the column index- Returns:
- the value at
- See Also:
TableModel.getValueAt(int, int)
-
-