A behavior simliar to {@link org.apache.wicket.AttributeModifier AttributeModifier} butspecially tuned for modifying the HTML {@code class} attribute. When this behavior is boundto a component it does the following:
- Always adds the {@code class} attribute, even if it did not already exist.
- Ensures that duplicate CSS classes will not be emitted in the attribute.
- Each class will be separated by a space character.
Note that this class is abstract. Subclasses must implement the {@link #modifyClasses modifyClasses()} to specify what classes are added (or subtracted!)from the {@code class} attribute.
@since 2.0.4
@see fiftyfive.wicket.util.Shortcuts#toggledCssClass(String,org.apache.wicket.model.IModel)