public class JRBaseCellContents extends JRBaseElementGroup implements JRCellContents
JRCellContents
.Modifier and Type | Field and Description |
---|---|
protected Color |
backcolor |
protected JRDefaultStyleProvider |
defaultStyleProvider |
protected int |
height |
protected JRLineBox |
lineBox |
protected ModeEnum |
modeValue |
protected JRStyle |
style |
protected String |
styleNameReference |
protected int |
width |
children, elementGroup
NOT_CALCULATED, PROPERTIES_PREFIX, PROPERTY_COLUMN_SPAN, PROPERTY_ROW_SPAN, PROPERTY_TYPE, TYPE_COLUMN_HEADER, TYPE_CROSSTAB_HEADER, TYPE_CROSSTAB_TITLE, TYPE_DATA, TYPE_NO_DATA_CELL, TYPE_ROW_HEADER
Constructor and Description |
---|
JRBaseCellContents(JRCellContents cell,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Color |
getBackcolor()
Returns the cell background color.
|
Color |
getDefaultLineColor() |
JRDefaultStyleProvider |
getDefaultStyleProvider() |
int |
getHeight()
Returns the computed cell height.
|
JRLineBox |
getLineBox() |
ModeEnum |
getModeValue()
Returns the cell transparency mode.
|
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.
|
int |
getWidth()
Returns the computed cell width.
|
boolean |
hasProperties()
Checks whether the object has any properties.
|
clone, getChildren, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, visit
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getElementByKey, getElementGroup, getElements
visit
protected JRDefaultStyleProvider defaultStyleProvider
protected JRStyle style
protected String styleNameReference
protected ModeEnum modeValue
protected Color backcolor
protected JRLineBox lineBox
protected int width
protected int height
public JRBaseCellContents(JRCellContents cell, JRBaseObjectFactory factory)
public Color getBackcolor()
JRCellContents
The cell is filled with the background color only if the cell has opaque mode.
getBackcolor
in interface JRCellContents
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public int getWidth()
JRCellContents
getWidth
in interface JRCellContents
JRCellContents.NOT_CALCULATED
public int getHeight()
JRCellContents
getHeight
in interface JRCellContents
JRCellContents.NOT_CALCULATED
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider
in interface JRStyleContainer
public JRStyle getStyle()
JRStyleContainer
getStyle
in interface JRStyleContainer
public ModeEnum getModeValue()
JRCellContents
getModeValue
in interface JRCellContents
ModeEnum.OPAQUE
or ModeEnum.TRANSPARENT
public String getStyleNameReference()
JRStyleContainer
templates
and are resolved
at fill time.
This attribute is only effective if no direct style (as returned by getStyle()
is specified for this object.getStyleNameReference
in interface JRStyleContainer
public Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
public Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElementGroup
public boolean hasProperties()
JRPropertiesHolder
hasProperties
in interface JRPropertiesHolder
public JRPropertiesMap getPropertiesMap()
JRPropertiesHolder
getPropertiesMap
in interface JRPropertiesHolder
public JRPropertiesHolder getParentProperties()
JRPropertiesHolder
getParentProperties
in interface JRPropertiesHolder
null
if no parentCopyright © 2019 TIBCO Software Inc.. All rights reserved.