com.aelitis.azureus.ui.swt.skin
Class SWTSkinPropertiesImpl
java.lang.Object
com.aelitis.azureus.ui.skin.SkinPropertiesImpl
com.aelitis.azureus.ui.swt.skin.SWTSkinPropertiesImpl
- All Implemented Interfaces:
- SkinProperties, SWTSkinProperties
public class SWTSkinPropertiesImpl
- extends SkinPropertiesImpl
- implements SWTSkinProperties
- Author:
- TuxPaper
| Methods inherited from class com.aelitis.azureus.ui.skin.SkinPropertiesImpl |
addProperty, addResourceBundle, addResourceBundle, getBooleanValue, getClassLoader, getColorValue, getEmHeightPX, getIntValue, getReferenceID, getStringArray, getStringArray, getStringValue, getStringValue, getStringValue, getStringValue, getValue, hasKey, setEmHeightPX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.aelitis.azureus.ui.skin.SkinProperties |
addProperty, addResourceBundle, addResourceBundle, getBooleanValue, getClassLoader, getColorValue, getEmHeightPX, getIntValue, getReferenceID, getStringArray, getStringArray, getStringValue, getStringValue, getStringValue, getStringValue, hasKey |
SWTSkinPropertiesImpl
public SWTSkinPropertiesImpl(ClassLoader classLoader,
String skinPath,
String mainSkinFile)
- Parameters:
skinPath - mainSkinFile -
SWTSkinPropertiesImpl
public SWTSkinPropertiesImpl()
getColor
public org.eclipse.swt.graphics.Color getColor(String sID)
- Description copied from interface:
SWTSkinProperties
- Retrieve a color property in as a SWT Color
- Specified by:
getColor in interface SWTSkinProperties
- Parameters:
sID - Property Name
- Returns:
- a Color, or null
getColorWithAlpha
public SWTColorWithAlpha getColorWithAlpha(String sID)
- Specified by:
getColorWithAlpha in interface SWTSkinProperties
- Returns:
clearCache
public void clearCache()
- Specified by:
clearCache in interface SkinProperties- Overrides:
clearCache in class SkinPropertiesImpl
getColor
public org.eclipse.swt.graphics.Color getColor(String name,
org.eclipse.swt.graphics.Color def)
- Specified by:
getColor in interface SWTSkinProperties
getPxValue
public int getPxValue(String name,
int def)
- Description copied from interface:
SWTSkinProperties
- Get value in px, adjusted for dpi
- Specified by:
getPxValue in interface SWTSkinProperties