Class ToolbarIconButton

java.lang.Object
com.vaadin.flow.component.Component
com.flowingcode.addons.applayout.ToolbarIconButton
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, Serializable

@NpmPackage(value="@polymer/paper-icon-button", version="3.0.2") @JsModule("@polymer/paper-icon-button/paper-icon-button.js") @Tag("paper-icon-button") public class ToolbarIconButton extends com.vaadin.flow.component.Component implements com.vaadin.flow.component.HasEnabled
Toolbar menu item component.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    No argument constructor
    ToolbarIconButton(com.vaadin.flow.server.Command command)
    Create a new instance of ToolbarIconButton with a left-button command.
    Create a new instance of ToolbarIconButton with a title
    ToolbarIconButton(String title, com.vaadin.flow.component.icon.IconFactory icon, com.vaadin.flow.server.Command command)
    Create a new instance of ToolbarIconButton with a title, an IconFactory, and left-button command.
    ToolbarIconButton(String title, com.vaadin.flow.server.Command command)
    Create a new instance of MenuItem with a title and a left-button command.
    ToolbarIconButton(String title, String icon, com.vaadin.flow.server.Command command)
    Create a new instance of MenuItem with a title, an icon, and left-button command.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    default String
     
     
    setCommand(MouseClickEvent.MouseButton button, com.vaadin.flow.server.Command command)
     
    setCommand(com.vaadin.flow.server.Command command)
     
     
    setImage(String imageUrl)
     
     

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Constructor Details

    • ToolbarIconButton

      public ToolbarIconButton()
      No argument constructor
    • ToolbarIconButton

      public ToolbarIconButton(String title)
      Create a new instance of ToolbarIconButton with a title
    • ToolbarIconButton

      public ToolbarIconButton(com.vaadin.flow.server.Command command)
      Create a new instance of ToolbarIconButton with a left-button command.
    • ToolbarIconButton

      public ToolbarIconButton(String title, com.vaadin.flow.server.Command command)
      Create a new instance of MenuItem with a title and a left-button command.
    • ToolbarIconButton

      public ToolbarIconButton(String title, com.vaadin.flow.component.icon.IconFactory icon, com.vaadin.flow.server.Command command)
      Create a new instance of ToolbarIconButton with a title, an IconFactory, and left-button command.
    • ToolbarIconButton

      public ToolbarIconButton(String title, String icon, com.vaadin.flow.server.Command command)
      Create a new instance of MenuItem with a title, an icon, and left-button command.
  • Method Details