Class SWTSkinPropertiesImpl
java.lang.Object
com.biglybt.ui.skin.SkinPropertiesImpl
com.biglybt.ui.swt.skin.SWTSkinPropertiesImpl
- All Implemented Interfaces:
SkinProperties, SWTSkinProperties
-
Field Summary
FieldsFields inherited from class SkinPropertiesImpl
PATH_SKIN_DEFS -
Constructor Summary
ConstructorsConstructorDescriptionSWTSkinPropertiesImpl(ClassLoader classLoader, String skinPath, String mainSkinFile) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic voidorg.eclipse.swt.graphics.ColorRetrieve a color property in as a SWT Colororg.eclipse.swt.graphics.ColorgetColorWithAlpha(String sID) intgetPxValue(String name, int def) Get value in px, adjusted for dpiprivate voidMethods inherited from class SkinPropertiesImpl
addProperty, addResourceBundle, addResourceBundle, getBooleanValue, getClassLoader, getColorValue, getEmHeightPX, getIntValue, getReferenceID, getSkinID, getStringArray, getStringArray, getStringValue, getStringValue, getStringValue, getStringValue, getValue, hasKey, setEmHeightPXMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SkinProperties
addProperty, addResourceBundle, addResourceBundle, getBooleanValue, getClassLoader, getColorValue, getEmHeightPX, getIntValue, getReferenceID, getStringArray, getStringArray, getStringValue, getStringValue, getStringValue, getStringValue, hasKeyMethods inherited from interface SWTSkinProperties
getSkinID
-
Field Details
-
colorMap
-
-
Constructor Details
-
SWTSkinPropertiesImpl
- Parameters:
skinPath-mainSkinFile-
-
SWTSkinPropertiesImpl
public SWTSkinPropertiesImpl()
-
-
Method Details
-
setEmHeight
private void setEmHeight() -
getColor
Description copied from interface:SWTSkinPropertiesRetrieve a color property in as a SWT Color- Specified by:
getColorin interfaceSWTSkinProperties- Parameters:
sID- Property Name- Returns:
- a Color, or null
-
getColorWithAlpha
- Specified by:
getColorWithAlphain interfaceSWTSkinProperties- Parameters:
sID-- Returns:
-
clearCache
public void clearCache()- Specified by:
clearCachein interfaceSkinProperties- Overrides:
clearCachein classSkinPropertiesImpl
-
getColor
- Specified by:
getColorin interfaceSWTSkinProperties
-
getPxValue
Description copied from interface:SWTSkinPropertiesGet value in px, adjusted for dpi- Specified by:
getPxValuein interfaceSWTSkinProperties
-
destroyStatics
public static void destroyStatics()
-