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

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

public class DynamicReplacedContentStyleSheet
extends AbstractStyleSheet

A replaced content element that is contained in a 'canvas' box (which is the default for all non-inline replaced content elements) must have a minimum width and height of 100% so that it fills the whole box.

Author:
Thomas Morgner

Constructor Summary
DynamicReplacedContentStyleSheet(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

DynamicReplacedContentStyleSheet

public DynamicReplacedContentStyleSheet(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()