Package org.primefaces.model.menu
Class DefaultSeparator
- java.lang.Object
-
- org.primefaces.model.menu.DefaultSeparator
-
- All Implemented Interfaces:
Serializable,MenuElement,Separator
public class DefaultSeparator extends Object implements Separator, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultSeparator.Builder
-
Constructor Summary
Constructors Constructor Description DefaultSeparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultSeparator.Builderbuilder()StringgetId()Allows access the id property which is managed and auto-assigned by callers like menu model implementations and used to identify the element.StringgetStyle()StringgetStyleClass()StringgetTitle()booleanisRendered()voidsetId(String id)Sets the id property which is described inMenuElement.getId().voidsetRendered(boolean rendered)voidsetStyle(String style)voidsetStyleClass(String styleClass)voidsetTitle(String title)
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:MenuElementAllows 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 theidattribute in the generated XHTML.- Specified by:
getIdin interfaceMenuElement- Returns:
- the id property
-
setId
public void setId(String id)
Description copied from interface:MenuElementSets 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 theidattribute in the generated XHTML.- Specified by:
setIdin interfaceMenuElement- Parameters:
id- the id value
-
setTitle
public void setTitle(String title)
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
- Specified by:
getStyleClassin interfaceSeparator
-
setStyleClass
public void setStyleClass(String styleClass)
-
isRendered
public boolean isRendered()
- Specified by:
isRenderedin interfaceMenuElement
-
setRendered
public void setRendered(boolean rendered)
-
builder
public static DefaultSeparator.Builder builder()
-
-