Package net.sf.jasperreports.engine.fill
Class JRRecordedValuesPrintText
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRTemplatePrintElement
-
- net.sf.jasperreports.engine.fill.JRTemplatePrintText
-
- net.sf.jasperreports.engine.fill.JRRecordedValuesPrintText
-
- All Implemented Interfaces:
Serializable
,JRRecordedValuesPrintElement
,TextFormat
,JRBoxContainer
,JRCommonElement
,JRCommonText
,JRFont
,JRIdentifiable
,JRParagraphContainer
,JRPrintAnchor
,JRPrintElement
,JRPrintHyperlink
,JRPrintText
,JRPropertiesHolder
,JRStyleContainer
,JRTextAlignment
,VirtualizationSerializable
public class JRRecordedValuesPrintText extends JRTemplatePrintText implements JRRecordedValuesPrintElement
Print text implementation that supports recorded values.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintText
bookmarkLevel
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
EXCEPTION_MESSAGE_KEY_TEMPLATE_NOT_FOUND, template
-
Fields inherited from interface net.sf.jasperreports.engine.JRCommonText
MARKUP_HTML, MARKUP_NONE, MARKUP_RTF, MARKUP_STYLED_TEXT
-
Fields inherited from interface net.sf.jasperreports.engine.JRFont
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_PDF_EMBEDDED, DEFAULT_PDF_ENCODING, DEFAULT_PDF_FONT_NAME
-
Fields inherited from interface net.sf.jasperreports.engine.JRPrintElement
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
-
Fields inherited from interface net.sf.jasperreports.engine.JRPrintHyperlink
PROPERTY_IGNORE_HYPERLINK_SUFFIX
-
Fields inherited from interface net.sf.jasperreports.engine.JRPrintText
PROPERTY_AWT_INDENT_FIRST_LINE, PROPERTY_AWT_JUSTIFY_LAST_LINE, ZERO_LINE_BREAK_OFFSETS
-
-
Constructor Summary
Constructors Constructor Description JRRecordedValuesPrintText()
JRRecordedValuesPrintText(JRTemplateText text, PrintElementOriginator originator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteRecordedValues()
Releases the recorded values set.JRRecordedValues
getRecordedValues()
Returns the recorded values set.void
initRecordedValues(Set<JREvaluationTime> evaluationTimes)
Initializes the recorded values set.void
readVirtualized(VirtualizationInput in)
void
writeVirtualized(VirtualizationOutput out)
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintText
accept, getAnchorName, getAverageCharWidth, getBookmarkLevel, getFontName, getFontSize, getFormatFactoryClass, getFullStyledText, getFullText, getHorizontalTextAlign, getHyperlinkAnchor, getHyperlinkPage, getHyperlinkParameters, getHyperlinkReference, getHyperlinkTarget, getHyperlinkTooltip, getHyperlinkType, getLeadingOffset, getLineBox, getLineBreakOffsets, getLineSpacingFactor, getLinkTarget, getLinkType, getLocaleCode, getMarkup, getOriginalText, getOwnFontName, getOwnFontSize, getOwnHorizontalTextAlign, getOwnMarkup, getOwnPdfEncoding, getOwnPdfFontName, getOwnRotation, getOwnVerticalTextAlign, getParagraph, getPattern, getPdfEncoding, getPdfFontName, getRotation, getRunDirection, getTextHeight, getTextTruncateIndex, getTextTruncateSuffix, getTimeZoneId, getValue, getValueClassName, getVerticalTextAlign, isBold, isItalic, isOwnBold, isOwnItalic, isOwnPdfEmbedded, isOwnStrikeThrough, isOwnUnderline, isPdfEmbedded, isStrikeThrough, isUnderline, setAnchorName, setAverageCharWidth, setBold, setBookmarkLevel, setFontName, setFontSize, setHorizontalTextAlign, setHyperlinkAnchor, setHyperlinkOmitted, setHyperlinkPage, setHyperlinkParameters, setHyperlinkReference, setHyperlinkTarget, setHyperlinkTooltip, setHyperlinkType, setItalic, setLeadingOffset, setLineBreakOffsets, setLineSpacingFactor, setLinkTarget, setLinkTarget, setLinkType, setMarkup, setPdfEmbedded, setPdfEncoding, setPdfFontName, setRotation, setRunDirection, setStrikeThrough, setText, setTextFormat, setTextHeight, setTextTruncateIndex, setTextTruncateSuffix, setUnderline, setValue, setVerticalTextAlign
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
getBackcolor, getDefaultLineColor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setUUID, setWidth, setX, setY, updateElementTemplate
-
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.JRBoxContainer
getDefaultLineColor
-
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, setBackcolor, setForecolor, setMode
-
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable
getUUID
-
Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement
accept, getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
-
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
-
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleName, getStyleNameReference
-
-
-
-
Constructor Detail
-
JRRecordedValuesPrintText
public JRRecordedValuesPrintText()
-
JRRecordedValuesPrintText
public JRRecordedValuesPrintText(JRTemplateText text, PrintElementOriginator originator)
- Parameters:
text
-originator
-
-
-
Method Detail
-
getRecordedValues
public JRRecordedValues getRecordedValues()
Description copied from interface:JRRecordedValuesPrintElement
Returns the recorded values set.- Specified by:
getRecordedValues
in interfaceJRRecordedValuesPrintElement
- Returns:
- the recorded values set
-
deleteRecordedValues
public void deleteRecordedValues()
Description copied from interface:JRRecordedValuesPrintElement
Releases the recorded values set. This is called when all the recorded values are available and the element has been evaluated.- Specified by:
deleteRecordedValues
in interfaceJRRecordedValuesPrintElement
-
initRecordedValues
public void initRecordedValues(Set<JREvaluationTime> evaluationTimes)
Description copied from interface:JRRecordedValuesPrintElement
Initializes the recorded values set.- Specified by:
initRecordedValues
in interfaceJRRecordedValuesPrintElement
- Parameters:
evaluationTimes
- future times when the values will be recorded
-
writeVirtualized
public void writeVirtualized(VirtualizationOutput out) throws IOException
- Specified by:
writeVirtualized
in interfaceVirtualizationSerializable
- Overrides:
writeVirtualized
in classJRTemplatePrintText
- Throws:
IOException
-
readVirtualized
public void readVirtualized(VirtualizationInput in) throws IOException
- Specified by:
readVirtualized
in interfaceVirtualizationSerializable
- Overrides:
readVirtualized
in classJRTemplatePrintText
- Throws:
IOException
-
-