public interface ValueRenderer<T>
Modifier and Type | Method and Description |
---|---|
void |
configureStyle(com.simsilica.lemur.style.ElementId elementId,
java.lang.String style)
Called by the using component to set the preferred ElementId
and style for the renderer.
|
com.simsilica.lemur.Panel |
getView(T value,
boolean selected,
com.simsilica.lemur.Panel existing)
Returns a new view Panel or returns a reconfigured version of
the existing Panel that will display the specified value.
|
void configureStyle(com.simsilica.lemur.style.ElementId elementId, java.lang.String style)
com.simsilica.lemur.Panel getView(T value, boolean selected, com.simsilica.lemur.Panel existing)