org.pentaho.reporting.engine.classic.core.layout.style
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:
- 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
NonPaddingWrapperStyleSheet
public NonPaddingWrapperStyleSheet()
setParent
public void setParent(StyleSheet parent)
getParent
public StyleSheet getParent()
getStyleProperty
public Object getStyleProperty(StyleKey key,
Object defaultValue)
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 interface StyleSheet
- Overrides:
getId
in class AbstractStyleSheet
- Returns:
- the ID of this stylesheet.
getChangeTracker
public long getChangeTracker()
- Specified by:
getChangeTracker
in interface StyleSheet
- Overrides:
getChangeTracker
in class AbstractStyleSheet