Class WebToolButtonDepictor<C extends ActionControl>

    • Constructor Detail

      • WebToolButtonDepictor

        public WebToolButtonDepictor()
        Default constructor using the XHTML <button> element.
    • Method Detail

      • getBodyStyles

        protected java.util.Map<java.lang.String,​java.lang.Object> getBodyStyles()
        Retrieves the styles for the body element of the component.

        This version returns the style for background color.

        This version lowers the opacity if the control is disabled.

        This version adds special borders for a selected SelectActionControl.

        This version adds special borders for a selected SelectActionControl.

        Overrides:
        getBodyStyles in class WebButtonDepictor<C extends ActionControl>
        Returns:
        The styles for the body element of the component, mapped to CSS property names.