com.aelitis.azureus.ui.swt.skin
Interface SWTSkinProperties

All Superinterfaces:
SkinProperties
All Known Subinterfaces:
SWTSkinPropertiesParam
All Known Implementing Classes:
SWTSkinPropertiesClone, SWTSkinPropertiesImpl, SWTSkinPropertiesParamImpl

public interface SWTSkinProperties
extends SkinProperties

Extends SkinProperties with SWT specific methods

Author:
TuxPaper

Method Summary
 org.eclipse.swt.graphics.Color getColor(java.lang.String name)
          Retrieve a color property in as a SWT Color
 org.eclipse.swt.graphics.Color getColor(java.lang.String name, org.eclipse.swt.graphics.Color def)
           
 SWTColorWithAlpha getColorWithAlpha(java.lang.String sID)
           
 int getPxValue(java.lang.String name, int def)
          Get value in px, adjusted for dpi
 
Methods inherited from interface com.aelitis.azureus.ui.skin.SkinProperties
addProperty, addResourceBundle, addResourceBundle, clearCache, getBooleanValue, getClassLoader, getColorValue, getEmHeightPX, getIntValue, getReferenceID, getStringArray, getStringArray, getStringValue, getStringValue, getStringValue, getStringValue, hasKey
 

Method Detail

getColor

org.eclipse.swt.graphics.Color getColor(java.lang.String name)
Retrieve a color property in as a SWT Color

Parameters:
name - Property Name
Returns:
a Color, or null

getColor

org.eclipse.swt.graphics.Color getColor(java.lang.String name,
                                        org.eclipse.swt.graphics.Color def)

getColorWithAlpha

SWTColorWithAlpha getColorWithAlpha(java.lang.String sID)
Parameters:
sID -
Returns:
Since:
4.4.0.7

getPxValue

int getPxValue(java.lang.String name,
               int def)
Get value in px, adjusted for dpi