站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface javax.swing.table.TableCellEditor - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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 java.awt.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 those 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()
          Return the cellEditor.
 TableCellEditor JTable.getCellEditor(int row, int column)
          Return an appropriate editor for the cell specified by this this row and column.
 

Methods in javax.swing with parameters of type TableCellEditor
 void JTable.setDefaultEditor(Class columnClass, TableCellEditor editor)
          Set a default editor to be used if no editor has been set in a TableColumn.
 void JTable.setCellEditor(TableCellEditor anEditor)
          Set the cellEditor variable.
 Component JTable.prepareEditor(TableCellEditor editor, int row, int column)
          Prepares the specified editor using the value at the specified cell.
 

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 draw values for this column.
 

Methods in javax.swing.table with parameters of type TableCellEditor
 void TableColumn.setCellEditor(TableCellEditor anEditor)
          Sets the TableCellEditor used by JTable to draw individual values for this column to anEditor.
 

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


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.