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 java.lang.StringEXCEPTION_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 JRGridLayoutgetContainer()JRPrintElementgetElement()java.lang.StringgetElementAddress()intgetElementIndex()JRGridLayoutgetLayout()PrintElementIndexgetParentIndex()java.lang.StringgetProperty(java.lang.String propName)GridCellSizegetSize()java.lang.IntegergetStyleIndex()Used only by XLSX exporter for now.bytegetType()voidsetBox(JRLineBox box)voidsetStyleIndex(java.lang.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 java.lang.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:
getSizein classJRExporterGridCell
-
getType
public byte getType()
- Specified by:
getTypein classJRExporterGridCell
-
getElement
public JRPrintElement getElement()
- Specified by:
getElementin classJRExporterGridCell
-
getProperty
public java.lang.String getProperty(java.lang.String propName)
- Specified by:
getPropertyin classJRExporterGridCell
-
getParentIndex
public PrintElementIndex getParentIndex()
-
getElementIndex
public int getElementIndex()
-
getElementAddress
public java.lang.String getElementAddress()
- Specified by:
getElementAddressin classJRExporterGridCell
-
getLayout
public JRGridLayout getLayout()
-
setBox
public void setBox(JRLineBox box)
- Overrides:
setBoxin classJRExporterGridCell
-
getContainer
protected JRGridLayout getContainer()
-
setStyleIndex
public void setStyleIndex(java.lang.Integer styleIndex)
Used only by XLSX exporter for now.
-
getStyleIndex
public java.lang.Integer getStyleIndex()
Used only by XLSX exporter for now.
-
-