Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PMIconCache

        public PMIconCache()
    • 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)