Package org.pentaho.di.core.util
Class SwingSvgImageUtil
- java.lang.Object
-
- org.pentaho.di.core.util.SwingSvgImageUtil
-
public class SwingSvgImageUtil extends Object
Class for loading images from SVG, PNG, or other bitmap formats. Logic is: if SVG is enabled, then SVG icon loaded if exist. Otherwise, class trying to change name into PNG and try to load. If initial name is PNG, then PNG icon will be loaded.
-
-
Constructor Summary
Constructors Constructor Description SwingSvgImageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.pentaho.di.core.SwingUniversalImage
getImage(String location)
Load image from several sources.static org.pentaho.di.core.SwingUniversalImage
getImageAsResource(String location)
Load image from several sources.static org.pentaho.di.core.SwingUniversalImage
getUniversalImage(ClassLoader classLoader, String filename)
Load image from several sources.
-
-
-
Method Detail
-
getImageAsResource
public static org.pentaho.di.core.SwingUniversalImage getImageAsResource(String location)
Load image from several sources.
-
getUniversalImage
public static org.pentaho.di.core.SwingUniversalImage getUniversalImage(ClassLoader classLoader, String filename)
Load image from several sources.
-
getImage
public static org.pentaho.di.core.SwingUniversalImage getImage(String location)
Load image from several sources.
-
-