Package mekhq.gui.model
Class PersonnelEventLogModel
- All Implemented Interfaces:
Serializable,TableModel
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class mekhq.gui.model.DataTableModel
columnNames, dataFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAlignment(int column) Class<?>getColumnClass(int c) intgetColumnName(int column) getEvent(int row) intgetPreferredWidth(int column) getValueAt(int row, int column) booleanhasConstantWidth(int col) Methods inherited from class mekhq.gui.model.DataTableModel
getData, getRowCount, setDataMethods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
COL_DATE
public static final int COL_DATE- See Also:
-
COL_TEXT
public static final int COL_TEXT- See Also:
-
-
Constructor Details
-
PersonnelEventLogModel
public PersonnelEventLogModel()
-
-
Method Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel- Overrides:
getColumnCountin classDataTableModel<LogEntry>
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classDataTableModel<LogEntry>
-
getValueAt
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classDataTableModel<LogEntry>
-
getEvent
-
getAlignment
public int getAlignment(int column) -
getPreferredWidth
public int getPreferredWidth(int column) -
hasConstantWidth
public boolean hasConstantWidth(int col) -
getRenderer
-