| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 Java look and feel (once codenamed Metal), which is the default look and feel. | 
| Uses of ListCellRenderer in javax.swing | 
|---|
| Classes in javax.swing that implement ListCellRenderer | |
|---|---|
|  class | DefaultListCellRendererRenders an item in a list. | 
| static class | DefaultListCellRenderer.UIResourceA subclass of DefaultListCellRenderer that implements UIResource. | 
| Fields in javax.swing declared as ListCellRenderer | |
|---|---|
| protected  ListCellRenderer | JComboBox.rendererThis protected field is implementation specific. | 
| Methods in javax.swing that return ListCellRenderer | |
|---|---|
|  ListCellRenderer | JList.getCellRenderer()Returns the object responsible for painting list items. | 
|  ListCellRenderer | JComboBox.getRenderer()Returns the renderer used to display the selected item in the JComboBoxfield. | 
| Methods in javax.swing with parameters of type ListCellRenderer | |
|---|---|
|  void | JList.setCellRenderer(ListCellRenderer cellRenderer)Sets the delegate that is used to paint each cell in the list. | 
|  void | JComboBox.setRenderer(ListCellRenderer aRenderer)Sets the renderer that paints the list items and the item selected from the list in the JComboBox field. | 
| Uses of ListCellRenderer in javax.swing.plaf.basic | 
|---|
| Classes in javax.swing.plaf.basic that implement ListCellRenderer | |
|---|---|
|  class | BasicComboBoxRendererComboBox renderer | 
| static class | BasicComboBoxRenderer.UIResourceA subclass of BasicComboBoxRenderer that implements UIResource. | 
| Methods in javax.swing.plaf.basic that return ListCellRenderer | |
|---|---|
| protected  ListCellRenderer | BasicComboBoxUI.createRenderer()Creates the default renderer that will be used in a non-editiable 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.FilterComboBoxRendererRender different type sizes and styles. | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.