JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Interface
javax.swing.table.TableCellEditor

Packages that use TableCellEditor
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.table Provides classes and interfaces for dealing with javax.swing.JTable
 

Uses of TableCellEditor in javax.swing
 

Classes in javax.swing that implement TableCellEditor
 class DefaultCellEditor
          The default editor for table and tree cells.
 

Fields in javax.swing declared as TableCellEditor
protected  TableCellEditor JTable.cellEditor
          The object that overwrites the screen real estate occupied by the current cell and allows the user to change its contents.
 

Methods in javax.swing that return TableCellEditor
 TableCellEditor JTable.getDefaultEditor(Class columnClass)
          Returns the editor to be used when no editor has been set in a TableColumn.
 TableCellEditor JTable.getCellEditor()
          Returns the cell editor.
 TableCellEditor JTable.getCellEditor(int row, int column)
          Returns an appropriate editor for the cell specified by row and column.
 

Methods in javax.swing with parameters of type TableCellEditor
 void JTable.setDefaultEditor(Class columnClass, TableCellEditor editor)
          Sets a default cell editor to be used if no editor has been set in a TableColumn.
 void JTable.setCellEditor(TableCellEditor anEditor)
          Sets the cellEditor variable.
 Component JTable.prepareEditor(TableCellEditor editor, int row, int column)
          Prepares the editor by querying the data model for the value and selection state of the cell at row, column.
 

Uses of TableCellEditor in javax.swing.table
 

Fields in javax.swing.table declared as TableCellEditor
protected  TableCellEditor TableColumn.cellEditor
          The editor used to edit the data cells of the column.
 

Methods in javax.swing.table that return TableCellEditor
 TableCellEditor TableColumn.getCellEditor()
          Returns the TableCellEditor used by the JTable to edit values for this column.
 

Methods in javax.swing.table with parameters of type TableCellEditor
 void TableColumn.setCellEditor(TableCellEditor cellEditor)
          Sets the editor to used by when a cell in this column is edited.
 

Constructors in javax.swing.table with parameters of type TableCellEditor
TableColumn(int modelIndex, int width, TableCellRenderer cellRenderer, TableCellEditor cellEditor)
          Creates and initializes an instance of TableColumn with modelIndex.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.