Class IconLoader

java.lang.Object
com.vividsolutions.jump.workbench.ui.images.IconLoader
Direct Known Subclasses:
IconLoader, IconLoaderFamFam

public class IconLoader extends Object
Gets an icon from this class' package.
  • Constructor Details

    • IconLoader

      public IconLoader()
  • Method Details

    • icon

      public static ImageIcon icon(String filename)
    • image

      public static BufferedImage image(String filename)
    • getIcon

      protected static ImageIcon getIcon(String filename)
    • getIcon

      protected static ImageIcon getIcon(Class<?> clazz, String filename)
    • getIcon

      protected static ImageIcon getIcon(URL url)
    • resolveFile

      protected static String resolveFile(String filename)
      Utility method to automagically resolve images that moved into their appropriate icon set subfolders for legacy code
      Parameters:
      filename - name of the file containing the Icon
      Returns:
      the path of the Icon File