ebgeo.maprequest
Class MapSelectionModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byebgeo.maprequest.MapSelectionModel
All Implemented Interfaces:
Serializable, TableModel

public class MapSelectionModel
extends AbstractTableModel
implements TableModel

An AbstractTableModel that renders cells to display the names of available maps to allow the user to select one.

See Also:
MapSelectionForm, Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
MapSelectionModel(Vector maps)
          Creates a new instance of LayerSelectionModel
 
Method Summary
 Class getColumnClass(int column)
           
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, 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, removeTableModelListener, setValueAt
 

Constructor Detail

MapSelectionModel

public MapSelectionModel(Vector maps)
Creates a new instance of LayerSelectionModel

Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel

getColumnClass

public Class getColumnClass(int column)
Specified by:
getColumnClass in interface TableModel