|
||||||||||
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.engine.design.JRDesignElementGroup
net.sf.jasperreports.crosstabs.design.JRDesignCellContents
public class JRDesignCellContents
Implementation of JRCellContents
used for
report design.
Field Summary | |
---|---|
protected JRDefaultStyleProvider |
defaultStyleProvider
|
protected java.lang.Byte |
mode
|
protected JRStyle |
style
|
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 | |
---|---|
JRDesignCellContents()
Creates an empty cell contents. |
Method Summary | |
---|---|
java.awt.Color |
getBackcolor()
Returns the cell background color. |
JRBox |
getBox()
Returns the cell border. |
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
int |
getHeight()
Returns the computed cell height. |
java.lang.Byte |
getMode()
Returns the cell transparency mode. |
JRStyle |
getStyle()
|
int |
getWidth()
Returns the computed cell width. |
void |
setBackcolor(java.awt.Color color)
Sets the cell background color. |
void |
setBox(JRBox box)
Sets the cell border. |
protected void |
setHeight(int height)
Sets the computed cell height. |
void |
setMode(java.lang.Byte mode)
Sets the cell transparency mode. |
void |
setStyle(JRStyle style)
Sets the style used by this cell. |
protected void |
setWidth(int width)
Sets the computed cell width. |
Methods inherited from class net.sf.jasperreports.engine.design.JRDesignElementGroup |
---|
addElement, addElementGroup, removeElement, removeElementGroup, setElementGroup |
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElementGroup |
---|
getChildren, getCopy, getElementByKey, getElementByKey, getElementGroup, getElements, getElements, writeXml |
Methods inherited from class java.lang.Object |
---|
clone, 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 |
---|
getCopy, writeXml |
Field Detail |
---|
protected JRDefaultStyleProvider defaultStyleProvider
protected JRStyle style
protected java.lang.Byte mode
Constructor Detail |
---|
public JRDesignCellContents()
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 void setBackcolor(java.awt.Color color)
color
- the background colorJRCellContents.getBackcolor()
public JRBox getBox()
JRCellContents
getBox
in interface JRCellContents
public void setBox(JRBox box)
box
- the borderJRCellContents.getBox()
public int getHeight()
JRCellContents
getHeight
in interface JRCellContents
JRCellContents.NOT_CALCULATED
protected void setHeight(int height)
height
- the cell heightJRCellContents.getHeight()
public int getWidth()
JRCellContents
getWidth
in interface JRCellContents
JRCellContents.NOT_CALCULATED
protected void setWidth(int width)
width
- the cell widthJRCellContents.getWidth()
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider
in interface JRStyleContainer
public JRStyle getStyle()
getStyle
in interface JRStyleContainer
public void setStyle(JRStyle style)
style
- the style to be usedpublic java.lang.Byte getMode()
JRCellContents
getMode
in interface JRCellContents
MODE_OPAQUE
or MODE_TRANSPARENT
public void setMode(java.lang.Byte mode)
mode
- the transparency modeJRCellContents.getMode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |