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 int
static final int
static final int
static final int
static final int
Fields inherited from class mekhq.gui.model.DataTableModel
columnNames, data
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getAlignment
(int col) getAssetAt
(int row) int
getColumnName
(int column) int
getColumnWidth
(int c) getTooltip
(int row, int col) getValueAt
(int row, int col) Methods inherited from class mekhq.gui.model.DataTableModel
getColumnClass, getData, getRowCount, isCellEditable, setData
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, 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:
getColumnCount
in interfaceTableModel
- Overrides:
getColumnCount
in classDataTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classDataTableModel
-
getValueAt
-
getAssetAt
-
getColumnWidth
public int getColumnWidth(int c) -
getAlignment
public int getAlignment(int col) -
getTooltip
-
getRenderer
-