|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.util.ReportParameters
public final class ReportParameters
The report parameters collection is a map with string keys. The parameters can be used in a query and will appear as part of the datarow.
Constructor Summary | |
---|---|
ReportParameters()
Default constructor. |
|
ReportParameters(ReportParameters props)
Copy constructor. |
Method Summary | |
---|---|
void |
clear()
Removes all properties stored in this collection. |
java.lang.Object |
clone()
Clones the properties. |
boolean |
containsKey(java.lang.String key)
Checks whether the given key is stored in this collection of ReportProperties. |
java.lang.Object |
get(java.lang.String key)
Retrieves the value stored for a key in this properties collection. |
java.lang.Object |
get(java.lang.String key,
java.lang.Object defaultValue)
Retrieves the value stored for a key in this properties collection, and returning the default value if the key was not stored in this properties collection. |
java.lang.String[] |
keys()
Returns all property keys as array. |
void |
put(java.lang.String key,
java.lang.Object value)
Adds a property to this properties collection. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportParameters(ReportParameters props)
props
- an existing ReportProperties instance.public ReportParameters()
Method Detail |
---|
public void put(java.lang.String key, java.lang.Object value)
key
- the property key.value
- the property value.public java.lang.Object get(java.lang.String key)
key
- the property key.
null
if the key does not exist in this
collection.public java.lang.Object get(java.lang.String key, java.lang.Object defaultValue)
key
- the property key.defaultValue
- the default value to be returned when the key is not stored in
this properties collection.
public java.lang.String[] keys()
public void clear()
public boolean containsKey(java.lang.String key)
key
- the property key.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- this should never happen.public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |