|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.mars_sim.msp.ui.swing.tool.monitor.TradeTableModel
public class TradeTableModel
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Method Summary | |
|---|---|
void |
destroy()
Prepares the model for deletion. |
Class<?> |
getColumnClass(int columnIndex)
Return the type of the column requested. |
int |
getColumnCount()
|
String |
getColumnName(int columnIndex)
Return the name of the column requested. |
String |
getCountString()
Gets the model count string. |
String |
getGoodCategory(Good good)
|
String |
getName()
Get the name of this model. |
Object |
getObject(int row)
Return the object at the specified row indexes. |
boolean |
getOrdered()
Has this model got a natural order that the model conforms to. |
int |
getRowCount()
|
Object |
getValueAt(int rowIndex,
int columnIndex)
|
void |
unitManagerUpdate(UnitManagerEvent event)
|
void |
unitUpdate(UnitEvent event)
Catch unit update event. |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt |
| Method Detail |
|---|
public void unitUpdate(UnitEvent event)
unitUpdate in interface UnitListenerevent - the unit event.public void destroy()
public String getCountString()
public String getName()
public Object getObject(int row)
row - Index of the row object.
public boolean getOrdered()
public String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelcolumnIndex - Index of column.
public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelcolumnIndex - Index of column.
public int getColumnCount()
getColumnCount in interface TableModelpublic int getRowCount()
getRowCount in interface TableModel
public Object getValueAt(int rowIndex,
int columnIndex)
getValueAt in interface TableModelpublic String getGoodCategory(Good good)
public void unitManagerUpdate(UnitManagerEvent event)
unitManagerUpdate in interface UnitManagerListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||