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 Details

    • 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()