javax.swing.plaf.metal
protected class MetalFileChooserUI.FileRenderer extends DefaultListCellRenderer
Constructor Summary | |
---|---|
protected | FileRenderer()
Creates a new renderer. |
Method Summary | |
---|---|
Component | getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Returns a component that can render the specified value.
|
Parameters: list the list. value the value (a {@link File}). index the index. isSelected is the item selected? cellHasFocus does the item have the focus?
Returns: The renderer.