|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElementGroup
net.sf.jasperreports.crosstabs.base.JRBaseCellContents
public class JRBaseCellContents
Base read-only implementation of JRCellContents
.
Field Summary | |
---|---|
protected java.awt.Color |
backcolor
|
protected JRDefaultStyleProvider |
defaultStyleProvider
|
protected int |
height
|
protected JRLineBox |
lineBox
|
protected java.lang.Byte |
mode
|
protected JRStyle |
style
|
protected java.lang.String |
styleNameReference
|
protected int |
width
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup |
---|
children, elementGroup |
Fields inherited from interface net.sf.jasperreports.crosstabs.JRCellContents |
---|
NOT_CALCULATED, POSITION_X_CENTER, POSITION_X_LEFT, POSITION_X_RIGHT, POSITION_X_STRETCH, POSITION_Y_BOTTOM, POSITION_Y_MIDDLE, POSITION_Y_STRETCH, POSITION_Y_TOP |
Constructor Summary | |
---|---|
JRBaseCellContents(JRCellContents cell,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
java.awt.Color |
getBackcolor()
Returns the cell background color. |
JRBox |
getBox()
Deprecated. Replaced by getLineBox() |
java.awt.Color |
getDefaultLineColor()
|
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
int |
getHeight()
Returns the computed cell height. |
JRLineBox |
getLineBox()
|
java.lang.Byte |
getMode()
Returns the cell transparency mode. |
JRStyle |
getStyle()
Returns this object's style. |
java.lang.String |
getStyleNameReference()
Returns the name of an external style which is to be used by this object. |
int |
getWidth()
Returns the computed cell width. |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup |
---|
clone, 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.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable |
---|
visit |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
protected JRDefaultStyleProvider defaultStyleProvider
protected JRStyle style
protected java.lang.String styleNameReference
protected java.lang.Byte mode
protected java.awt.Color backcolor
protected JRLineBox lineBox
protected int width
protected int height
Constructor Detail |
---|
public JRBaseCellContents(JRCellContents cell, JRBaseObjectFactory factory)
Method Detail |
---|
public java.awt.Color getBackcolor()
JRCellContents
The cell is filled with the background color only if the cell has opaque mode.
getBackcolor
in interface JRCellContents
public JRBox getBox()
getLineBox()
JRCellContents
getBox
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 java.lang.Byte getMode()
JRCellContents
getMode
in interface JRCellContents
MODE_OPAQUE
or MODE_TRANSPARENT
public java.lang.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 java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |