Java Platform 1.2
Beta 4

Uses of Interface
com.sun.java.swing.table.TableModel

Packages that use TableModel
com.sun.java.swing Provides a set of "lightweight" (all-Java
com.sun.java.swing.event Provides for events fired by Swing components.  
com.sun.java.swing.table Provides classes and interfaces for dealing with java.awt.swing. 
 

Uses of TableModel in com.sun.java.swing
 

Fields in com.sun.java.swing declared as TableModel
protected  TableModel JTable.dataModel
          The TableModel of the table
 

Methods in com.sun.java.swing that return TableModel
 TableModel JTable.getModel()
          Returns the TableModel that provides the data displayed by the receiver.
protected  TableModel JTable.createDefaultDataModel()
          Returns the default table model object which is a DefaultTableModel.
 

Methods in com.sun.java.swing with parameters of type TableModel
 void JTable.setModel(TableModel newModel)
          Sets the data model for this table to newModel and registers with for listner notifications from the new data model.
 

Constructors in com.sun.java.swing with parameters of type TableModel
JTable.JTable(TableModel dm)
          Constructs a JTable which is initialized with dm as the data model, a default column model, and a default selection model.
JTable.JTable(TableModel dm, TableColumnModel cm)
          Constructs a JTable which is initialized with dm as the data model, cm as the column model, and a default selection model.
JTable.JTable(TableModel dm, TableColumnModel cm, ListSelectionModel sm)
          Constructs a JTable which is initialized with dm as the data model, cm as the column model, and sm as the selection model.
 

Uses of TableModel in com.sun.java.swing.event
 

Constructors in com.sun.java.swing.event with parameters of type TableModel
TableModelEvent.TableModelEvent(TableModel source)
          All row data in the table has changed, listeners should discard any state that was based on the rows and requery the TableModel to get the new row count and all the appropriate values.
TableModelEvent.TableModelEvent(TableModel source, int row)
          This row of data has been updated.
TableModelEvent.TableModelEvent(TableModel source, int firstRow, int lastRow)
          The data in rows [firstRow, lastRow] have been updated.
TableModelEvent.TableModelEvent(TableModel source, int firstRow, int lastRow, int column)
          The cells in column column in the range [firstRow, lastRow] have been updated.
TableModelEvent.TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type)
          The cells from (firstRow, column) to (lastRow, column) have been changed.
 

Uses of TableModel in com.sun.java.swing.table
 

Classes in com.sun.java.swing.table that implement TableModel
  AbstractTableModel
          This abstract class provides default implementations for most of the methods in the TableModel interface.
  DefaultTableModel
          This is an implementation of TableModel that uses a Vector of Vectors to store the cell value objects.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.