Class PMIconCache
- java.lang.Object
-
- org.processmining.contexts.uitopia.packagemanager.PMIconCache
-
public class PMIconCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PMIconCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.ImageIcon
getIcon(PMPackage pack)
static javax.swing.ImageIcon
getIcon(org.processmining.framework.packages.PackageDescriptor pack)
static javax.swing.ImageIcon
getIconPreview(PMPackage pack)
static javax.swing.ImageIcon
getIconPreview(org.processmining.framework.packages.PackageDescriptor pack)
static java.awt.Image
getPreview(javax.swing.ImageIcon icon, int w, int h)
-
-
-
Method Detail
-
getIcon
public static javax.swing.ImageIcon getIcon(org.processmining.framework.packages.PackageDescriptor pack)
-
getIcon
public static javax.swing.ImageIcon getIcon(PMPackage pack) throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
getIconPreview
public static javax.swing.ImageIcon getIconPreview(org.processmining.framework.packages.PackageDescriptor pack)
-
getIconPreview
public static javax.swing.ImageIcon getIconPreview(PMPackage pack)
-
getPreview
public static java.awt.Image getPreview(javax.swing.ImageIcon icon, int w, int h)
-
-