Package org.primefaces.util
Class StyleClassBuilder
- java.lang.Object
-
- org.primefaces.util.StyleClassBuilder
-
public class StyleClassBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description StyleClassBuilder(javax.faces.context.FacesContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StyleClassBuilder
add(boolean condition, String styleClass)
StyleClassBuilder
add(boolean condition, String styleClass, String notStyleClass)
StyleClassBuilder
add(String styleClass)
StyleClassBuilder
add(String defaultStyleClass, String userStyleClass)
StyleClassBuilder
addOrElse(String styleClass, String fallback)
String
build()
-
-
-
Method Detail
-
add
public StyleClassBuilder add(boolean condition, String styleClass)
-
add
public StyleClassBuilder add(boolean condition, String styleClass, String notStyleClass)
-
add
public StyleClassBuilder add(String styleClass)
-
add
public StyleClassBuilder add(String defaultStyleClass, String userStyleClass)
-
addOrElse
public StyleClassBuilder addOrElse(String styleClass, String fallback)
-
build
public String build()
-
-