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()
MenuElement
id
attribute in the generated
XHTML.getId
in interface MenuElement
public void setId(String id)
MenuElement
MenuElement.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 MenuElement
id
- the id valuepublic void setTitle(String title)
public void setStyle(String style)
public String getStyleClass()
getStyleClass
in interface Separator
public void setStyleClass(String styleClass)
public boolean isRendered()
isRendered
in interface MenuElement
public void setRendered(boolean rendered)
public static DefaultSeparator.Builder builder()
Copyright © 2020. All rights reserved.