net.yura.mobile.gui.cellrenderer
Interface ListCellRenderer
- All Known Implementing Classes:
- ButtonEditor, DefaultCellEditor, DefaultListCellRenderer, FileChooser.SelectableFileRenderer, MenuItemRenderer
public interface ListCellRenderer
- Author:
- Yura Mamyrin
- See Also:
ListCellRenderer
getListCellRendererComponent
Component getListCellRendererComponent(Component list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
- Parameters:
list
- The List we're paintingvalue
- The value returned by list.getElementAt(index)index
- The cells indexisSelected
- True if the specified cell was selectedcellHasFocus
- True if the specified cell has the focus
- Returns:
- A component whose paint() method will render the specified value
- See Also:
ListCellRenderer.getListCellRendererComponent
updateUI
void updateUI()