Class JRExporterGridCell
- java.lang.Object
-
- net.sf.jasperreports.engine.export.JRExporterGridCell
-
- Direct Known Subclasses:
ElementGridCell
,ElementReplacementGridCell
,EmptyGridCell
,OccupiedGridCell
public abstract class JRExporterGridCell extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static byte
TYPE_ELEMENT_CELL
static byte
TYPE_EMPTY_CELL
static byte
TYPE_OCCUPIED_CELL
-
Constructor Summary
Constructors Modifier Constructor Description JRExporterGridCell()
protected
JRExporterGridCell(GridCellStyle style)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Color
getBackcolor()
JRLineBox
getBox()
Color
getCellBackcolor()
int
getColSpan()
abstract JRPrintElement
getElement()
abstract String
getElementAddress()
Color
getForecolor()
int
getHeight()
abstract String
getProperty(String propName)
int
getRowSpan()
abstract GridCellSize
getSize()
GridCellStyle
getStyle()
abstract byte
getType()
int
getWidth()
void
setBox(JRLineBox box)
void
setStyle(GridCellStyle style)
-
-
-
Field Detail
-
TYPE_EMPTY_CELL
public static final byte TYPE_EMPTY_CELL
- See Also:
- Constant Field Values
-
TYPE_OCCUPIED_CELL
public static final byte TYPE_OCCUPIED_CELL
- See Also:
- Constant Field Values
-
TYPE_ELEMENT_CELL
public static final byte TYPE_ELEMENT_CELL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRExporterGridCell
public JRExporterGridCell()
-
JRExporterGridCell
protected JRExporterGridCell(GridCellStyle style)
-
-
Method Detail
-
getSize
public abstract GridCellSize getSize()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getColSpan
public int getColSpan()
-
getRowSpan
public int getRowSpan()
-
getStyle
public GridCellStyle getStyle()
-
setStyle
public void setStyle(GridCellStyle style)
-
getBackcolor
public Color getBackcolor()
-
getBox
public JRLineBox getBox()
-
setBox
public void setBox(JRLineBox box)
-
getForecolor
public Color getForecolor()
-
getCellBackcolor
public Color getCellBackcolor()
-
getType
public abstract byte getType()
-
getElement
public abstract JRPrintElement getElement()
-
getElementAddress
public abstract String getElementAddress()
-
-