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 Summary
Constructors Constructor Description DefaultLayoutStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancopyFrom(LayoutStyle style)Attempts to copy the supplied style information into this style object and returns a success code indicating if the copy was performed.DefaultLayoutStylecreateCopy()voiddispose()ObjectgetReference()CSSValuegetValue(StyleKey key)booleanisEmpty()voidsetReference(Object reference)voidsetValue(StyleKey key, CSSValue value)
-
-
-
Method Detail
-
getReference
public Object getReference()
-
setReference
public void setReference(Object reference)
-
getValue
public CSSValue getValue(StyleKey key)
- Specified by:
getValuein interfaceLayoutStyle
-
setValue
public void setValue(StyleKey key, CSSValue value)
- Specified by:
setValuein interfaceLayoutStyle
-
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:
copyFromin interfaceLayoutStyle- Parameters:
style- the style information to be copied into this style holder- Returns:
trueif the copy was performed,falseotherwise
-
-