public final class SkinUtils
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
DEBUG |
Description of the Field
|
| Constructor | Description |
|---|---|
SkinUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
decodeColor(java.lang.String color) |
Description of the Method
|
static java.awt.Font |
getFont(java.lang.String name,
int type,
int size) |
Gets the Font attribute of the SkinUtils class
|
static java.awt.Image |
loadImage(java.lang.String filename) |
Description of the Method
|
static java.awt.Image |
loadImage(java.net.URL url) |
Description of the Method
|
static void |
setFont(java.awt.Font f) |
Sets the Font attribute of the SkinUtils class
|
static java.awt.Insets |
stringToInsets(java.lang.String border) |
Convert strings like 12, 12, 54, 45 to an insets
where values are LEFT, RIGHT, TOP, BOTTOM
|
static java.net.URL |
toURL(java.io.File f) |
Description of the Method
|
public static void setFont(java.awt.Font f)
f - The new Font valuepublic static java.awt.Font getFont(java.lang.String name,
int type,
int size)
name - Description of Parametertype - Description of Parametersize - Description of Parameterpublic static java.awt.Image loadImage(java.lang.String filename)
throws java.lang.Exception
filename - Description of Parameterjava.lang.Exception - Description of Exceptionpublic static java.awt.Image loadImage(java.net.URL url)
throws java.lang.Exception
url - Description of Parameterjava.lang.Exception - Description of Exceptionpublic static java.net.URL toURL(java.io.File f)
throws java.net.MalformedURLException
f - Description of Parameterjava.net.MalformedURLException - Description of Exceptionpublic static java.lang.String decodeColor(java.lang.String color)
color - Description of Parameterpublic static java.awt.Insets stringToInsets(java.lang.String border)