|
jrworkspace by jTEM |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jtem.jrworkspace.plugin.simplecontroller.image.ImageHook
public class ImageHook
An image loader for jar files
Copyright 2005 Stefan Sechelmann TU-Berlin
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)
|
static void |
setIconImage(Dialog dialog,
Image image)
Java 5 safe method to set the icon image of a dialog |
static void |
setIconImage(Frame dialog,
Image image)
Java 5 safe method to set the icon image of a frame |
static Image |
toImage(Icon icon)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageHook()
Method Detail |
---|
public static Icon getIcon(String filename)
public static Icon getIcon(String filename, int width, int height)
public static Image getImage(String filename)
public static Image getImage(String filename, int width, int height)
public static Image renderIcon(Icon icon)
public static Icon scaleIcon(Icon icon, int width, int height)
public static Image scaleImage(Image image, int width, int height)
public static void setIconImage(Dialog dialog, Image image)
dialog
- image
- public static void setIconImage(Frame dialog, Image image)
dialog
- image
- public static Image toImage(Icon icon)
|
jrworkspace by jTEM |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |