Package org.primefaces.model.menu
Class DefaultSeparator
java.lang.Object
org.primefaces.model.menu.DefaultSeparator
- All Implemented Interfaces:
Serializable
,MenuElement
,Separator
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultSeparator.Builder
builder()
getId()
Allows access the id property which is managed and auto-assigned by callers like menu model implementations and used to identify the element.getStyle()
getTitle()
boolean
void
Sets the id property which is described inMenuElement.getId()
.void
setRendered
(boolean rendered) void
void
setStyleClass
(String styleClass) void
-
Constructor Details
-
DefaultSeparator
public DefaultSeparator()
-
-
Method Details
-
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 theid
attribute in the generated XHTML.- Specified by:
getId
in interfaceMenuElement
- Returns:
- the id property
-
setId
Description copied from interface:MenuElement
Sets the id property which is described inMenuElement.getId()
. 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.- Specified by:
setId
in interfaceMenuElement
- Parameters:
id
- the id value
-
getTitle
-
setTitle
-
getStyle
-
setStyle
-
getStyleClass
- Specified by:
getStyleClass
in interfaceSeparator
-
setStyleClass
-
isRendered
public boolean isRendered()- Specified by:
isRendered
in interfaceMenuElement
-
setRendered
public void setRendered(boolean rendered) -
builder
-