org.pentaho.reporting.engine.classic.core.layout.style
Class NonPaddingWrapperStyleSheet

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
      extended by 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

Constructor Summary
NonPaddingWrapperStyleSheet()
           
 
Method Summary
 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
derive, getBooleanStyleProperty, getBooleanStyleProperty, getDoubleStyleProperty, getFontDefinitionProperty, getIntStyleProperty, getStyleProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonPaddingWrapperStyleSheet

public NonPaddingWrapperStyleSheet()
Method Detail

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