|
||||||||||
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.AbstractStyleSheet
public abstract class AbstractStyleSheet
Creation-Date: 22.04.2007, 16:48:33
Method Summary | |
---|---|
StyleSheet |
derive()
|
boolean |
getBooleanStyleProperty(StyleKey key)
Returns a boolean style (defaults to false if the style is not found). |
boolean |
getBooleanStyleProperty(StyleKey key,
boolean defaultValue)
Returns a boolean style. |
long |
getChangeTracker()
|
double |
getDoubleStyleProperty(StyleKey key,
double def)
Returns an double style. |
FontDefinition |
getFontDefinitionProperty()
Deprecated. Do not use this method, access the font properties directly. This method will be removed in 0.8.11. |
InstanceID |
getId()
Returns the ID of the stylesheet. |
int |
getIntStyleProperty(StyleKey key,
int def)
Returns an integer style. |
Object |
getStyleProperty(StyleKey key)
Returns the value of a style. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.style.StyleSheet |
---|
getStyleProperty, toArray |
Method Detail |
---|
public Object getStyleProperty(StyleKey key)
null
is returned.
getStyleProperty
in interface StyleSheet
key
- the style key.
public boolean getBooleanStyleProperty(StyleKey key)
getBooleanStyleProperty
in interface StyleSheet
key
- the style key.
true
or false
.public boolean getBooleanStyleProperty(StyleKey key, boolean defaultValue)
getBooleanStyleProperty
in interface StyleSheet
key
- the style key.defaultValue
- the default value.
public int getIntStyleProperty(StyleKey key, int def)
getIntStyleProperty
in interface StyleSheet
key
- the style key.def
- the default value.
public double getDoubleStyleProperty(StyleKey key, double def)
getDoubleStyleProperty
in interface StyleSheet
key
- the style key.def
- the default value.
public FontDefinition getFontDefinitionProperty()
public InstanceID getId()
getId
in interface StyleSheet
public long getChangeTracker()
getChangeTracker
in interface StyleSheet
public StyleSheet derive() throws CloneNotSupportedException
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |