|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.style.StyleKey
public final class StyleKey
A style key represents a (key, class) pair. Style keys are used to access style attributes defined in a
BandStyleSheet or an ElementStyleSheet
BandStyleKeys,
ElementStyleSheet,
Serialized Form| Field Summary | |
|---|---|
int |
identifier
A unique int-key for the stylekey. |
String |
name
The name of the style key. |
| Method Summary | |
|---|---|
static void |
assertNoNullEntries()
|
Object |
clone()
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
static int |
getDefinedStyleKeyCount()
|
static StyleKey[] |
getDefinedStyleKeys()
|
int |
getIdentifier()
|
String |
getName()
Returns the name of the key. |
static StyleKey |
getStyleKey(String name)
Returns the key with the specified name. |
static StyleKey |
getStyleKey(String name,
Class valueType)
Returns the key with the specified name. |
static StyleKey |
getStyleKey(String name,
Class valueType,
boolean trans,
boolean inheritable)
Returns the key with the specified name. |
Class |
getValueType()
Returns the class of the value for this key. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isInheritable()
|
boolean |
isTransient()
|
static void |
lock()
|
static void |
registerClass(Class c)
|
static void |
registerDefaults()
|
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String name
public final int identifier
| Method Detail |
|---|
public String getName()
public Class getValueType()
public static StyleKey getStyleKey(String name,
Class valueType)
name - the name.valueType - the class.
public static StyleKey getStyleKey(String name,
Class valueType,
boolean trans,
boolean inheritable)
name - the name.valueType - the class.inheritable - a flag indicating whether the value will be inherited from parent bands to child elements.trans - a flag indicating whether the style property should be saved. Transient properties are temporary
artifacts and should not be stored in report definitions.
public static void lock()
public static StyleKey getStyleKey(String name)
name - the name.
public boolean equals(Object o)
equals in class Objecto - 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.
hashCode in class Objectpublic boolean isTransient()
public String toString()
toString in class Object
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean isInheritable()
public int getIdentifier()
public static int getDefinedStyleKeyCount()
public static StyleKey[] getDefinedStyleKeys()
public static void assertNoNullEntries()
public static void registerDefaults()
public static void registerClass(Class c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||