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 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.DefaultLayoutStyle
createCopy()
void
dispose()
Object
getReference()
CSSValue
getValue(StyleKey key)
boolean
isEmpty()
void
setReference(Object reference)
void
setValue(StyleKey key, CSSValue value)
-
-
-
Method Detail
-
getReference
public Object getReference()
-
setReference
public void setReference(Object reference)
-
getValue
public CSSValue getValue(StyleKey key)
- Specified by:
getValue
in interfaceLayoutStyle
-
setValue
public void setValue(StyleKey key, CSSValue value)
- Specified by:
setValue
in 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:
copyFrom
in interfaceLayoutStyle
- Parameters:
style
- the style information to be copied into this style holder- Returns:
true
if the copy was performed,false
otherwise
-
-