Interface MenuElement

All Known Subinterfaces:
MenuColumn, MenuGroup, MenuItem, Separator, Submenu
All Known Implementing Classes:
Column, ColumnBase, DefaultMenuColumn, DefaultMenuItem, DefaultSeparator, DefaultSubMenu, Divider, DividerBase, UIMenuItem, UIMenuItemBase, UISeparator, UISeparatorBase, UISubmenu, UISubmenuBase

public interface MenuElement
  • Method Summary

    Modifier and Type
    Method
    Description
    Allows access the id property which is managed and auto-assigned by callers like menu model implementations and used to identify the element.
    boolean
     
    void
    Sets the id property which is described in getId().
  • Method Details

    • getId

      String getId()
      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.
      Returns:
      the id property
    • setId

      void setId(String id)
      Sets the id property which is described in 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.
      Parameters:
      id - the id value
    • isRendered

      boolean isRendered()