Package com.l2fprod.gui.plaf.skin
Class SkinUtils
java.lang.Object
com.l2fprod.gui.plaf.skin.SkinUtils
- Version:
- $Revision: 1.6 $, $Date: 2004/05/22 15:12:33 $
- Author:
- $Author: l2fprod $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeColor
(String color) Description of the Methodstatic Font
Gets the Font attribute of the SkinUtils classstatic Image
Description of the Methodstatic Image
Description of the Methodstatic void
Sets the Font attribute of the SkinUtils classstatic Insets
stringToInsets
(String border) Convert strings like 12, 12, 54, 45 to an insets where values are LEFT, RIGHT, TOP, BOTTOMstatic URL
Description of the Method
-
Field Details
-
DEBUG
public static final boolean DEBUGDescription of the Field
-
-
Constructor Details
-
SkinUtils
public SkinUtils()
-
-
Method Details
-
setFont
Sets the Font attribute of the SkinUtils class- Parameters:
f
- The new Font value
-
getFont
Gets the Font attribute of the SkinUtils class- Parameters:
name
- Description of Parametertype
- Description of Parametersize
- Description of Parameter- Returns:
- The Font value
-
loadImage
Description of the Method- Parameters:
filename
- Description of Parameter- Returns:
- Description of the Returned Value
- Throws:
Exception
- Description of Exception
-
loadImage
Description of the Method- Parameters:
url
- Description of Parameter- Returns:
- Description of the Returned Value
- Throws:
Exception
- Description of Exception
-
toURL
Description of the Method- Parameters:
f
- Description of Parameter- Returns:
- Description of the Returned Value
- Throws:
MalformedURLException
- Description of Exception
-
decodeColor
Description of the Method- Parameters:
color
- Description of Parameter- Returns:
- Description of the Returned Value
-
stringToInsets
Convert strings like 12, 12, 54, 45 to an insets where values are LEFT, RIGHT, TOP, BOTTOM
-