Interface SkinProperties
- All Known Subinterfaces:
SWTSkinProperties, SWTSkinPropertiesParam
- All Known Implementing Classes:
SkinPropertiesImpl, SWTSkinPropertiesClone, SWTSkinPropertiesImpl, SWTSkinPropertiesParamImpl
public interface SkinProperties
Interface for reading Skin properties (might be better)
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String name, String value) Add a property key/value pair to the listvoidaddResourceBundle(ResourceBundle subBundle, String skinPath) voidaddResourceBundle(ResourceBundle subBundle, String skinPath, ClassLoader loader) voidbooleangetBooleanValue(String name, boolean def) int[]getColorValue(String name) intintgetIntValue(String name, int def) Retrieve a property's int valuegetReferenceID(String name) String[]getStringArray(String name) String[]getStringArray(String name, String[] params) getStringValue(String name) Retrieve a string valuegetStringValue(String name, String def) getStringValue(String name, String[] params) getStringValue(String name, String[] params, String def) boolean
-
Method Details
-
addProperty
-
getIntValue
Retrieve a property's int value- Parameters:
name- Name of propertydef- Default value if property not found- Returns:
- value
-
getStringValue
-
getStringValue
-
getStringArray
-
getStringValue
-
getStringValue
-
getStringArray
-
getColorValue
-
getBooleanValue
-
clearCache
void clearCache()- Since:
- 3.1.1.1
-
hasKey
- Parameters:
name-- Returns:
- Since:
- 3.1.1.1
-
getReferenceID
-
addResourceBundle
- Parameters:
subBundle-skinPath- TODO- Since:
- 4.0.0.5
-
addResourceBundle
- Parameters:
subBundle-skinPath-loader-- Since:
- 4315
-
getClassLoader
ClassLoader getClassLoader()- Returns:
- Since:
- 4.0.0.5
-
getEmHeightPX
int getEmHeightPX()- Returns:
- Since:
- 5.6.2.1
-