Interface CellRenderer<T>

All Superinterfaces:
ValueRenderer<T>
All Known Implementing Classes:
DefaultCellRenderer

public interface CellRenderer<T> extends ValueRenderer<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    getView(T value, boolean selected, Panel existing)
    Returns a new view Panel or returns a reconfigured version of the existing Panel that will display the specified value.

    Methods inherited from interface com.simsilica.lemur.ValueRenderer

    configureStyle
  • Method Details

    • getView

      Panel getView(T value, boolean selected, Panel existing)
      Description copied from interface: ValueRenderer
      Returns a new view Panel or returns a reconfigured version of the existing Panel that will display the specified value. The 'selected' flag can indicate if the value should appear as selected or focused. For example, some views may change their color or animate if they are the selected view.
      Specified by:
      getView in interface ValueRenderer<T>