Class GridMenuItemActionWrapper<T>

java.lang.Object
io.jmix.flowui.kit.component.grid.GridMenuItemActionWrapper<T>
All Implemented Interfaces:
com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasText, Serializable

public class GridMenuItemActionWrapper<T> extends Object implements com.vaadin.flow.component.HasText, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasEnabled
See Also:
  • Field Details

    • actionSupport

      protected GridMenuItemActionSupport actionSupport
  • Constructor Details

    • GridMenuItemActionWrapper

      public GridMenuItemActionWrapper(com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> menuItem)
  • Method Details

    • getMenuItem

      public com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> getMenuItem()
    • getAction

      @Nullable public Action getAction()
    • setAction

      public void setAction(@Nullable Action action)
    • addMenuItemClickListener

      public com.vaadin.flow.shared.Registration addMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener)
    • isCheckable

      public boolean isCheckable()
    • setCheckable

      public void setCheckable(boolean checkable)
    • isChecked

      public boolean isChecked()
    • setChecked

      public void setChecked(boolean checked)
    • getId

      public Optional<String> getId()
    • setId

      public void setId(String id)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean visible)
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.vaadin.flow.component.HasEnabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.vaadin.flow.component.HasEnabled
    • getText

      public String getText()
      Specified by:
      getText in interface com.vaadin.flow.component.HasText
    • setText

      public void setText(String text)
      Specified by:
      setText in interface com.vaadin.flow.component.HasText
    • getWhiteSpace

      public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()
      Specified by:
      getWhiteSpace in interface com.vaadin.flow.component.HasText
    • setWhiteSpace

      public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value)
      Specified by:
      setWhiteSpace in interface com.vaadin.flow.component.HasText
    • add

      public void add(com.vaadin.flow.component.Component... components)
      Specified by:
      add in interface com.vaadin.flow.component.HasComponents
    • add

      public void add(String text)
      Specified by:
      add in interface com.vaadin.flow.component.HasComponents
    • remove

      public void remove(com.vaadin.flow.component.Component... components)
      Specified by:
      remove in interface com.vaadin.flow.component.HasComponents
    • removeAll

      public void removeAll()
      Specified by:
      removeAll in interface com.vaadin.flow.component.HasComponents
    • addComponentAtIndex

      public void addComponentAtIndex(int index, com.vaadin.flow.component.Component component)
      Specified by:
      addComponentAtIndex in interface com.vaadin.flow.component.HasComponents
    • addComponentAsFirst

      public void addComponentAsFirst(com.vaadin.flow.component.Component component)
      Specified by:
      addComponentAsFirst in interface com.vaadin.flow.component.HasComponents
    • getElement

      public com.vaadin.flow.dom.Element getElement()
      Specified by:
      getElement in interface com.vaadin.flow.component.HasElement
    • getActionSupport

      public GridMenuItemActionSupport getActionSupport()
    • createActionSupport

      protected GridMenuItemActionSupport createActionSupport()