|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElementGroup
net.sf.jasperreports.engine.fill.JRFillElementContainer
net.sf.jasperreports.engine.fill.JRFillCellContents
public class JRFillCellContents
Crosstab cell contents filler.
Nested Class Summary | |
---|---|
protected static class |
JRFillCellContents.BoxContents
|
protected static class |
JRFillCellContents.StretchedContents
|
Field Summary |
---|
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer |
---|
deepElements, evaluatedStyles, expressionEvaluator, filler, firstYElement, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate |
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup |
---|
children, elementGroup, elements |
Fields inherited from interface net.sf.jasperreports.crosstabs.JRCellContents |
---|
NOT_CALCULATED, POSITION_X_CENTER, POSITION_X_LEFT, POSITION_X_RIGHT, POSITION_X_STRETCH, POSITION_Y_BOTTOM, POSITION_Y_MIDDLE, POSITION_Y_STRETCH, POSITION_Y_TOP |
Constructor Summary | |
---|---|
|
JRFillCellContents(JRBaseFiller filler,
JRCellContents cell,
JRFillObjectFactory factory)
|
protected |
JRFillCellContents(JRFillCellContents cellContents,
JRFillCloneFactory factory)
|
Method Summary | |
---|---|
JRCloneable |
createClone()
|
JRCloneable |
createClone(JRFillCloneFactory factory)
Creates a working clone of itself. |
protected void |
evaluate(byte evaluation)
|
protected JRPrintFrame |
fill()
|
java.awt.Color |
getBackcolor()
Returns the cell background color. |
protected int |
getBottomPadding()
|
JRBox |
getBox()
Returns the cell border. |
JRFillCellContents |
getBoxContents(boolean left,
boolean top)
|
protected int |
getContainerHeight()
Returns the height of the element container. |
JRDefaultStyleProvider |
getDefaultStyleProvider()
|
int |
getHeight()
Returns the computed cell height. |
java.lang.Byte |
getMode()
Returns the cell transparency mode. |
protected int |
getPrintHeight()
|
JRStyle |
getStyle()
|
protected int |
getTopPadding()
|
JRFillCellContents |
getTransformedContents(int newWidth,
int newHeight,
byte xPosition,
byte yPosition)
|
int |
getVerticalSpan()
|
int |
getWidth()
Returns the computed cell width. |
JRFillCellContents |
getWorkingClone()
|
protected void |
initConditionalStyles()
Find all styles containing conditional styles which are referenced by elements in this band. |
protected void |
prepare(int availableStretchHeight)
|
void |
releaseWorkingClone()
|
protected void |
setBox(JRBox box)
|
protected void |
setHeight(int height)
|
void |
setVerticalPositionType(byte positionType)
|
void |
setVerticalSpan(int span)
|
protected void |
setWidth(int width)
|
void |
setX(int x)
|
void |
setY(int y)
|
protected void |
stretchTo(int stretchHeight)
|
protected void |
verticallyPositionElements(JRTemplatePrintFrame printCell)
|
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer |
---|
addSubElements, buildConsolidatedStyle, collectConditionalStyle, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, getStretchHeight, initElements, initFill, moveBandBottomElements, prepareElements, removeBlankElements, resetElements, rewind, setElementsBandBottomY, setStretchHeight, stretchElements, willOverflow |
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup |
---|
getChildren, getCopy, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, writeXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElementGroup |
---|
getChildren, getElementByKey, getElementGroup, getElements |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
getCopy, writeXml |
Constructor Detail |
---|
public JRFillCellContents(JRBaseFiller filler, JRCellContents cell, JRFillObjectFactory factory)
protected JRFillCellContents(JRFillCellContents cellContents, JRFillCloneFactory factory)
Method Detail |
---|
public java.awt.Color getBackcolor()
JRCellContents
The cell is filled with the background color only if the cell has opaque mode.
getBackcolor
in interface JRCellContents
public JRBox getBox()
JRCellContents
getBox
in interface JRCellContents
protected void setBox(JRBox box)
public int getHeight()
JRCellContents
getHeight
in interface JRCellContents
JRCellContents.NOT_CALCULATED
public int getWidth()
JRCellContents
getWidth
in interface JRCellContents
JRCellContents.NOT_CALCULATED
protected void setHeight(int height)
protected void setWidth(int width)
public JRFillCellContents getBoxContents(boolean left, boolean top)
public JRFillCellContents getTransformedContents(int newWidth, int newHeight, byte xPosition, byte yPosition) throws JRException
JRException
protected void prepare(int availableStretchHeight) throws JRException
JRException
protected JRPrintFrame fill() throws JRException
JRException
protected void verticallyPositionElements(JRTemplatePrintFrame printCell)
protected int getPrintHeight()
protected void stretchTo(int stretchHeight)
protected int getContainerHeight()
JRFillElementContainer
getContainerHeight
in class JRFillElementContainer
protected int getTopPadding()
protected int getBottomPadding()
public JRCloneable createClone()
public JRCloneable createClone(JRFillCloneFactory factory)
JRCloneable
createClone
in interface JRCloneable
createClone
in class JRFillElementGroup
factory
- the clone factory to use while creating the clone
public JRFillCellContents getWorkingClone()
public void releaseWorkingClone()
public void setX(int x)
public void setY(int y)
public int getVerticalSpan()
public void setVerticalSpan(int span)
public void setVerticalPositionType(byte positionType)
protected void evaluate(byte evaluation) throws JRException
evaluate
in class JRFillElementContainer
JRException
public JRDefaultStyleProvider getDefaultStyleProvider()
getDefaultStyleProvider
in interface JRStyleContainer
public JRStyle getStyle()
getStyle
in interface JRStyleContainer
protected void initConditionalStyles()
JRFillElementContainer
initConditionalStyles
in class JRFillElementContainer
public java.lang.Byte getMode()
JRCellContents
getMode
in interface JRCellContents
MODE_OPAQUE
or MODE_TRANSPARENT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |