Class SvgIconUtil
java.lang.Object
com.inductiveautomation.ignition.client.icons.SvgIconUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.w3c.dom.svg.SVGDocument
getDocument
(Class relativeClass, String filePath) static Icon
static Icon
static Icon
Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at 16x16.static Icon
Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at width x height.static Icon
getSvgIcon
(Class relativeClass, String path, int width, int height) Retrieves an svg icon located in the specified class's *.jar file.
-
Method Details
-
getIcon
Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at 16x16. -
getIcon
Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at width x height. -
getIcon
-
getIcon
-
getSvgIcon
Retrieves an svg icon located in the specified class's *.jar file. It attempts to load the image by looking for it at: "/images/svgicons/path.svg". May return null if the icon does not exist. -
getDocument
-