Class Button

  • All Implemented Interfaces:
    org.jboss.errai.common.client.api.elemental2.IsElement

    @Dependent
    public class Button
    extends Object
    implements org.jboss.errai.common.client.api.elemental2.IsElement
    • Constructor Detail

      • Button

        public Button()
    • Method Detail

      • setText

        public void setText​(String text)
      • setClickHandler

        public void setClickHandler​(org.uberfire.mvp.Command clickHandler)
      • setEnabled

        public void setEnabled​(boolean enabled)
      • hide

        public void hide()
      • show

        public void show()
      • addIcon

        public void addIcon​(String... classes)
      • getElement

        public elemental2.dom.HTMLElement getElement()
        Specified by:
        getElement in interface org.jboss.errai.common.client.api.elemental2.IsElement