Package org.hippoecm.frontend.attributes
Class ClassAttribute
- java.lang.Object
-
- org.hippoecm.frontend.attributes.ClassAttribute
-
public class ClassAttribute extends Object
Utility to set, add and remove CSS classes of Wicket components.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.wicket.AttributeModifier
append(String cssClass)
static org.apache.wicket.AttributeModifier
append(org.apache.wicket.model.IModel<String> cssClassModel)
static CssClassAppender
appendAndObserve(IObservableModel<String> cssClassModel)
static org.apache.wicket.AttributeModifier
clear()
static org.apache.wicket.AttributeModifier
set(String cssClass)
static org.apache.wicket.AttributeModifier
set(org.apache.wicket.model.IModel<String> cssClass)
-
-
-
Method Detail
-
append
public static org.apache.wicket.AttributeModifier append(String cssClass)
-
append
public static org.apache.wicket.AttributeModifier append(org.apache.wicket.model.IModel<String> cssClassModel)
-
appendAndObserve
public static CssClassAppender appendAndObserve(IObservableModel<String> cssClassModel)
-
set
public static org.apache.wicket.AttributeModifier set(String cssClass)
-
set
public static org.apache.wicket.AttributeModifier set(org.apache.wicket.model.IModel<String> cssClass)
-
clear
public static org.apache.wicket.AttributeModifier clear()
-
-