Package com.biglybt.ui.skin
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 TypeMethodDescriptionvoid
addProperty
(String name, String value) Add a property key/value pair to the listvoid
addResourceBundle
(ResourceBundle subBundle, String skinPath) void
addResourceBundle
(ResourceBundle subBundle, String skinPath, ClassLoader loader) void
boolean
getBooleanValue
(String name, boolean def) int[]
getColorValue
(String name) int
int
getIntValue
(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
Add a property key/value pair to the list- Parameters:
name
- Name of Propertyvalue
- Value of Property
-
getIntValue
Retrieve a property's int value- Parameters:
name
- Name of propertydef
- Default value if property not found- Returns:
- value
-
getStringValue
Retrieve a string value- Parameters:
name
- Name of property- Returns:
- the String value, or null if not found
-
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
- Parameters:
name
-- Returns:
- Since:
- 3.1.1.1
-
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
-