Class JRExporterGridCell
- java.lang.Object
-
- net.sf.jasperreports.engine.export.JRExporterGridCell
-
- Direct Known Subclasses:
ElementGridCell,ElementReplacementGridCell,EmptyGridCell,OccupiedGridCell
public abstract class JRExporterGridCell extends java.lang.Object- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static byteTYPE_ELEMENT_CELLstatic byteTYPE_EMPTY_CELLstatic byteTYPE_OCCUPIED_CELL
-
Constructor Summary
Constructors Modifier Constructor Description JRExporterGridCell()protectedJRExporterGridCell(GridCellStyle style)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetBackcolor()JRLineBoxgetBox()java.awt.ColorgetCellBackcolor()intgetColSpan()abstract JRPrintElementgetElement()abstract java.lang.StringgetElementAddress()java.awt.ColorgetForecolor()intgetHeight()abstract java.lang.StringgetProperty(java.lang.String propName)intgetRowSpan()abstract GridCellSizegetSize()GridCellStylegetStyle()abstract bytegetType()intgetWidth()voidsetBox(JRLineBox box)voidsetStyle(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 java.awt.Color getBackcolor()
-
getBox
public JRLineBox getBox()
-
setBox
public void setBox(JRLineBox box)
-
getForecolor
public java.awt.Color getForecolor()
-
getCellBackcolor
public java.awt.Color getCellBackcolor()
-
getType
public abstract byte getType()
-
getElement
public abstract JRPrintElement getElement()
-
getElementAddress
public abstract java.lang.String getElementAddress()
-
getProperty
public abstract java.lang.String getProperty(java.lang.String propName)
-
-