Package org.primefaces.model.menu
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.boolean
isRendered()
void
setId(String id)
Sets the id property which is described ingetId()
.
-
-
-
Method Detail
-
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 theid
attribute in the generated XHTML.- Returns:
- the id property
-
setId
void setId(String id)
Sets the id property which is described ingetId()
. You should have a good reason to call this if you're not extending, but only using PrimeFaces. The property is unrelated to theid
attribute in the generated XHTML.- Parameters:
id
- the id value
-
isRendered
boolean isRendered()
-
-