Class DefaultLayoutStyle

java.lang.Object
org.pentaho.reporting.libraries.css.dom.DefaultLayoutStyle
All Implemented Interfaces:
LayoutStyle

public final class DefaultLayoutStyle extends Object implements LayoutStyle
Unlike the old JFreeReport stylesheet, this implementation has no inheritance at all. It needs to be resolved manually, which is no bad thing, as we have to do this anyway during the computation.
Author:
Thomas Morgner
  • Constructor Details

    • DefaultLayoutStyle

      public DefaultLayoutStyle()
  • Method Details

    • getReference

      public Object getReference()
    • setReference

      public void setReference(Object reference)
    • getValue

      public CSSValue getValue(StyleKey key)
      Specified by:
      getValue in interface LayoutStyle
    • setValue

      public void setValue(StyleKey key, CSSValue value)
      Specified by:
      setValue in interface LayoutStyle
    • dispose

      public void dispose()
    • createCopy

      public DefaultLayoutStyle createCopy()
    • isEmpty

      public boolean isEmpty()
    • copyFrom

      public boolean copyFrom(LayoutStyle style)
      Attempts to copy the supplied style information into this style object and returns a success code indicating if the copy was performed.
      Specified by:
      copyFrom in interface LayoutStyle
      Parameters:
      style - the style information to be copied into this style holder
      Returns:
      true if the copy was performed, false otherwise