Package io.jenkins.plugins.fontawesome
Klasse SvgTag
java.lang.Object
io.jenkins.plugins.fontawesome.SvgTag
Textual SVG tag representation that shows a FontAwesome icon.
- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumAvailable Font Awesome styles. -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a newSvgTagthat renders the specified SVG icon of FontAwesome usingSvgTag.FontAwesomeStyle.SOLID.SvgTag(String iconName, SvgTag.FontAwesomeStyle style) Creates a newSvgTagthat renders the specified SVG icon of FontAwesome. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic SvgTagfontAwesomeSvgIcon(String iconName) Creates a newSvgTagthat renders the specified SVG icon of FontAwesome usingSvgTag.FontAwesomeStyle.SOLID.static SvgTagfontAwesomeSvgIcon(String iconName, SvgTag.FontAwesomeStyle style) Creates a newSvgTagthat renders the specified SVG icon of FontAwesome.render()Renders this tag into plain HTML String representation.toString()withClasses(String... classNames) Uses the specified class names for this SVG tag.
-
Konstruktordetails
-
SvgTag
Creates a newSvgTagthat renders the specified SVG icon of FontAwesome usingSvgTag.FontAwesomeStyle.SOLID.- Parameter:
iconName- the name of the icon (without fa- prefix), e.g.chevron-circle-up.
-
SvgTag
Creates a newSvgTagthat renders the specified SVG icon of FontAwesome.- Parameter:
iconName- the name of the icon (without fa- prefix), e.g.chevron-circle-up.style- Font Awesome style of the icon
-
-
Methodendetails
-
fontAwesomeSvgIcon
Creates a newSvgTagthat renders the specified SVG icon of FontAwesome usingSvgTag.FontAwesomeStyle.SOLID.- Parameter:
iconName- the name of the icon (without fa- prefix), e.g.chevron-circle-up.- Gibt zurück:
- the HTML tag
-
fontAwesomeSvgIcon
Creates a newSvgTagthat renders the specified SVG icon of FontAwesome.- Parameter:
iconName- the name of the icon (without fa- prefix), e.g.chevron-circle-up.style- Font Awesome style of the icon- Gibt zurück:
- the HTML tag
-
withClasses
Uses the specified class names for this SVG tag. Adds the tagICON_MDas well as class.- Parameter:
classNames- the additional class names, might be empty- Gibt zurück:
- this tag
-
render
Renders this tag into plain HTML String representation.- Gibt zurück:
- the tag as HTML String
-
toString
-