Class BasicIconFont
java.lang.Object
com.jadice.web.util.icon.client.iconfont.BasicIconFont
- All Implemented Interfaces:
IconFont
A variable
IconFont
implementation. This class needs only the whole style class
definition and returns it when calling getStyleName()
.-
Constructor Summary
ConstructorsConstructorDescriptionBasicIconFont
(String styleClass) Creates a newBasicIconFont
with the given style class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the style name which should be set to the html that should display the icon font.
-
Constructor Details
-
BasicIconFont
Creates a newBasicIconFont
with the given style class.If for example the default jadice editor-stroke icon should be displayed use "jad-editor-stroke". "jad-" should be added to all default jadice icons otherwise they wont be displayed. This differs when a different icon font is used.
- Parameters:
styleClass
- the style class for the icon font glyph
-
-
Method Details
-
getStyleName
Description copied from interface:IconFont
Returns the style name which should be set to the html that should display the icon font.- Specified by:
getStyleName
in interfaceIconFont
- Returns:
- the style name
-