net.coderazzi.filters.gui
Interface ChoiceRenderer

All Known Implementing Classes:
HtmlChoiceRenderer

public interface ChoiceRenderer

Interface to customize the rendering of choices in the IFilterEditor.


Method Summary
 Component getRendererComponent(IFilterEditor editor, Object value, boolean isSelected)
          Returns the component used to represent the choice (normally, an element from the associated table).
The value can be as well CustomChoice instances; to use the default rendering in this case, the method should return null.
 

Method Detail

getRendererComponent

Component getRendererComponent(IFilterEditor editor,
                               Object value,
                               boolean isSelected)
Returns the component used to represent the choice (normally, an element from the associated table).
The value can be as well CustomChoice instances; to use the default rendering in this case, the method should return null.