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 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 ColorgetBackcolor()JRLineBoxgetBox()ColorgetCellBackcolor()intgetColSpan()abstract JRPrintElementgetElement()abstract StringgetElementAddress()ColorgetForecolor()intgetHeight()abstract StringgetProperty(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 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()
-
-