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 SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class mekhq.gui.model.DataTableModelcolumnNames, dataFields inherited from class javax.swing.table.AbstractTableModellistenerList
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.DataTableModelgetColumnClass, getData, getRowCount, setDataMethods inherited from class javax.swing.table.AbstractTableModeladdTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
- 
Field Details- 
COL_NAMEpublic static final int COL_NAME- See Also:
 
- 
COL_VALUEpublic static final int COL_VALUE- See Also:
 
- 
COL_SCHEDULEpublic static final int COL_SCHEDULE- See Also:
 
- 
COL_INCOMEpublic static final int COL_INCOME- See Also:
 
- 
N_COLpublic static final int N_COL- See Also:
 
 
- 
- 
Constructor Details- 
AssetTableModel
 
- 
- 
Method Details- 
getColumnCountpublic int getColumnCount()- Specified by:
- getColumnCountin interface- TableModel
- Overrides:
- getColumnCountin class- DataTableModel
 
- 
getColumnName- Specified by:
- getColumnNamein interface- TableModel
- Overrides:
- getColumnNamein class- DataTableModel
 
- 
getValueAt
- 
getAssetAt
- 
getColumnWidthpublic int getColumnWidth(int c) 
- 
getAlignmentpublic int getAlignment(int col) 
- 
getTooltip
- 
getRenderer
 
-