Class SvgIconUtil
- java.lang.Object
- 
- com.inductiveautomation.ignition.client.icons.SvgIconUtil
 
- 
 public class SvgIconUtil extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSvgIconUtil.AbstractSvgIconstatic classSvgIconUtil.SvgIcon
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.svg.SVGDocumentgetDocument(java.lang.Class relativeClass, java.lang.String filePath)static javax.swing.IcongetIcon(java.lang.Class relativeClass, java.lang.String name)static javax.swing.IcongetIcon(java.lang.Class relativeClass, java.lang.String name, int width, int height)static javax.swing.IcongetIcon(java.lang.String name)Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at 16x16.static javax.swing.IcongetIcon(java.lang.String name, int width, int height)Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at width x height.static javax.swing.IcongetSvgIcon(java.lang.Class relativeClass, java.lang.String path, int width, int height)Retrieves an svg icon located in the specified class's *.jar file.
 
- 
- 
- 
Method Detail- 
getIconpublic static javax.swing.Icon getIcon(java.lang.String name) Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at 16x16.
 - 
getIconpublic static javax.swing.Icon getIcon(java.lang.String name, int width, int height)Gets the svg matching the supplied name without extension from the 'images/svgicons' resource dir at width x height.
 - 
getIconpublic static javax.swing.Icon getIcon(java.lang.Class relativeClass, java.lang.String name)
 - 
getIconpublic static javax.swing.Icon getIcon(java.lang.Class relativeClass, java.lang.String name, int width, int height)
 - 
getSvgIconpublic static javax.swing.Icon getSvgIcon(java.lang.Class relativeClass, java.lang.String path, int width, int height)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.
 - 
getDocumentpublic static org.w3c.dom.svg.SVGDocument getDocument(java.lang.Class relativeClass, java.lang.String filePath)
 
- 
 
-