Package mekhq.gui.dialog
Class ManageAssetsDialog.AssetTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
mekhq.gui.model.DataTableModel
mekhq.gui.dialog.ManageAssetsDialog.AssetTableModel
- All Implemented Interfaces:
Serializable,TableModel
- Enclosing class:
- ManageAssetsDialog
A table model for displaying parts - similar to the one in CampaignGUI, but not exactly
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields 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 col) getAssetAt(int row) intgetColumnName(int column) intgetColumnWidth(int c) getTooltip(int row, int col) getValueAt(int row, int col) Methods inherited from class mekhq.gui.model.DataTableModel
getColumnClass, 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_NAME
public static final int COL_NAME- See Also:
-
COL_VALUE
public static final int COL_VALUE- See Also:
-
COL_SCHEDULE
public static final int COL_SCHEDULE- See Also:
-
COL_INCOME
public static final int COL_INCOME- See Also:
-
N_COL
public static final int N_COL- See Also:
-
-
Constructor Details
-
AssetTableModel
-
-
Method Details
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel- Overrides:
getColumnCountin classDataTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classDataTableModel
-
getValueAt
-
getAssetAt
-
getColumnWidth
public int getColumnWidth(int c) -
getAlignment
public int getAlignment(int col) -
getTooltip
-
getRenderer
-