Interface IChoiceRenderer<T>

  • Type Parameters:
    T - the model object type
    All Superinterfaces:
    IClusterable, ITextRenderer<T>, Serializable

    public interface IChoiceRenderer<T>
    extends ITextRenderer<T>
    Provides the ability to get a specific value/text (likely from properties) of a bean type, for rendering purpose
    Author:
    Sebastien Briquet - sebfz1
    • Method Detail

      • getValueField

        String getValueField()
        Gets the field name that will represents the 'value' of an object.
        Returns:
        the name of the text field
      • getValue

        String getValue​(T object)
        Gets the value of an object.
        Parameters:
        object - the T object
        Returns:
        the value