Class DefaultSubMenu

    • Constructor Detail

      • DefaultSubMenu

        public DefaultSubMenu()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: MenuElement
        Allows access the id property which is managed and auto-assigned by callers like menu model implementations and used to identify the element. The property is unrelated to the id attribute in the generated XHTML.
        Specified by:
        getId in interface MenuElement
        Returns:
        the id property
      • setId

        public void setId​(String id)
        Description copied from interface: MenuElement
        Sets the id property which is described in MenuElement.getId(). You should have a good reason to call this if you're not extending, but only using PrimeFaces. The property is unrelated to the id attribute in the generated XHTML.
        Specified by:
        setId in interface MenuElement
        Parameters:
        id - the id value
      • setStyle

        public void setStyle​(String style)
      • setStyleClass

        public void setStyleClass​(String styleClass)
      • setIcon

        public void setIcon​(String icon)
      • setLabel

        public void setLabel​(String label)
      • isDisabled

        public boolean isDisabled()
        Specified by:
        isDisabled in interface Submenu
      • setDisabled

        public void setDisabled​(boolean disabled)
      • setRendered

        public void setRendered​(boolean rendered)
      • isExpanded

        public boolean isExpanded()
        Specified by:
        isExpanded in interface Submenu
      • setExpanded

        public void setExpanded​(boolean expanded)