Class CSSPageRule
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.model.StyleRule
-
- org.pentaho.reporting.libraries.css.model.CSSDeclarationRule
-
- org.pentaho.reporting.libraries.css.model.CSSPageRule
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CSSPageRule extends CSSDeclarationRule
A page rule contains (among others) page area rules as childs.- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CSSPageRule(StyleSheet parentStyle, StyleRule parentRule, String name, String pseudoPage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRule(CSSPageAreaRule rule)voiddeleteRule(int index)StringgetName()StringgetPseudoPage()CSSPageAreaRulegetRule(int index)intgetRuleCount()voidinsertRule(int index, CSSPageAreaRule rule)-
Methods inherited from class org.pentaho.reporting.libraries.css.model.CSSDeclarationRule
clear, clone, getImportantValues, getPropertyCSSValue, getPropertyKeysAsArray, getStyleValues, isEmpty, isImportant, removeProperty, setImportant, setPropertyValue, setPropertyValue, setPropertyValueAsString
-
Methods inherited from class org.pentaho.reporting.libraries.css.model.StyleRule
getParentRule, getParentStyle, getStyleKeyRegistry, isReadOnly, makeReadOnly, setParentRule, setParentStyle
-
-
-
-
Constructor Detail
-
CSSPageRule
public CSSPageRule(StyleSheet parentStyle, StyleRule parentRule, String name, String pseudoPage)
-
-
Method Detail
-
addRule
public void addRule(CSSPageAreaRule rule)
-
insertRule
public void insertRule(int index, CSSPageAreaRule rule)
-
deleteRule
public void deleteRule(int index)
-
getRuleCount
public int getRuleCount()
-
getRule
public CSSPageAreaRule getRule(int index)
-
getName
public String getName()
-
getPseudoPage
public String getPseudoPage()
-
-