Class NonPaddingWrapperStyleSheet
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
-
- org.pentaho.reporting.engine.classic.core.layout.style.NonPaddingWrapperStyleSheet
-
- All Implemented Interfaces:
Cloneable
,StyleSheet
public class NonPaddingWrapperStyleSheet 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 NonPaddingWrapperStyleSheet()
-
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)
void
setParent(StyleSheet parent)
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
-
-
-
-
Method Detail
-
setParent
public void setParent(StyleSheet parent)
-
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()
-
-