|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.l2fprod.gui.plaf.skin.SkinUtils
public final class SkinUtils
Field Summary | |
---|---|
static boolean |
DEBUG
Description of the Field |
Constructor Summary | |
---|---|
SkinUtils()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean DEBUG
Constructor Detail |
---|
public SkinUtils()
Method Detail |
---|
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 Parameter
public static java.awt.Image loadImage(java.lang.String filename) throws java.lang.Exception
filename
- Description of Parameter
java.lang.Exception
- Description of Exceptionpublic static java.awt.Image loadImage(java.net.URL url) throws java.lang.Exception
url
- Description of Parameter
java.lang.Exception
- Description of Exceptionpublic static java.net.URL toURL(java.io.File f) throws java.net.MalformedURLException
f
- Description of Parameter
java.net.MalformedURLException
- Description of Exceptionpublic static java.lang.String decodeColor(java.lang.String color)
color
- Description of Parameter
public static java.awt.Insets stringToInsets(java.lang.String border)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |