public abstract class JRFillTextElement extends JRFillElement implements JRTextElement
| Modifier and Type | Field and Description |
|---|---|
protected JRLineBox |
lineBox |
protected JRParagraph |
paragraph |
protected JRReportFont |
reportFont |
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templatesLINE_SPACING_1_1_2, LINE_SPACING_DOUBLE, LINE_SPACING_SINGLE, PROPERTY_PRINT_KEEP_FULL_TEXT, PROPERTY_SAVE_LINE_BREAKS, PROPERTY_TRUNCATE_AT_CHAR, PROPERTY_TRUNCATE_SUFFIX, ROTATION_LEFT, ROTATION_NONE, ROTATION_RIGHT, ROTATION_UPSIDE_DOWN, TEXT_ALIGN_CENTER, TEXT_ALIGN_JUSTIFIED, TEXT_ALIGN_LEFT, TEXT_ALIGN_RIGHTMODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECTHORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_JUSTIFIED, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOPDEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_PDF_EMBEDDED, DEFAULT_PDF_ENCODING, DEFAULT_PDF_FONT_NAMEMARKUP_HTML, MARKUP_NONE, MARKUP_RTF, MARKUP_STYLED_TEXT| Modifier | Constructor and Description |
|---|---|
protected |
JRFillTextElement(JRBaseFiller filler,
JRTextElement textElement,
JRFillObjectFactory factory) |
protected |
JRFillTextElement(JRFillTextElement textElement,
JRFillCloneFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
canOverflow() |
protected void |
chopTextElement(int availableStretchHeight) |
protected void |
ensureTextMeasurer() |
byte |
getBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getBorderColor()
Deprecated.
Replaced by
getLineBox() |
byte |
getBottomBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getBottomBorderColor()
Deprecated.
Replaced by
getLineBox() |
int |
getBottomPadding()
Deprecated.
Replaced by
getLineBox() |
JRBox |
getBox()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getDefaultLineColor() |
JRFont |
getFont()
Deprecated.
|
java.lang.String |
getFontName() |
int |
getFontSize() |
byte |
getHorizontalAlignment()
Deprecated.
Replaced by
getHorizontalAlignmentValue(). |
HorizontalAlignEnum |
getHorizontalAlignmentValue()
Gets the text horizontal alignment.
|
protected float |
getLeadingOffset()
Deprecated.
No longer used.
|
byte |
getLeftBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getLeftBorderColor()
Deprecated.
Replaced by
getLineBox() |
int |
getLeftPadding()
Deprecated.
Replaced by
getLineBox() |
JRLineBox |
getLineBox() |
protected short[] |
getLineBreakOffsets() |
byte |
getLineSpacing()
Deprecated.
Replaced by
#getParagraph()#getLineSpacing(). |
protected float |
getLineSpacingFactor()
Deprecated.
No longer used.
|
LineSpacingEnum |
getLineSpacingValue()
Deprecated.
Replaced by
#getParagraph()#getLineSpacing(). |
java.lang.String |
getMarkup()
Returns the text markup.
|
protected static MarkupProcessor |
getMarkupProcessor(java.lang.String markup) |
ModeEnum |
getModeValue()
Returns the element transparency mode.
|
java.lang.Byte |
getOwnBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getOwnBorderColor()
Deprecated.
Replaced by
getLineBox() |
java.lang.Byte |
getOwnBottomBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getOwnBottomBorderColor()
Deprecated.
Replaced by
getLineBox() |
java.lang.Integer |
getOwnBottomPadding()
Deprecated.
Replaced by
getLineBox() |
java.lang.String |
getOwnFontName() |
java.lang.Integer |
getOwnFontSize() |
java.lang.Byte |
getOwnHorizontalAlignment()
Deprecated.
Replaced by
getOwnHorizontalAlignmentValue(). |
HorizontalAlignEnum |
getOwnHorizontalAlignmentValue() |
java.lang.Byte |
getOwnLeftBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getOwnLeftBorderColor()
Deprecated.
Replaced by
getLineBox() |
java.lang.Integer |
getOwnLeftPadding()
Deprecated.
Replaced by
getLineBox() |
java.lang.Byte |
getOwnLineSpacing()
Deprecated.
Replaced by
#getParagraph()#getOwnLineSpacing(). |
LineSpacingEnum |
getOwnLineSpacingValue()
Deprecated.
Replaced by
#getParagraph()#getOwnLineSpacing(). |
java.lang.String |
getOwnMarkup() |
java.lang.Integer |
getOwnPadding()
Deprecated.
Replaced by
getLineBox() |
java.lang.String |
getOwnPdfEncoding() |
java.lang.String |
getOwnPdfFontName() |
java.lang.Byte |
getOwnRightBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getOwnRightBorderColor()
Deprecated.
Replaced by
getLineBox() |
java.lang.Integer |
getOwnRightPadding()
Deprecated.
Replaced by
getLineBox() |
java.lang.Byte |
getOwnRotation()
Deprecated.
Replaced by
getRotationValue(). |
RotationEnum |
getOwnRotationValue()
Gets the text own rotation.
|
java.lang.Integer |
getOwnSize()
Deprecated.
Replaced by
getOwnFontSize(). |
java.lang.Byte |
getOwnTopBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getOwnTopBorderColor()
Deprecated.
Replaced by
getLineBox() |
java.lang.Integer |
getOwnTopPadding()
Deprecated.
Replaced by
getLineBox() |
java.lang.Byte |
getOwnVerticalAlignment()
Deprecated.
Replaced by
getOwnVerticalAlignmentValue(). |
VerticalAlignEnum |
getOwnVerticalAlignmentValue() |
int |
getPadding()
Deprecated.
Replaced by
getLineBox() |
JRParagraph |
getParagraph() |
java.lang.String |
getPdfEncoding() |
java.lang.String |
getPdfFontName() |
protected java.lang.String |
getRawText() |
JRReportFont |
getReportFont() |
byte |
getRightBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getRightBorderColor()
Deprecated.
Replaced by
getLineBox() |
int |
getRightPadding()
Deprecated.
Replaced by
getLineBox() |
byte |
getRotation()
Deprecated.
Replaced by
getRotationValue(). |
RotationEnum |
getRotationValue()
Gets the text rotation.
|
protected byte |
getRunDirection()
Deprecated.
Replaced by
getRunDirectionValue(). |
RunDirectionEnum |
getRunDirectionValue() |
int |
getSize()
Deprecated.
Replaced by
getFontSize(). |
protected JRStyledText |
getStyledText() |
protected java.util.Map |
getStyledTextAttributes() |
java.lang.String |
getText() |
byte |
getTextAlignment()
Deprecated.
Replaced by
getHorizontalAlignment(). |
protected int |
getTextEnd() |
protected float |
getTextHeight() |
protected int |
getTextStart() |
protected java.lang.String |
getTextTruncateSuffix() |
byte |
getTopBorder()
Deprecated.
Replaced by
getLineBox() |
java.awt.Color |
getTopBorderColor()
Deprecated.
Replaced by
getLineBox() |
int |
getTopPadding()
Deprecated.
Replaced by
getLineBox() |
byte |
getVerticalAlignment()
Deprecated.
Replaced by
getVerticalAlignmentValue(). |
VerticalAlignEnum |
getVerticalAlignmentValue()
Gets the text vertical alignment.
|
boolean |
isBold() |
boolean |
isItalic() |
java.lang.Boolean |
isOwnBold() |
java.lang.Boolean |
isOwnItalic() |
java.lang.Boolean |
isOwnPdfEmbedded() |
java.lang.Boolean |
isOwnStrikeThrough() |
java.lang.Boolean |
isOwnStyledText()
Deprecated.
Replaced by
getOwnMarkup() |
java.lang.Boolean |
isOwnUnderline() |
boolean |
isPdfEmbedded() |
boolean |
isStrikeThrough() |
boolean |
isStyledText()
Deprecated.
Replaced by
getMarkup() |
boolean |
isUnderline() |
protected java.lang.String |
processMarkupText(java.lang.String text) |
protected void |
reset() |
protected void |
resetTextChunk() |
protected void |
rewind() |
void |
setBold(boolean isBold) |
void |
setBold(java.lang.Boolean isBold)
Alternative setBold method which allows also to reset
the "own" isBold property.
|
void |
setBorder(byte border)
Deprecated.
Replaced by
getLineBox() |
void |
setBorder(java.lang.Byte border)
Deprecated.
Replaced by
getLineBox() |
void |
setBorderColor(java.awt.Color borderColor)
Deprecated.
Replaced by
getLineBox() |
void |
setBottomBorder(byte bottomBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setBottomBorder(java.lang.Byte bottomBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setBottomBorderColor(java.awt.Color bottomBorderColor)
Deprecated.
Replaced by
getLineBox() |
void |
setBottomPadding(int bottomPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setBottomPadding(java.lang.Integer bottomPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setFontName(java.lang.String fontName) |
void |
setFontSize(int size) |
void |
setFontSize(java.lang.Integer size)
Alternative setSize method which allows also to reset
the "own" size property.
|
void |
setHeight(int height) |
void |
setHorizontalAlignment(byte horizontalAlignment)
Deprecated.
Replaced by
setHorizontalAlignment(HorizontalAlignEnum). |
void |
setHorizontalAlignment(java.lang.Byte horizontalAlignment)
Deprecated.
Replaced by
setHorizontalAlignment(HorizontalAlignEnum). |
void |
setHorizontalAlignment(HorizontalAlignEnum horizontalAlignment)
Sets the text horizontal alignment.
|
void |
setItalic(boolean isItalic) |
void |
setItalic(java.lang.Boolean isItalic)
Alternative setItalic method which allows also to reset
the "own" isItalic property.
|
protected void |
setLeadingOffset(float leadingOffset)
Deprecated.
No longer used.
|
void |
setLeftBorder(byte leftBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setLeftBorder(java.lang.Byte leftBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setLeftBorderColor(java.awt.Color leftBorderColor)
Deprecated.
Replaced by
getLineBox() |
void |
setLeftPadding(int leftPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setLeftPadding(java.lang.Integer leftPadding)
Deprecated.
Replaced by
getLineBox() |
protected void |
setLineBreakOffsets(short[] lineBreakOffsets) |
void |
setLineSpacing(byte lineSpacing)
Deprecated.
Replaced by
#getParagraph()#setLineSpacing(LineSpacingEnum). |
void |
setLineSpacing(java.lang.Byte lineSpacing)
Deprecated.
Replaced by
#getParagraph()#setLineSpacing(LineSpacingEnum). |
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Deprecated.
Replaced by
#getParagraph()#setLineSpacing(LineSpacingEnum). |
protected void |
setLineSpacingFactor(float lineSpacingFactor)
Deprecated.
No longer used.
|
void |
setMarkup(java.lang.String markup) |
void |
setPadding(int padding)
Deprecated.
Replaced by
getLineBox() |
void |
setPadding(java.lang.Integer padding)
Deprecated.
Replaced by
getLineBox() |
void |
setPdfEmbedded(boolean isPdfEmbedded) |
void |
setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
Alternative setPdfEmbedded method which allows also to reset
the "own" isPdfEmbedded property.
|
void |
setPdfEncoding(java.lang.String pdfEncoding) |
void |
setPdfFontName(java.lang.String pdfFontName) |
protected void |
setPrintText(JRPrintText printText) |
protected void |
setRawText(java.lang.String rawText) |
void |
setReportFont(JRReportFont reportFont) |
void |
setRightBorder(byte rightBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setRightBorder(java.lang.Byte rightBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setRightBorderColor(java.awt.Color rightBorderColor)
Deprecated.
Replaced by
getLineBox() |
void |
setRightPadding(int rightPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setRightPadding(java.lang.Integer rightPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setRotation(byte rotation)
Deprecated.
Replaced by
setRotation(RotationEnum). |
void |
setRotation(java.lang.Byte rotation)
Deprecated.
Replaced by
setRotation(RotationEnum). |
void |
setRotation(RotationEnum rotation)
Sets the text rotation.
|
void |
setSize(int size)
Deprecated.
Replaced by
setFontSize(int). |
void |
setSize(java.lang.Integer size)
Deprecated.
Replaced by
setFontSize(Integer). |
void |
setStrikeThrough(boolean isStrikeThrough) |
void |
setStrikeThrough(java.lang.Boolean isStrikeThrough)
Alternative setStrikeThrough method which allows also to reset
the "own" isStrikeThrough property.
|
void |
setStyledText(boolean isStyledText)
Deprecated.
Replaced by
setMarkup(String) |
void |
setStyledText(java.lang.Boolean isStyledText)
Deprecated.
Replaced by
setMarkup(String) |
void |
setTextAlignment(byte horizontalAlignment)
Deprecated.
Replaced by
setHorizontalAlignment(byte). |
protected void |
setTextEnd(int textEnd) |
protected void |
setTextHeight(float textHeight) |
protected void |
setTextStart(int textStart) |
protected void |
setTextTruncateSuffix(java.lang.String textTruncateSuffix) |
void |
setTopBorder(byte topBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setTopBorder(java.lang.Byte topBorder)
Deprecated.
Replaced by
getLineBox() |
void |
setTopBorderColor(java.awt.Color topBorderColor)
Deprecated.
Replaced by
getLineBox() |
void |
setTopPadding(int topPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setTopPadding(java.lang.Integer topPadding)
Deprecated.
Replaced by
getLineBox() |
void |
setUnderline(boolean isUnderline) |
void |
setUnderline(java.lang.Boolean isUnderline)
Alternative setUnderline method which allows also to reset
the "own" isUnderline property.
|
void |
setVerticalAlignment(byte verticalAlignment)
Deprecated.
Replaced by
setVerticalAlignment(VerticalAlignEnum). |
void |
setVerticalAlignment(java.lang.Byte verticalAlignment)
Deprecated.
Replaced by
setVerticalAlignment(VerticalAlignEnum). |
void |
setVerticalAlignment(VerticalAlignEnum verticalAlignment)
Gets the text vertical alignment.
|
void |
setWidth(int width) |
addDependantElement, clone, clone, collectDelayedEvaluations, collectDelayedEvaluations, collectDelayedEvaluations, collectStyleDelayedEvaluations, createElementTemplate, delayedEvaluate, evaluate, evaluateExpression, evaluatePrintWhenExpression, evaluateProperties, fill, getBackcolor, getBand, getDefaultStyleProvider, getDependantElements, getElementGroup, getElementOrigin, getElementTemplate, getEvaluatedProperties, getEvaluationTimeValue, getField, getForecolor, getGroupElements, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getRelativeY, getStretchHeight, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getTemplate, getVariable, getWidth, getX, getY, hasProperties, initDelayedEvaluationPrint, initDelayedEvaluations, isAlreadyPrinted, isAutoEvaluateNow, isDelayedStyleEvaluation, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, performDelayedEvaluation, prepare, registerTemplate, resolveElement, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setConditionalStylesContainer, setCurrentEvaluation, setForecolor, setMode, setMode, setMode, setOriginProvider, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setStretchType, setStyle, setStyleNameReference, setToPrint, setValueRepeating, setX, setY, stretchElement, stretchHeightFinal, transferProperties, transferPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setXvisitclonegetParentProperties, getPropertiesMap, hasPropertiesgetBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencecreateCloneprotected final JRReportFont reportFont
protected final JRLineBox lineBox
protected final JRParagraph paragraph
protected JRFillTextElement(JRBaseFiller filler, JRTextElement textElement, JRFillObjectFactory factory)
protected JRFillTextElement(JRFillTextElement textElement, JRFillCloneFactory factory)
protected void ensureTextMeasurer()
public ModeEnum getModeValue()
JRCommonElementgetModeValue in interface JRCommonElementgetModeValue in class JRFillElementpublic byte getTextAlignment()
getHorizontalAlignment().JRTextElementgetTextAlignment in interface JRTextElementJRAlignmentpublic void setTextAlignment(byte horizontalAlignment)
setHorizontalAlignment(byte).JRTextElementsetTextAlignment in interface JRTextElementhorizontalAlignment - a value representing one of the horizontal alignment constants in JRAlignmentpublic byte getHorizontalAlignment()
getHorizontalAlignmentValue().getHorizontalAlignment in interface JRAlignmentpublic java.lang.Byte getOwnHorizontalAlignment()
getOwnHorizontalAlignmentValue().getOwnHorizontalAlignment in interface JRAlignmentpublic HorizontalAlignEnum getHorizontalAlignmentValue()
JRAlignmentgetHorizontalAlignmentValue in interface JRAlignmentHorizontalAlignEnumpublic HorizontalAlignEnum getOwnHorizontalAlignmentValue()
getOwnHorizontalAlignmentValue in interface JRAlignmentpublic void setHorizontalAlignment(byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum).setHorizontalAlignment in interface JRAlignmentpublic void setHorizontalAlignment(java.lang.Byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum).setHorizontalAlignment in interface JRAlignmentpublic void setHorizontalAlignment(HorizontalAlignEnum horizontalAlignment)
JRAlignmentsetHorizontalAlignment in interface JRAlignmenthorizontalAlignment - a value representing one of the horizontal alignment constants in HorizontalAlignEnumpublic byte getVerticalAlignment()
getVerticalAlignmentValue().getVerticalAlignment in interface JRAlignmentpublic java.lang.Byte getOwnVerticalAlignment()
getOwnVerticalAlignmentValue().getOwnVerticalAlignment in interface JRAlignmentpublic VerticalAlignEnum getVerticalAlignmentValue()
JRAlignmentgetVerticalAlignmentValue in interface JRAlignmentVerticalAlignEnumpublic VerticalAlignEnum getOwnVerticalAlignmentValue()
getOwnVerticalAlignmentValue in interface JRAlignmentpublic void setVerticalAlignment(byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum).setVerticalAlignment in interface JRAlignmentpublic void setVerticalAlignment(java.lang.Byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum).setVerticalAlignment in interface JRAlignmentpublic void setVerticalAlignment(VerticalAlignEnum verticalAlignment)
JRAlignmentsetVerticalAlignment in interface JRAlignmentverticalAlignment - a value representing one of the vertical alignment constants in VerticalAlignEnumpublic byte getRotation()
getRotationValue().getRotation in interface JRCommonTextpublic java.lang.Byte getOwnRotation()
getRotationValue().getOwnRotation in interface JRCommonTextpublic void setRotation(byte rotation)
setRotation(RotationEnum).setRotation in interface JRCommonTextpublic void setRotation(java.lang.Byte rotation)
setRotation(RotationEnum).setRotation in interface JRCommonTextpublic RotationEnum getRotationValue()
JRCommonTextgetRotationValue in interface JRCommonTextRotationEnumpublic RotationEnum getOwnRotationValue()
JRCommonTextgetOwnRotationValue in interface JRCommonTextRotationEnumpublic void setRotation(RotationEnum rotation)
JRCommonTextsetRotation in interface JRCommonTextrotation - a value representing one of the text rotation constants in RotationEnumpublic byte getLineSpacing()
#getParagraph()#getLineSpacing().getLineSpacing in interface JRCommonTextpublic java.lang.Byte getOwnLineSpacing()
#getParagraph()#getOwnLineSpacing().getOwnLineSpacing in interface JRCommonTextpublic void setLineSpacing(byte lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum).setLineSpacing in interface JRCommonTextpublic void setLineSpacing(java.lang.Byte lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum).setLineSpacing in interface JRCommonTextpublic LineSpacingEnum getLineSpacingValue()
#getParagraph()#getLineSpacing().getLineSpacingValue in interface JRCommonTextpublic LineSpacingEnum getOwnLineSpacingValue()
#getParagraph()#getOwnLineSpacing().getOwnLineSpacingValue in interface JRCommonTextpublic void setLineSpacing(LineSpacingEnum lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum).setLineSpacing in interface JRCommonTextpublic boolean isStyledText()
getMarkup()JRCommonTextisStyledText in interface JRCommonTextpublic java.lang.Boolean isOwnStyledText()
getOwnMarkup()isOwnStyledText in interface JRCommonTextpublic void setStyledText(boolean isStyledText)
setMarkup(String)JRTextElementsetStyledText in interface JRTextElementpublic void setStyledText(java.lang.Boolean isStyledText)
setMarkup(String)setStyledText in interface JRTextElementpublic java.lang.String getMarkup()
JRCommonTextgetMarkup in interface JRCommonTextpublic java.lang.String getOwnMarkup()
getOwnMarkup in interface JRCommonTextpublic void setMarkup(java.lang.String markup)
setMarkup in interface JRCommonTextpublic JRBox getBox()
getLineBox()JRTextElementgetBox in interface JRTextElementpublic JRLineBox getLineBox()
getLineBox in interface JRBoxContainerpublic JRParagraph getParagraph()
getParagraph in interface JRParagraphContainerpublic byte getBorder()
getLineBox()public java.lang.Byte getOwnBorder()
getLineBox()getOwnBorder in interface JRBoxpublic void setBorder(byte border)
getLineBox()public void setBorder(java.lang.Byte border)
getLineBox()public java.awt.Color getBorderColor()
getLineBox()getBorderColor in interface JRBoxpublic java.awt.Color getOwnBorderColor()
getLineBox()getOwnBorderColor in interface JRBoxpublic void setBorderColor(java.awt.Color borderColor)
getLineBox()setBorderColor in interface JRBoxpublic int getPadding()
getLineBox()getPadding in interface JRBoxpublic java.lang.Integer getOwnPadding()
getLineBox()getOwnPadding in interface JRBoxpublic void setPadding(int padding)
getLineBox()setPadding in interface JRBoxpublic void setPadding(java.lang.Integer padding)
getLineBox()setPadding in interface JRBoxpublic byte getTopBorder()
getLineBox()getTopBorder in interface JRBoxpublic java.lang.Byte getOwnTopBorder()
getLineBox()getOwnTopBorder in interface JRBoxpublic void setTopBorder(byte topBorder)
getLineBox()setTopBorder in interface JRBoxpublic void setTopBorder(java.lang.Byte topBorder)
getLineBox()setTopBorder in interface JRBoxpublic java.awt.Color getTopBorderColor()
getLineBox()getTopBorderColor in interface JRBoxpublic java.awt.Color getOwnTopBorderColor()
getLineBox()getOwnTopBorderColor in interface JRBoxpublic void setTopBorderColor(java.awt.Color topBorderColor)
getLineBox()setTopBorderColor in interface JRBoxpublic int getTopPadding()
getLineBox()getTopPadding in interface JRBoxpublic java.lang.Integer getOwnTopPadding()
getLineBox()getOwnTopPadding in interface JRBoxpublic void setTopPadding(int topPadding)
getLineBox()setTopPadding in interface JRBoxpublic void setTopPadding(java.lang.Integer topPadding)
getLineBox()setTopPadding in interface JRBoxpublic byte getLeftBorder()
getLineBox()getLeftBorder in interface JRBoxpublic java.lang.Byte getOwnLeftBorder()
getLineBox()getOwnLeftBorder in interface JRBoxpublic void setLeftBorder(byte leftBorder)
getLineBox()setLeftBorder in interface JRBoxpublic void setLeftBorder(java.lang.Byte leftBorder)
getLineBox()setLeftBorder in interface JRBoxpublic java.awt.Color getLeftBorderColor()
getLineBox()getLeftBorderColor in interface JRBoxpublic java.awt.Color getOwnLeftBorderColor()
getLineBox()getOwnLeftBorderColor in interface JRBoxpublic void setLeftBorderColor(java.awt.Color leftBorderColor)
getLineBox()setLeftBorderColor in interface JRBoxpublic int getLeftPadding()
getLineBox()getLeftPadding in interface JRBoxpublic java.lang.Integer getOwnLeftPadding()
getLineBox()getOwnLeftPadding in interface JRBoxpublic void setLeftPadding(int leftPadding)
getLineBox()setLeftPadding in interface JRBoxpublic void setLeftPadding(java.lang.Integer leftPadding)
getLineBox()setLeftPadding in interface JRBoxpublic byte getBottomBorder()
getLineBox()getBottomBorder in interface JRBoxpublic java.lang.Byte getOwnBottomBorder()
getLineBox()getOwnBottomBorder in interface JRBoxpublic void setBottomBorder(byte bottomBorder)
getLineBox()setBottomBorder in interface JRBoxpublic void setBottomBorder(java.lang.Byte bottomBorder)
getLineBox()setBottomBorder in interface JRBoxpublic java.awt.Color getBottomBorderColor()
getLineBox()getBottomBorderColor in interface JRBoxpublic java.awt.Color getOwnBottomBorderColor()
getLineBox()getOwnBottomBorderColor in interface JRBoxpublic void setBottomBorderColor(java.awt.Color bottomBorderColor)
getLineBox()setBottomBorderColor in interface JRBoxpublic int getBottomPadding()
getLineBox()getBottomPadding in interface JRBoxpublic java.lang.Integer getOwnBottomPadding()
getLineBox()getOwnBottomPadding in interface JRBoxpublic void setBottomPadding(int bottomPadding)
getLineBox()setBottomPadding in interface JRBoxpublic void setBottomPadding(java.lang.Integer bottomPadding)
getLineBox()setBottomPadding in interface JRBoxpublic byte getRightBorder()
getLineBox()getRightBorder in interface JRBoxpublic java.lang.Byte getOwnRightBorder()
getLineBox()getOwnRightBorder in interface JRBoxpublic void setRightBorder(byte rightBorder)
getLineBox()setRightBorder in interface JRBoxpublic void setRightBorder(java.lang.Byte rightBorder)
getLineBox()setRightBorder in interface JRBoxpublic java.awt.Color getRightBorderColor()
getLineBox()getRightBorderColor in interface JRBoxpublic java.awt.Color getOwnRightBorderColor()
getLineBox()getOwnRightBorderColor in interface JRBoxpublic void setRightBorderColor(java.awt.Color rightBorderColor)
getLineBox()setRightBorderColor in interface JRBoxpublic int getRightPadding()
getLineBox()getRightPadding in interface JRBoxpublic java.lang.Integer getOwnRightPadding()
getLineBox()getOwnRightPadding in interface JRBoxpublic void setRightPadding(int rightPadding)
getLineBox()setRightPadding in interface JRBoxpublic void setRightPadding(java.lang.Integer rightPadding)
getLineBox()setRightPadding in interface JRBoxpublic JRFont getFont()
JRTextElementgetFont in interface JRTextElementprotected java.util.Map getStyledTextAttributes()
protected float getLineSpacingFactor()
protected void setLineSpacingFactor(float lineSpacingFactor)
protected float getLeadingOffset()
protected void setLeadingOffset(float leadingOffset)
protected byte getRunDirection()
getRunDirectionValue().public RunDirectionEnum getRunDirectionValue()
protected float getTextHeight()
protected void setTextHeight(float textHeight)
protected int getTextStart()
protected void setTextStart(int textStart)
protected int getTextEnd()
protected void setTextEnd(int textEnd)
protected short[] getLineBreakOffsets()
protected void setLineBreakOffsets(short[] lineBreakOffsets)
protected void resetTextChunk()
protected java.lang.String getRawText()
protected void setRawText(java.lang.String rawText)
protected void reset()
reset in class JRFillElementprotected void rewind()
rewind in class JRFillElementprotected JRStyledText getStyledText()
public java.lang.String getText()
protected void chopTextElement(int availableStretchHeight)
protected abstract boolean canOverflow()
public JRReportFont getReportFont()
getReportFont in interface JRFontpublic void setReportFont(JRReportFont reportFont)
setReportFont in interface JRFontpublic java.lang.String getFontName()
getFontName in interface JRFontpublic java.lang.String getOwnFontName()
getOwnFontName in interface JRFontpublic void setFontName(java.lang.String fontName)
setFontName in interface JRFontpublic void setBold(java.lang.Boolean isBold)
public java.lang.Boolean isOwnItalic()
isOwnItalic in interface JRFontpublic void setItalic(java.lang.Boolean isItalic)
public boolean isUnderline()
isUnderline in interface JRFontpublic java.lang.Boolean isOwnUnderline()
isOwnUnderline in interface JRFontpublic void setUnderline(boolean isUnderline)
setUnderline in interface JRFontpublic void setUnderline(java.lang.Boolean isUnderline)
setUnderline in interface JRFontpublic boolean isStrikeThrough()
isStrikeThrough in interface JRFontpublic java.lang.Boolean isOwnStrikeThrough()
isOwnStrikeThrough in interface JRFontpublic void setStrikeThrough(boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic void setStrikeThrough(java.lang.Boolean isStrikeThrough)
setStrikeThrough in interface JRFontpublic int getFontSize()
getFontSize in interface JRCommonTextgetFontSize in interface JRFontpublic java.lang.Integer getOwnFontSize()
getOwnFontSize in interface JRFontpublic void setFontSize(int size)
setFontSize in interface JRFontpublic void setFontSize(java.lang.Integer size)
setFontSize in interface JRFontpublic int getSize()
getFontSize().public java.lang.Integer getOwnSize()
getOwnFontSize().getOwnSize in interface JRFontpublic void setSize(int size)
setFontSize(int).public void setSize(java.lang.Integer size)
setFontSize(Integer).public java.lang.String getPdfFontName()
getPdfFontName in interface JRFontpublic java.lang.String getOwnPdfFontName()
getOwnPdfFontName in interface JRFontpublic void setPdfFontName(java.lang.String pdfFontName)
setPdfFontName in interface JRFontpublic java.lang.String getPdfEncoding()
getPdfEncoding in interface JRFontpublic java.lang.String getOwnPdfEncoding()
getOwnPdfEncoding in interface JRFontpublic void setPdfEncoding(java.lang.String pdfEncoding)
setPdfEncoding in interface JRFontpublic boolean isPdfEmbedded()
isPdfEmbedded in interface JRFontpublic java.lang.Boolean isOwnPdfEmbedded()
isOwnPdfEmbedded in interface JRFontpublic void setPdfEmbedded(boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic void setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
setPdfEmbedded in interface JRFontpublic java.awt.Color getDefaultLineColor()
getDefaultLineColor in interface JRBoxContainerpublic void setHeight(int height)
setHeight in class JRFillElementpublic void setWidth(int width)
setWidth in interface JRElementsetWidth in class JRFillElementprotected java.lang.String processMarkupText(java.lang.String text)
protected static MarkupProcessor getMarkupProcessor(java.lang.String markup)
protected void setPrintText(JRPrintText printText)
protected java.lang.String getTextTruncateSuffix()
protected void setTextTruncateSuffix(java.lang.String textTruncateSuffix)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com