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