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:
  • Constructor Details

    • DefaultSeparator

      public DefaultSeparator()
  • Method Details

    • getId

      public String 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 the id attribute in the generated XHTML.
      Specified by:
      getId in interface MenuElement
      Returns:
      the id property
    • setId

      public void setId(String id)
      Description copied from interface: MenuElement
      Sets the id property which is described in 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.
      Specified by:
      setId in interface MenuElement
      Parameters:
      id - the id value
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Separator
    • setTitle

      public void setTitle(String title)
    • getStyle

      public String getStyle()
      Specified by:
      getStyle in interface Separator
    • setStyle

      public void setStyle(String style)
    • getStyleClass

      public String getStyleClass()
      Specified by:
      getStyleClass in interface Separator
    • setStyleClass

      public void setStyleClass(String styleClass)
    • isRendered

      public boolean isRendered()
      Specified by:
      isRendered in interface MenuElement
    • setRendered

      public void setRendered(boolean rendered)
    • builder

      public static DefaultSeparator.Builder builder()