public class ImageProvider
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageProvider.ImageFile
This enumeration 'knows' all images within the current package and can.
|
| Constructor and Description |
|---|
ImageProvider() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Image |
getImage(ImageProvider.ImageFile imageFileName)
Returns an image out of the current package as
ImageIcon. |
static java.awt.Image |
getImage(java.lang.String simpleImageFileName)
Returns an image out of the current package as
ImageIcon. |
static java.awt.Image |
getImage(java.net.URL imageURL)
Returns an image out of the current package as
ImageIcon. |
static javax.swing.ImageIcon |
getImageIcon(ImageProvider.ImageFile imageFileName)
Returns an image out of the current package as ImageIcon.
|
static javax.swing.ImageIcon |
getImageIcon(java.lang.String simpleImageFileName)
Returns an image out of the current package as ImageIcon.
|
static javax.swing.ImageIcon |
getImageIcon(java.net.URL imageURL)
Returns an image out of the current package as ImageIcon.
|
public static javax.swing.ImageIcon getImageIcon(java.net.URL imageURL)
imageURL - the image URLpublic static javax.swing.ImageIcon getImageIcon(java.lang.String simpleImageFileName)
simpleImageFileName - the simple image file namepublic static javax.swing.ImageIcon getImageIcon(ImageProvider.ImageFile imageFileName)
imageFileName - the image file namepublic static java.awt.Image getImage(java.net.URL imageURL)
ImageIcon.simpleImageFileName - the simple image file namepublic static java.awt.Image getImage(java.lang.String simpleImageFileName)
ImageIcon.simpleImageFileName - the simple image file namepublic static java.awt.Image getImage(ImageProvider.ImageFile imageFileName)
ImageIcon.imageFileName - the image file name