javax.swing.plaf.metal
public class MetalFileChooserUI.FilterComboBoxRenderer extends DefaultListCellRenderer
Constructor Summary | |
---|---|
FilterComboBoxRenderer()
Creates a new renderer. |
Method Summary | |
---|---|
Component | getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Returns a component that can be used to paint the given value within
the list.
|
Parameters: list the list. value the value (a {@link FileFilter}). index the item index. isSelected is the item selected? cellHasFocus does the list cell have focus?
Returns: This component as the renderer.