Class KImageLoader

java.lang.Object
com.kheops.util.KImageLoader

public abstract class KImageLoader extends Object
A utility helper class used to load images from an URL or from a resource file.
  • Constructor Details Link icon

    • KImageLoader Link icon

      public KImageLoader()
  • Method Details Link icon

    • loadImageFromURL Link icon

      public static Image loadImageFromURL(URL imageURL)
      Loads an image from the specified URL.
    • loadImageFromResource Link icon

      public static Image loadImageFromResource(String name, Class srcClass)
      Loads an the specified image from a resource file using the specified object as the base path.
    • loadImageFromResource Link icon

      public static Image loadImageFromResource(String name, Object src)
      Loads an the specified image from a resource file using the specified object as the base path.