Class CompiledBaseCell
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseElementGroup
-
- net.sf.jasperreports.components.table.CompiledBaseCell
-
- All Implemented Interfaces:
Serializable
,Cloneable
,BaseCell
,JRBoxContainer
,JRChild
,JRCloneable
,JRElementGroup
,JRPropertiesHolder
,JRStyleContainer
,JRVisitable
- Direct Known Subclasses:
CompiledCell
public class CompiledBaseCell extends JRBaseElementGroup implements BaseCell
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRLineBox
box
protected JRDefaultStyleProvider
defaultStyleProvider
protected Integer
height
protected JRPropertiesMap
propertiesMap
protected JRStyle
style
protected String
styleNameReference
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
children, elementGroup
-
-
Constructor Summary
Constructors Constructor Description CompiledBaseCell()
CompiledBaseCell(BaseCell cell, JRBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Color
getDefaultLineColor()
JRDefaultStyleProvider
getDefaultStyleProvider()
Integer
getHeight()
JRLineBox
getLineBox()
JRPropertiesHolder
getParentProperties()
Returns the parent properties holder, whose properties are used as defaults for this object.JRPropertiesMap
getPropertiesMap()
Returns this object's properties map.JRStyle
getStyle()
Returns this object's style.String
getStyleNameReference()
Returns the name of an external style which is to be used by this object.boolean
hasProperties()
Checks whether the object has any properties.-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup
clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visit
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup
getChildren, getElementByKey, getElementGroup, getElements
-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getStyleName
-
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable
visit
-
-
-
-
Field Detail
-
defaultStyleProvider
protected JRDefaultStyleProvider defaultStyleProvider
-
style
protected JRStyle style
-
styleNameReference
protected String styleNameReference
-
box
protected JRLineBox box
-
height
protected Integer height
-
propertiesMap
protected JRPropertiesMap propertiesMap
-
-
Constructor Detail
-
CompiledBaseCell
public CompiledBaseCell()
-
CompiledBaseCell
public CompiledBaseCell(BaseCell cell, JRBaseObjectFactory factory)
-
-
Method Detail
-
getDefaultLineColor
public Color getDefaultLineColor()
- Specified by:
getDefaultLineColor
in interfaceJRBoxContainer
-
getLineBox
public JRLineBox getLineBox()
- Specified by:
getLineBox
in interfaceJRBoxContainer
-
getDefaultStyleProvider
public JRDefaultStyleProvider getDefaultStyleProvider()
- Specified by:
getDefaultStyleProvider
in interfaceJRStyleContainer
-
getStyle
public JRStyle getStyle()
Description copied from interface:JRStyleContainer
Returns this object's style.- Specified by:
getStyle
in interfaceJRStyleContainer
- Returns:
- this object's style
-
getStyleNameReference
public String getStyleNameReference()
Description copied from interface:JRStyleContainer
Returns the name of an external style which is to be used by this object. External styles are defined intemplates
and are resolved at fill time. This attribute is only effective if no direct style (as returned bygetStyle()
is specified for this object.- Specified by:
getStyleNameReference
in interfaceJRStyleContainer
- Returns:
- the name of an external style
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseElementGroup
-
-