|
||||||||||
| 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
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 StyleSheetgetBooleanStyleProperty in class AbstractStyleSheetkey - the style key.
true or false.
public boolean getBooleanStyleProperty(StyleKey key,
boolean defaultValue)
AbstractStyleSheet
getBooleanStyleProperty in interface StyleSheetgetBooleanStyleProperty in class AbstractStyleSheetkey - 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 StyleSheetgetIntStyleProperty in class AbstractStyleSheetkey - the style key.def - the default value.
public double getDoubleStyleProperty(StyleKey key,
double def)
getDoubleStyleProperty in interface StyleSheetgetDoubleStyleProperty in class AbstractStyleSheetkey - the style key.def - the default value.
public Object getStyleProperty(StyleKey key)
AbstractStyleSheetnull is returned.
getStyleProperty in interface StyleSheetgetStyleProperty in class AbstractStyleSheetkey - the style key.
public Object getStyleProperty(StyleKey key,
Object defaultValue)
getStyleProperty in interface StyleSheetpublic Object[] toArray()
toArray in interface StyleSheet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||