|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmarg.images.ResUtils
public class ResUtils
Constructor Summary | |
---|---|
ResUtils()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
getBufferedImage(java.lang.String name)
Finds, reads and returns an image that can be accessed by class code in a way that is independent of the location of the code. |
static javax.swing.ImageIcon |
getImageIcon(java.lang.String name)
|
static java.net.URL |
getURL(java.lang.String name)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResUtils()
Method Detail |
---|
public static java.net.URL getURL(java.lang.String name)
public static javax.swing.ImageIcon getImageIcon(java.lang.String name)
public static java.awt.image.BufferedImage getBufferedImage(java.lang.String name)
name
- The / separated name of the ressource to locate the image at
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |