Class ButtonFactory

java.lang.Object
hu.rts.mike.example.dev.crm.component.factory.ButtonFactory

public class ButtonFactory extends Object
  • Constructor Details

    • ButtonFactory

      public ButtonFactory()
  • Method Details

    • createButton

      public static com.vaadin.flow.component.button.Button createButton()
    • createButtonWithTooltip

      public static com.vaadin.flow.component.button.Button createButtonWithTooltip(String tooltip)
    • createButtonWithIcon

      public static com.vaadin.flow.component.button.Button createButtonWithIcon(com.vaadin.flow.component.Component icon)
    • createButtonWithIcon

      public static com.vaadin.flow.component.button.Button createButtonWithIcon(com.vaadin.flow.component.Component icon, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createButtonWithIconAndLabel

      public static com.vaadin.flow.component.button.Button createButtonWithIconAndLabel(com.vaadin.flow.component.Component icon, String label)
    • createButtonWithIconAndLabel

      public static com.vaadin.flow.component.button.Button createButtonWithIconAndLabel(com.vaadin.flow.component.Component icon, String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createButtonWithIconAndTooltip

      public static com.vaadin.flow.component.button.Button createButtonWithIconAndTooltip(com.vaadin.flow.component.Component icon, String tooltip)
    • createButtonWithIconAndTooltip

      public static com.vaadin.flow.component.button.Button createButtonWithIconAndTooltip(com.vaadin.flow.component.Component icon, String tooltip, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createButtonWithIconAndTooltipAndLabel

      public static com.vaadin.flow.component.button.Button createButtonWithIconAndTooltipAndLabel(com.vaadin.flow.component.Component icon, String tooltip, String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createCloseButton

      public static com.vaadin.flow.component.button.Button createCloseButton()
    • createSaveButton

      public static com.vaadin.flow.component.button.Button createSaveButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createDeleteButton

      public static com.vaadin.flow.component.button.Button createDeleteButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createRestoreButton

      public static com.vaadin.flow.component.button.Button createRestoreButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createCancelButton

      public static com.vaadin.flow.component.button.Button createCancelButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createPrimaryButton

      public static com.vaadin.flow.component.button.Button createPrimaryButton()
    • createPrimaryButton

      public static com.vaadin.flow.component.button.Button createPrimaryButton(String label)
    • createTertiaryButton

      public static com.vaadin.flow.component.button.Button createTertiaryButton()
    • createTertiaryButton

      public static com.vaadin.flow.component.button.Button createTertiaryButton(String label)
    • createTertiaryButton

      public static com.vaadin.flow.component.button.Button createTertiaryButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createPrimarySmallButton

      public static com.vaadin.flow.component.button.Button createPrimarySmallButton(String label)
    • createTertiarySmallButton

      public static com.vaadin.flow.component.button.Button createTertiarySmallButton(String label)
    • createTertiarySmallButton

      public static com.vaadin.flow.component.button.Button createTertiarySmallButton(String label, Consumer<com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button>> onClick)
    • createTertiaryInlineSmallButton

      public static com.vaadin.flow.component.button.Button createTertiaryInlineSmallButton(com.vaadin.flow.component.Component icon)
    • createColumnFilterButton

      public static com.vaadin.flow.component.button.Button createColumnFilterButton(String label)