net.sf.jasperreports.crosstabs.base
Class JRBaseCellContents
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementGroup
net.sf.jasperreports.crosstabs.base.JRBaseCellContents
- All Implemented Interfaces:
- java.io.Serializable, JRCellContents, JRChild, JRElementGroup, JRStyleContainer
public class JRBaseCellContents
- extends JRBaseElementGroup
- implements JRCellContents, java.io.Serializable
Base read-only implementation of JRCellContents
.
- Version:
- $Id: JRBaseCellContents.java 1229 2006-04-19 13:27:35 +0300 (Wed, 19 Apr 2006) teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultStyleProvider
protected JRDefaultStyleProvider defaultStyleProvider
style
protected JRStyle style
mode
protected java.lang.Byte mode
backcolor
protected java.awt.Color backcolor
box
protected JRBox box
width
protected int width
height
protected int height
JRBaseCellContents
public JRBaseCellContents(JRCellContents cell,
JRBaseObjectFactory factory)
getBackcolor
public java.awt.Color getBackcolor()
- Description copied from interface:
JRCellContents
- Returns the cell background color.
The cell is filled with the background color only if the cell has opaque mode.
- Specified by:
getBackcolor
in interface JRCellContents
- Returns:
- the cell backcolor
getBox
public JRBox getBox()
- Description copied from interface:
JRCellContents
- Returns the cell border.
- Specified by:
getBox
in interface JRCellContents
- Returns:
- the cell border
getWidth
public int getWidth()
- Description copied from interface:
JRCellContents
- Returns the computed cell width.
- Specified by:
getWidth
in interface JRCellContents
- Returns:
- the computed cell width
- See Also:
JRCellContents.NOT_CALCULATED
getHeight
public int getHeight()
- Description copied from interface:
JRCellContents
- Returns the computed cell height.
- Specified by:
getHeight
in interface JRCellContents
- Returns:
- the computed cell height
- See Also:
JRCellContents.NOT_CALCULATED
getDefaultStyleProvider
public JRDefaultStyleProvider getDefaultStyleProvider()
- Specified by:
getDefaultStyleProvider
in interface JRStyleContainer
getStyle
public JRStyle getStyle()
- Specified by:
getStyle
in interface JRStyleContainer
getMode
public java.lang.Byte getMode()
- Description copied from interface:
JRCellContents
- Returns the cell transparency mode.
- Specified by:
getMode
in interface JRCellContents
- Returns:
MODE_OPAQUE
or MODE_TRANSPARENT
© 2001-2006 JasperSoft Corporation www.jaspersoft.com