JavaTM 2 Platform
Standard Edition

Uses of Interface
javax.swing.table.TableCellRenderer

Packages that use TableCellRenderer
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 TableCellRenderer in javax.swing
 

Methods in javax.swing that return TableCellRenderer
 TableCellRenderer JTable.getDefaultRenderer(Class columnClass)
          Returns the renderer to be used when no renderer has been set in a TableColumn.
 TableCellRenderer JTable.getCellRenderer(int row, int column)
          Return an appropriate renderer for the cell specified by this this row and column.
 

Methods in javax.swing with parameters of type TableCellRenderer
 void JTable.setDefaultRenderer(Class columnClass, TableCellRenderer renderer)
          Set a default renderer to be used if no renderer has been set in a TableColumn.
 Component JTable.prepareRenderer(TableCellRenderer renderer, int row, int column)
          Prepares the specified renderer with an appropriate value from the dataModel, and an appropriate selection value from the selection models.
 

Uses of TableCellRenderer in javax.swing.table
 

Classes in javax.swing.table that implement TableCellRenderer
 class DefaultTableCellRenderer
          The standard class for rendering (displaying) individual cells in a JTable.
static class DefaultTableCellRenderer.UIResource
          A subclass of DefaultTableCellRenderer that implements UIResource.
 

Fields in javax.swing.table declared as TableCellRenderer
protected  TableCellRenderer TableColumn.headerRenderer
          The renderer used to draw the header of the column
protected  TableCellRenderer TableColumn.cellRenderer
          The renderer used to draw the data cells of the column
 

Methods in javax.swing.table that return TableCellRenderer
 TableCellRenderer TableColumn.getHeaderRenderer()
          Returns the TableCellRenderer used to draw the header of the TableColumn.
 TableCellRenderer TableColumn.getCellRenderer()
          Returns the TableCellRenderer used by the JTable to draw values for this column.
protected  TableCellRenderer TableColumn.createDefaultHeaderRenderer()
           
 

Methods in javax.swing.table with parameters of type TableCellRenderer
 void TableColumn.setHeaderRenderer(TableCellRenderer aRenderer)
          Sets the TableCellRenderer used to draw the TableColumn's header to aRenderer.
 void TableColumn.setCellRenderer(TableCellRenderer aRenderer)
          Sets the TableCellRenderer used by JTable to draw individual values for this column to aRenderer.
 

Constructors in javax.swing.table with parameters of type TableCellRenderer
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.