public class DefaultSeparator extends Object implements Separator, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultSeparator.Builder |
| Constructor and Description |
|---|
DefaultSeparator() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultSeparator.Builder |
builder() |
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.
|
String |
getStyle() |
String |
getStyleClass() |
String |
getTitle() |
boolean |
isRendered() |
void |
setId(String id)
Sets the id property which is described in
MenuElement.getId(). |
void |
setRendered(boolean rendered) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
public String getId()
MenuElementid attribute in the generated
XHTML.getId in interface MenuElementpublic void setId(String id)
MenuElementMenuElement.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.setId in interface MenuElementid - the id valuepublic void setTitle(String title)
public void setStyle(String style)
public String getStyleClass()
getStyleClass in interface Separatorpublic void setStyleClass(String styleClass)
public boolean isRendered()
isRendered in interface MenuElementpublic void setRendered(boolean rendered)
public static DefaultSeparator.Builder builder()
Copyright © 2020. All rights reserved.