Class ElementGridCell
- java.lang.Object
-
- net.sf.jasperreports.engine.export.JRExporterGridCell
-
- net.sf.jasperreports.engine.export.ElementGridCell
-
public class ElementGridCell extends JRExporterGridCell
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_NOT_FRAME_ELEMENT
-
Fields inherited from class net.sf.jasperreports.engine.export.JRExporterGridCell
TYPE_ELEMENT_CELL, TYPE_EMPTY_CELL, TYPE_OCCUPIED_CELL
-
-
Constructor Summary
Constructors Constructor Description ElementGridCell(JRGridLayout container, PrintElementIndex parentIndex, int elementIndex, GridCellSize size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRGridLayout
getContainer()
JRPrintElement
getElement()
String
getElementAddress()
int
getElementIndex()
JRGridLayout
getLayout()
PrintElementIndex
getParentIndex()
String
getProperty(String propName)
GridCellSize
getSize()
Integer
getStyleIndex()
Used only by XLSX exporter for now.byte
getType()
void
setBox(JRLineBox box)
void
setStyleIndex(Integer styleIndex)
Used only by XLSX exporter for now.-
Methods inherited from class net.sf.jasperreports.engine.export.JRExporterGridCell
getBackcolor, getBox, getCellBackcolor, getColSpan, getForecolor, getHeight, getRowSpan, getStyle, getWidth, setStyle
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_NOT_FRAME_ELEMENT
public static final String EXCEPTION_MESSAGE_KEY_NOT_FRAME_ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElementGridCell
public ElementGridCell(JRGridLayout container, PrintElementIndex parentIndex, int elementIndex, GridCellSize size)
-
-
Method Detail
-
getSize
public GridCellSize getSize()
- Specified by:
getSize
in classJRExporterGridCell
-
getType
public byte getType()
- Specified by:
getType
in classJRExporterGridCell
-
getElement
public JRPrintElement getElement()
- Specified by:
getElement
in classJRExporterGridCell
-
getProperty
public String getProperty(String propName)
- Specified by:
getProperty
in classJRExporterGridCell
-
getParentIndex
public PrintElementIndex getParentIndex()
-
getElementIndex
public int getElementIndex()
-
getElementAddress
public String getElementAddress()
- Specified by:
getElementAddress
in classJRExporterGridCell
-
getLayout
public JRGridLayout getLayout()
-
setBox
public void setBox(JRLineBox box)
- Overrides:
setBox
in classJRExporterGridCell
-
getContainer
protected JRGridLayout getContainer()
-
setStyleIndex
public void setStyleIndex(Integer styleIndex)
Used only by XLSX exporter for now.
-
getStyleIndex
public Integer getStyleIndex()
Used only by XLSX exporter for now.
-
-