Class Button


  • public class Button
    extends net.moewes.cloudui.UiComponent
    CloudUi representation of Vaadin Button
    • Constructor Detail

      • Button

        public Button()
      • Button

        public Button​(String text)
      • Button

        public Button​(String text,
                      Consumer<net.moewes.cloudui.UiEvent> handler)
    • Method Detail

      • setText

        public void setText​(String text)
      • setIcon

        public void setIcon​(net.moewes.cloudui.UiComponent icon,
                            Button.IconPlacement placement)
      • addClickListener

        public void addClickListener​(Consumer<net.moewes.cloudui.UiEvent> function)
      • render

        public net.moewes.cloudui.UiElement render()
        Overrides:
        render in class net.moewes.cloudui.UiComponent