Module wicket.bootstrap.core
Class IconType
java.lang.Object
de.agilecoders.wicket.core.markup.html.bootstrap.image.IconType
- All Implemented Interfaces:
ICssClassNameModifier,ICssClassNameProvider,Serializable,IClusterable
public abstract class IconType
extends Object
implements ICssClassNameProvider, ICssClassNameModifier
References all available icons inside the icon sprite.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.agilecoders.wicket.core.markup.html.bootstrap.behavior.ICssClassNameProvider
cssClassName
-
Constructor Details
-
IconType
Constructor.- Parameters:
cssClassName- The css class name of the icon reference
-
IconType
Constructor.- Parameters:
cssClassName- The css class name of the icon referencetagBody- the body of the tag (for material icons <i class="material-icons">tag-content</i>)
-
-
Method Details
-
getCssClassName
- Returns:
- the cssClassName
-
newCssClassNameModifier
- Specified by:
newCssClassNameModifierin interfaceICssClassNameModifier- Returns:
- a
AttributeModifierwhich contains the css class name
-
getTagBody
- Returns:
- the tag content
-