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

Method Summary
 Component getListCellRendererComponent(Component list, Object value, int index, boolean isSelected, boolean cellHasFocus)
           
 void updateUI()
           
 

Method Detail

getListCellRendererComponent

Component getListCellRendererComponent(Component list,
                                       Object value,
                                       int index,
                                       boolean isSelected,
                                       boolean cellHasFocus)
Parameters:
list - The List we're painting
value - The value returned by list.getElementAt(index)
index - The cells index
isSelected - True if the specified cell was selected
cellHasFocus - 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()