Class JmixSideMenu.MenuItem

java.lang.Object
io.jmix.ui.widget.JmixSideMenu.MenuItem
Direct Known Subclasses:
SideMenuImpl.MenuItemWrapper
Enclosing class:
JmixSideMenu

public static class JmixSideMenu.MenuItem extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getCaption

      @Nullable public String getCaption()
    • setCaption

      public void setCaption(@Nullable String caption)
    • getDescription

      @Nullable public String getDescription()
    • setDescription

      public void setDescription(@Nullable String description)
    • getIcon

      @Nullable public com.vaadin.server.Resource getIcon()
    • setIcon

      public void setIcon(@Nullable com.vaadin.server.Resource icon)
    • isCaptionAsHtml

      public boolean isCaptionAsHtml()
    • setCaptionAsHtml

      public void setCaptionAsHtml(boolean captionAsHtml)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean visible)
    • isExpanded

      public boolean isExpanded()
    • setExpanded

      public void setExpanded(boolean expanded)
    • getStyleName

      public String getStyleName()
    • setStyleName

      public void setStyleName(@Nullable String style)
    • getJTestId

      @Nullable public String getJTestId()
    • setJTestId

      public void setJTestId(String jTestId)
    • getBadgeText

      @Nullable public String getBadgeText()
    • setBadgeText

      public void setBadgeText(@Nullable String badgeText)
    • getCommand

      @Nullable public Consumer<JmixSideMenu.MenuItemTriggeredEvent> getCommand()
    • setCommand

      public void setCommand(@Nullable Consumer<JmixSideMenu.MenuItemTriggeredEvent> command)
    • addChildItem

      public void addChildItem(JmixSideMenu.MenuItem menuItem)
    • addChildItem

      public void addChildItem(JmixSideMenu.MenuItem menuItem, int index)
    • removeChildItem

      public void removeChildItem(JmixSideMenu.MenuItem menuItem)
    • removeChildItem

      public void removeChildItem(int index)
    • getChildren

      public List<JmixSideMenu.MenuItem> getChildren()
    • hasChildren

      public boolean hasChildren()
    • getParent

      @Nullable public JmixSideMenu.MenuItem getParent()
    • setParent

      public void setParent(@Nullable JmixSideMenu.MenuItem parent)
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
    • removeStyleName

      public void removeStyleName(String style)
    • addStyleName

      public void addStyleName(String style)