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

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.style.AbstractStyleSheet
      extended by org.pentaho.reporting.engine.classic.core.layout.style.DynamicHeightWrapperStyleSheet
All Implemented Interfaces:
StyleSheet

public class DynamicHeightWrapperStyleSheet
extends AbstractStyleSheet

An element, that has the dynamic flag set to true, must restrict its maximum width to the minimum width (unless it explicitly defines the maximum-width). This strange behavior is a legacy of our old sloopy layouting definition, where the minimum-size provided the defaults for all other sizes.

Author:
Thomas Morgner

Constructor Summary
DynamicHeightWrapperStyleSheet(StyleSheet parent)
           
 
Method Summary
 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
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

DynamicHeightWrapperStyleSheet

public DynamicHeightWrapperStyleSheet(StyleSheet parent)
Method Detail

getParent

public StyleSheet getParent()

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

getStyleProperty

public Object getStyleProperty(StyleKey key,
                               Object defaultValue)

toArray

public Object[] toArray()