|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The extended configuration provides methods to make using the configuration easier.
Method Summary | |
boolean |
getBoolProperty(java.lang.String name)
Returns the boolean value of a given configuration property. |
boolean |
getBoolProperty(java.lang.String name,
boolean defaultValue)
Returns the boolean value of a given configuration property. |
int |
getIntProperty(java.lang.String name)
Returns a given property as int value. |
int |
getIntProperty(java.lang.String name,
int defaultValue)
Returns a given property as int value. |
boolean |
isPropertySet(java.lang.String name)
Checks, whether a given property is defined. |
Methods inherited from interface org.jfree.util.Configuration |
findPropertyKeys, getConfigProperties, getConfigProperty, getConfigProperty |
Method Detail |
public boolean isPropertySet(java.lang.String name)
name
- the name of the property
public int getIntProperty(java.lang.String name)
name
- the name of the property
public int getIntProperty(java.lang.String name, int defaultValue)
name
- the name of the propertydefaultValue
- the value to be returned if the property is no integer value
public boolean getBoolProperty(java.lang.String name)
name
- the name of the property
public boolean getBoolProperty(java.lang.String name, boolean defaultValue)
name
- the name of the propertydefaultValue
- the default value to be returned if the property is not set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |