|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.style.StyleKey
A style key represents a (key, class) pair. Style keys are used to access style attributes
defined in a BandStyleSheet
or an ElementStyleSheet
Note that this class also defines a static Hashtable in which all defined keys are stored.
BandStyleSheet
,
ElementStyleSheet
,
Serialized FormMethod Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getName()
Returns the name of the key. |
static StyleKey |
getStyleKey(java.lang.String name)
Returns the key with the specified name. |
static StyleKey |
getStyleKey(java.lang.String name,
java.lang.Class valueType)
Returns the key with the specified name. |
static StyleKey |
getStyleKey(java.lang.String name,
java.lang.Class valueType,
boolean trans)
Returns the key with the specified name. |
java.lang.Class |
getValueType()
Returns the class of the value for this key. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isTransient()
|
protected java.lang.Object |
readResolve()
Replaces the automaticly generated instance with one of the defined stylekey instances or creates a new stylekey. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public java.lang.Class getValueType()
public static StyleKey getStyleKey(java.lang.String name, java.lang.Class valueType)
name
- the name.valueType
- the class.
public static StyleKey getStyleKey(java.lang.String name, java.lang.Class valueType, boolean trans)
name
- the name.valueType
- the class.
public static StyleKey getStyleKey(java.lang.String name)
name
- the name.
public boolean equals(java.lang.Object o)
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.public int hashCode()
java.util.Hashtable
.
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
- if the element could not be resolved.public boolean isTransient()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |