Class NonDynamicHeightWrapperStyleSheet
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
-
- org.pentaho.reporting.engine.classic.core.layout.style.NonDynamicHeightWrapperStyleSheet
-
- All Implemented Interfaces:
Cloneable
,StyleSheet
public class NonDynamicHeightWrapperStyleSheet extends AbstractStyleSheet
An element, that does not have the dynamic flag set to true, is limited to its minimum size and cannot grow any larger than that. This stylesheet simply enforces this policy by redefining the maximum size so that the maximum size is equal to the minimum size.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description NonDynamicHeightWrapperStyleSheet(StyleSheet parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getChangeTracker()
InstanceID
getId()
Returns the ID of the stylesheet.StyleSheet
getParent()
Object
getStyleProperty(StyleKey key, Object defaultValue)
Object[]
toArray()
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
clone, derive, getBooleanStyleProperty, getBooleanStyleProperty, getChangeTrackerHash, getDoubleStyleProperty, getIntStyleProperty, getModificationCount, getStyleProperty, isLocalKey, setId
-
-
-
-
Constructor Detail
-
NonDynamicHeightWrapperStyleSheet
public NonDynamicHeightWrapperStyleSheet(StyleSheet parent)
-
-
Method Detail
-
getParent
public StyleSheet getParent()
-
toArray
public Object[] toArray()
-
getId
public InstanceID getId()
Description copied from class:AbstractStyleSheet
Returns the ID of the stylesheet. The ID does identify an element stylesheet an all all cloned instances of that stylesheet.- Specified by:
getId
in interfaceStyleSheet
- Overrides:
getId
in classAbstractStyleSheet
- Returns:
- the ID of this stylesheet.
-
getChangeTracker
public long getChangeTracker()
-
-