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

JavaTM 2 Platform
Standard Edition

Uses of Interface
javax.swing.ListCellRenderer

Packages that use ListCellRenderer
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.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
 

Uses of ListCellRenderer in javax.swing
 

Classes in javax.swing that implement ListCellRenderer
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 

Fields in javax.swing declared as ListCellRenderer
protected  ListCellRenderer JComboBox.renderer
           
 

Methods in javax.swing that return ListCellRenderer
 ListCellRenderer JComboBox.getRenderer()
          Returns the renderer used to display the selected item in the JComboBox field.
 ListCellRenderer JList.getCellRenderer()
          Returns the object that renders the list items.
 

Methods in javax.swing with parameters of type ListCellRenderer
 void JComboBox.setRenderer(ListCellRenderer aRenderer)
          Sets the renderer that paints the item selected from the list in the JComboBox field.
 void JList.setCellRenderer(ListCellRenderer cellRenderer)
          Sets the delegate that's used to paint each cell in the list.
 

Uses of ListCellRenderer in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement ListCellRenderer
 class BasicComboBoxRenderer
          ComboBox renderer
static class BasicComboBoxRenderer.UIResource
          A subclass of BasicComboBoxRenderer that implements UIResource.
 

Methods in javax.swing.plaf.basic that return ListCellRenderer
protected  ListCellRenderer BasicComboBoxUI.createRenderer()
          Creates the renderer that is to be used in the combo box.
 

Methods in javax.swing.plaf.basic with parameters of type ListCellRenderer
protected  void BasicListUI.paintCell(Graphics g, int row, Rectangle rowBounds, ListCellRenderer cellRenderer, ListModel dataModel, ListSelectionModel selModel, int leadIndex)
          Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use the CellRendererPane to paint it.
 

Uses of ListCellRenderer in javax.swing.plaf.metal
 

Classes in javax.swing.plaf.metal that implement ListCellRenderer
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          Render different type sizes and styles.
 


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.