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 longThe Constant serialVersionUID.private TypeThe 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 TypeMethodDescriptionintGets the column count.getColumnName(int i) intGets the row count.getValueAt(int rowIndex, int columnIndex) Gets the value at.voidSets 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:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein 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:
-