public class GUIImageLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static javax.swing.UIDefaults |
icons
The image icons.
|
Constructor and Description |
---|
GUIImageLoader() |
Modifier and Type | Method and Description |
---|---|
static int |
getCardIconHeight()
Get bthe height of the icons.
|
static javax.swing.ImageIcon |
getImage(java.lang.String card)
Load the image of the card passed as a parameter
|
static void |
main(java.lang.String[] args)
Main for testing.
|
public static javax.swing.ImageIcon getImage(java.lang.String card)
card
- String-representation of the card to load
the image for, cardName == fileNamepublic static void main(java.lang.String[] args)
public static int getCardIconHeight()