|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet org.pentaho.reporting.engine.classic.core.style.ImmutableStyleSheet
public class ImmutableStyleSheet
Creation-Date: 26.06.2006, 11:25:02
Constructor Summary | |
---|---|
ImmutableStyleSheet(ElementStyleSheet styleSheet)
Deprecated. |
Method Summary | |
---|---|
boolean |
getBooleanStyleProperty(StyleKey key)
Deprecated. Returns a boolean style (defaults to false if the style is not found). |
boolean |
getBooleanStyleProperty(StyleKey key,
boolean defaultValue)
Deprecated. Returns a boolean style. |
double |
getDoubleStyleProperty(StyleKey key,
double def)
Deprecated. Returns an double style. |
FontDefinition |
getFontDefinitionProperty()
Deprecated. Returns the font for this style-sheet. |
int |
getIntStyleProperty(StyleKey key,
int def)
Deprecated. Returns an integer style. |
Object |
getStyleProperty(StyleKey key)
Deprecated. Returns the value of a style. |
Object |
getStyleProperty(StyleKey key,
Object defaultValue)
Deprecated. |
Object[] |
toArray()
Deprecated. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet |
---|
derive, getChangeTracker, getId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableStyleSheet(ElementStyleSheet styleSheet)
Method Detail |
---|
public boolean getBooleanStyleProperty(StyleKey key)
AbstractStyleSheet
getBooleanStyleProperty
in interface StyleSheet
getBooleanStyleProperty
in class AbstractStyleSheet
key
- the style key.
true
or false
.public boolean getBooleanStyleProperty(StyleKey key, boolean defaultValue)
AbstractStyleSheet
getBooleanStyleProperty
in interface StyleSheet
getBooleanStyleProperty
in class AbstractStyleSheet
key
- the style key.defaultValue
- the default value.
public FontDefinition getFontDefinitionProperty()
AbstractStyleSheet
getFontDefinitionProperty
in class AbstractStyleSheet
public int getIntStyleProperty(StyleKey key, int def)
getIntStyleProperty
in interface StyleSheet
getIntStyleProperty
in class AbstractStyleSheet
key
- the style key.def
- the default value.
public double getDoubleStyleProperty(StyleKey key, double def)
getDoubleStyleProperty
in interface StyleSheet
getDoubleStyleProperty
in class AbstractStyleSheet
key
- the style key.def
- the default value.
public Object getStyleProperty(StyleKey key)
AbstractStyleSheet
null
is returned.
getStyleProperty
in interface StyleSheet
getStyleProperty
in class AbstractStyleSheet
key
- the style key.
public Object getStyleProperty(StyleKey key, Object defaultValue)
getStyleProperty
in interface StyleSheet
public Object[] toArray()
toArray
in interface StyleSheet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |