Package rma.swing

Class RmaImage

java.lang.Object
rma.swing.RmaImage

public final class RmaImage extends Object
  • Field Details

  • Constructor Details

    • RmaImage

      public RmaImage()
  • Method Details

    • loadURLImage

      @Deprecated public static Image loadURLImage(Component parent, String urlstr)
      Deprecated.
      use loadURLImage(String urlstr) instead
      Parameters:
      parent - unused
      urlstr - - URL for the image resource
      Returns:
      Image loaded from the supplied URL, can be null if the image does not exist
    • loadURLImage

      public static Image loadURLImage(String urlstr)
    • getImageIcon

      public static ImageIcon getImageIcon(String name)
      Retrieves a ImageIcon for a particular path. The path could be a path for a system resource, or a file path. This method checks the system resources first. If nothing is found, it checks the file path. If
    • getImageIcon

      public static ImageIcon getImageIcon(URL url)
    • loadbitmap

      public static Image loadbitmap(URL url)
      Returns: Image Object, be sure to check for (Image)null !!!!
    • getCompositeIconFactory

      public static CompositeIconFactory getCompositeIconFactory(String name, int width, int height)
      The method creates a factory that allows the interation over a 1 or 2 dimmensional "array" of same sized icons in an image.
      Parameters:
      name - the name of the image to load
      width - the width of every image
      height - the height of every image.
    • getDisabledIcon

      public static Icon getDisabledIcon(Icon icon)
    • getDisabledImage

      public static Image getDisabledImage(Image image)