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.AbstractTableModelInsert comment for enclosing_type here.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String[]columnHeadersThe Constant columnHeaders.private static longserialVersionUIDThe Constant serialVersionUID.private TypetypeThe 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 intgetColumnCount()Gets the column count.java.lang.StringgetColumnName(int i)intgetRowCount()Gets the row count.java.lang.ObjectgetValueAt(int rowIndex, int columnIndex)Gets the value at.voidsetType(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:
getColumnNamein interfacejavax.swing.table.TableModel- Overrides:
getColumnNamein 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)
-
-