java2dx by
jTEM

de.jtem.java2dx.plugin.icon
Class ImageHook

java.lang.Object
  extended by de.jtem.java2dx.plugin.icon.ImageHook

public class ImageHook
extends Object

An image loader for jar files

Copyright 2005 Stefan Sechelmann TU-Berlin

Author:
Stefan Sechelmann

Constructor Summary
ImageHook()
           
 
Method Summary
static Icon getIcon(String filename)
           
static Icon getIcon(String filename, int width, int height)
           
static Image getImage(String filename)
           
static Image getImage(String filename, int width, int height)
           
static Image renderIcon(Icon icon)
           
static Icon scaleIcon(Icon icon, int width, int height)
           
static Image scaleImage(Image image, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageHook

public ImageHook()
Method Detail

getIcon

public static Icon getIcon(String filename)

getIcon

public static Icon getIcon(String filename,
                           int width,
                           int height)

getImage

public static Image getImage(String filename)

getImage

public static Image getImage(String filename,
                             int width,
                             int height)

renderIcon

public static Image renderIcon(Icon icon)

scaleIcon

public static Icon scaleIcon(Icon icon,
                             int width,
                             int height)

scaleImage

public static Image scaleImage(Image image,
                               int width,
                               int height)

java2dx by
jTEM

jTEM