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:
Serializable
,TableModel
Insert comment for enclosing_type here.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String[]
The Constant columnHeaders.private static final long
The Constant serialVersionUID.private Type
The type.Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new feature table model.FeatureTableModel
(Type type) Constructor for FeatureTableModel. -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the column count.getColumnName
(int i) int
Gets the row count.getValueAt
(int rowIndex, int columnIndex) Gets the value at.void
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 Details
-
serialVersionUID
private static final long serialVersionUIDThe Constant serialVersionUID.- See Also:
-
columnHeaders
The Constant columnHeaders. -
type
The type.
-
-
Constructor Details
-
FeatureTableModel
public FeatureTableModel()Instantiates a new feature table model. -
FeatureTableModel
Constructor for FeatureTableModel.- Parameters:
type
- the type
-
-
Method Details
-
setType
Sets the type.- Parameters:
type
- the new type
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getRowCount
public int getRowCount()Gets the row count.- Returns:
- the row count
- See Also:
-
getColumnCount
public int getColumnCount()Gets the column count.- Returns:
- the column count
- See Also:
-
getValueAt
Gets the value at.- Parameters:
rowIndex
- the row indexcolumnIndex
- the column index- Returns:
- the value at
- See Also:
-