Class ElementStyleRule
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
-
- org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet
-
- org.pentaho.reporting.engine.classic.core.style.css.ElementStyleRule
-
- All Implemented Interfaces:
Serializable
,Cloneable
,StyleSheet
public class ElementStyleRule extends ElementStyleSheet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementStyleRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSelector(int index, CSSSelector selector)
void
addSelector(CSSSelector selector)
void
clearSelectors()
ElementStyleRule
clone()
Creates and returns a copy of this object.ElementStyleRule
derive(boolean preserveId)
boolean
equals(Object o)
CSSSelector
getSelector(int index)
int
getSelectorCount()
List<CSSSelector>
getSelectorList()
int
hashCode()
void
removeSelector(int index)
void
removeSelector(CSSSelector element)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet
addAll, addDefault, addInherited, addInherited, addListener, clear, copyFrom, getChangeTracker, getChangeTrackerHash, getDefinedPropertyNamesArray, getModificationCount, getPropertyKeyList, getPropertyKeys, getStyleProperty, isLocalKey, removeListener, setBooleanStyleProperty, setChangeTrackerHash, setModificationCount, setStyleProperty, toArray
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
getBooleanStyleProperty, getBooleanStyleProperty, getDoubleStyleProperty, getId, getIntStyleProperty, getStyleProperty, setId
-
-
-
-
Method Detail
-
getSelectorList
public List<CSSSelector> getSelectorList()
-
addSelector
public void addSelector(CSSSelector selector)
-
addSelector
public void addSelector(int index, CSSSelector selector)
-
getSelector
public CSSSelector getSelector(int index)
-
removeSelector
public void removeSelector(int index)
-
removeSelector
public void removeSelector(CSSSelector element)
-
getSelectorCount
public int getSelectorCount()
-
clone
public ElementStyleRule clone()
Description copied from class:ElementStyleSheet
Creates and returns a copy of this object. After the cloning, the new StyleSheet is no longer registered with its parents.- Overrides:
clone
in classElementStyleSheet
- Returns:
- a clone of this instance.
- See Also:
Cloneable
-
derive
public ElementStyleRule derive(boolean preserveId)
- Overrides:
derive
in classElementStyleSheet
-
clearSelectors
public void clearSelectors()
-
-