|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
uk.ac.starlink.table.gui.MapGroupTableModel
public class MapGroupTableModel
Provides a TableModel view of a MapGroup object. For performance reasons this implementation takes a snapshot of the MapGroup at construction time rather than treating it as a live object.
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
MapGroupTableModel(MapGroup mapgroup)
Constructs a TableModel from a given MapGroup. |
Method Summary | |
---|---|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int icol)
|
int |
getRowCount()
|
java.lang.Object |
getValueAt(int irow,
int icol)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapGroupTableModel(MapGroup mapgroup)
mapgroup
- group to snapshotMethod Detail |
---|
public int getRowCount()
public int getColumnCount()
public java.lang.Object getValueAt(int irow, int icol)
public java.lang.String getColumnName(int icol)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |