Class MulticolorIconFont
java.lang.Object
com.jadice.web.util.icon.client.iconfont.MulticolorIconFont
- All Implemented Interfaces:
IconFont
This class is needed if multicolor icon font glyphs should be displayed. One glyph cannot have
more then one color, so these glyphs consist of multi glyph parts where each of them has its own
color.
-
Constructor Summary
ConstructorDescriptionMulticolorIconFont
(String baseStyleName, String... pathNames) Creates a new multicolor icon font consisting of the baseStyleName (eg. -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the style name which should be set to the html that should display the icon font.
-
Constructor Details
-
MulticolorIconFont
Creates a new multicolor icon font consisting of the baseStyleName (eg. jwt-anno-pen) and the names of the sub paths (normally path1, path2,...)- Parameters:
baseStyleName
- the base style namepathNames
- the name of the sub paths
-
-
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
-
getPathNames
-