Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

apg_config
Class APGEntryTableModel  view APGEntryTableModel download APGEntryTableModel.java

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byapg_config.APGEntryTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class APGEntryTableModel
extends javax.swing.table.AbstractTableModel


Field Summary
private  java.util.SortedSet apgSet
           
private  java.util.Vector itemMapping
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
APGEntryTableModel()
           
 
Method Summary
private  void createValueMapping()
           
 APGEntry getAPGEntryAt(int row)
           
 int getColumnCount()
          Returns the number of columns in the model.
 java.lang.String getColumnName(int col)
          Returns the name of the specified column.
 int getIndexOf(APGEntry entry)
           
 int getRowCount()
          Returns the number of rows in the model.
 java.lang.Object getValueAt(int row, int column)
          Returns the value (Object) at a particular cell in the table.
 void resetTableModel()
           
 
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
 

Field Detail

apgSet

private java.util.SortedSet apgSet

itemMapping

private java.util.Vector itemMapping
Constructor Detail

APGEntryTableModel

public APGEntryTableModel()
Method Detail

resetTableModel

public void resetTableModel()

createValueMapping

private void createValueMapping()

getColumnCount

public int getColumnCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of columns in the model.


getIndexOf

public int getIndexOf(APGEntry entry)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Description copied from interface: javax.swing.table.TableModel
Returns the value (Object) at a particular cell in the table.


getColumnName

public java.lang.String getColumnName(int col)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the name of the specified column. This method generates default names in a sequence (starting with column 0): A, B, C, ..., Z, AA, AB, AC, ..., AZ, BA, BB, BC, and so on. Subclasses may override this method to allow column names to be specified on some other basis.


getRowCount

public int getRowCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of rows in the model.


getAPGEntryAt

public APGEntry getAPGEntryAt(int row)