Package mekhq.gui.model
Class LogTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
mekhq.gui.model.LogTableModel
- All Implemented Interfaces:
- Serializable,- TableModel
A table model for displaying log entries.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModellistenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetAlignment(int col) Class<?>getColumnClass(int c) intgetColumnName(int column) intgetColumnWidth(int c) getEntry(int row) intgetTooltip(int row, int col) getValueAt(int row, int col) voidMethods inherited from class javax.swing.table.AbstractTableModeladdTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
- 
Field Details- 
data
- 
COL_DATEpublic static final int COL_DATE- See Also:
 
- 
COL_DESCpublic static final int COL_DESC- See Also:
 
- 
N_COLpublic static final int N_COL- See Also:
 
 
- 
- 
Constructor Details- 
LogTableModel
 
- 
- 
Method Details- 
getRowCountpublic int getRowCount()
- 
getColumnCountpublic int getColumnCount()
- 
getColumnName- Specified by:
- getColumnNamein interface- TableModel
- Overrides:
- getColumnNamein class- AbstractTableModel
 
- 
getValueAt
- 
getColumnClass- Specified by:
- getColumnClassin interface- TableModel
- Overrides:
- getColumnClassin class- AbstractTableModel
 
- 
getEntry
- 
getColumnWidthpublic int getColumnWidth(int c) 
- 
getAlignmentpublic int getAlignment(int col) 
- 
getTooltip
- 
setData
- 
getRenderer
 
-