Class ListButtonDataRenderer

    • Constructor Detail

      • ListButtonDataRenderer

        public ListButtonDataRenderer()
        Default constructor - set necessary styles.
    • Method Detail

      • render

        public void render​(java.lang.Object data,
                           Button button,
                           boolean highlight)
        Description copied from interface: Button.DataRenderer
        Prepares the renderer for layout or paint.
        Specified by:
        render in interface Button.DataRenderer
        Overrides:
        render in class ButtonDataRenderer
        Parameters:
        data - The data to render, or null if called to calculate preferred height for skins that assume a fixed renderer height.
        button - The host component.
        highlight - If true, the item is highlighted.