|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aelitis.azureus.ui.swt.skin.SWTSkinPropertiesParamImpl
public class SWTSkinPropertiesParamImpl
SWTSkinProperties delegator that always passes a set of parameters to string requests.
Constructor Summary | |
---|---|
SWTSkinPropertiesParamImpl(SWTSkinProperties properties,
String[] sCloneParams)
|
Method Summary | |
---|---|
void |
addProperty(String name,
String value)
Add a property key/value pair to the list |
void |
addResourceBundle(ResourceBundle subBundle,
String skinPath)
|
void |
addResourceBundle(ResourceBundle subBundle,
String skinPath,
ClassLoader loader)
|
void |
clearCache()
|
boolean |
getBooleanValue(String name,
boolean def)
|
ClassLoader |
getClassLoader()
|
org.eclipse.swt.graphics.Color |
getColor(String name)
Retrieve a color property in as a SWT Color |
org.eclipse.swt.graphics.Color |
getColor(String name,
org.eclipse.swt.graphics.Color def)
|
int[] |
getColorValue(String name)
|
SWTColorWithAlpha |
getColorWithAlpha(String sID)
|
int |
getEmHeightPX()
|
int |
getIntValue(String name,
int def)
Retrieve a property's int value |
String[] |
getParamValues()
|
int |
getPxValue(String name,
int def)
Get value in px, adjusted for dpi |
String |
getReferenceID(String name)
|
String[] |
getStringArray(String name)
|
String[] |
getStringArray(String name,
String[] params)
|
String |
getStringValue(String name)
Retrieve a string value |
String |
getStringValue(String name,
String def)
|
String |
getStringValue(String name,
String[] params)
|
String |
getStringValue(String name,
String[] params,
String def)
|
boolean |
hasKey(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWTSkinPropertiesParamImpl(SWTSkinProperties properties, String[] sCloneParams)
properties
- Method Detail |
---|
public void addProperty(String name, String value)
SkinProperties
addProperty
in interface SkinProperties
name
- Name of Propertyvalue
- Value of Propertypublic org.eclipse.swt.graphics.Color getColor(String name)
SWTSkinProperties
getColor
in interface SWTSkinProperties
name
- Property Name
public SWTColorWithAlpha getColorWithAlpha(String sID)
getColorWithAlpha
in interface SWTSkinProperties
public int[] getColorValue(String name)
getColorValue
in interface SkinProperties
public int getIntValue(String name, int def)
SkinProperties
getIntValue
in interface SkinProperties
name
- Name of propertydef
- Default value if property not found
public String[] getStringArray(String name, String[] params)
getStringArray
in interface SkinProperties
public String[] getStringArray(String name)
getStringArray
in interface SkinProperties
public String getStringValue(String name, String def)
getStringValue
in interface SkinProperties
public String getStringValue(String name, String[] params, String def)
getStringValue
in interface SkinProperties
public String getStringValue(String name, String[] params)
getStringValue
in interface SkinProperties
public String getStringValue(String name)
SkinProperties
getStringValue
in interface SkinProperties
name
- Name of property
public boolean getBooleanValue(String name, boolean def)
getBooleanValue
in interface SkinProperties
public String[] getParamValues()
getParamValues
in interface SWTSkinPropertiesParam
public void clearCache()
clearCache
in interface SkinProperties
public boolean hasKey(String name)
hasKey
in interface SkinProperties
public org.eclipse.swt.graphics.Color getColor(String name, org.eclipse.swt.graphics.Color def)
getColor
in interface SWTSkinProperties
public int getEmHeightPX()
getEmHeightPX
in interface SkinProperties
public int getPxValue(String name, int def)
SWTSkinProperties
getPxValue
in interface SWTSkinProperties
public String getReferenceID(String name)
getReferenceID
in interface SkinProperties
public void addResourceBundle(ResourceBundle subBundle, String skinPath)
addResourceBundle
in interface SkinProperties
skinPath
- TODOpublic void addResourceBundle(ResourceBundle subBundle, String skinPath, ClassLoader loader)
addResourceBundle
in interface SkinProperties
public ClassLoader getClassLoader()
getClassLoader
in interface SkinProperties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |