Class BindSelectboxRenderer

  • All Implemented Interfaces:
    java.io.Serializable, ItemRenderer<java.lang.Object>

    public class BindSelectboxRenderer
    extends AbstractRenderer
    implements ItemRenderer<java.lang.Object>, java.io.Serializable
    selectbox renderer.
    Since:
    6.0.0
    Author:
    dennischen
    See Also:
    Serialized Form
    • Constructor Detail

      • BindSelectboxRenderer

        public BindSelectboxRenderer()
    • Method Detail

      • render

        public java.lang.String render​(Component owner,
                                       java.lang.Object data,
                                       int index)
                                throws java.lang.Exception
        Description copied from interface: ItemRenderer
        Renders the data to the corresponding HTML fragment, and returns the HTML fragment.
        Specified by:
        render in interface ItemRenderer<java.lang.Object>
        Parameters:
        owner - the component that this renderer belongs to (never null).
        data - that is returned from ListModel.getElementAt(int)
        index - the data index that is currently being rendered
        Returns:
        the HTML fragment representing the data. It depends on the component this renderer belongs to.
        Throws:
        java.lang.Exception