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, templates
LINE_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_RIGHT
MODE_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_OBJECT
HORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_JUSTIFIED, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOP
DEFAULT_FONT_NAME, DEFAULT_FONT_SIZE, DEFAULT_PDF_EMBEDDED, DEFAULT_PDF_ENCODING, DEFAULT_PDF_FONT_NAME
MARKUP_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, transferProperties
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
collectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setX
visit
clone
getParentProperties, getPropertiesMap, hasProperties
getBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
createClone
protected 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()
JRCommonElement
getModeValue
in interface JRCommonElement
getModeValue
in class JRFillElement
public byte getTextAlignment()
getHorizontalAlignment()
.JRTextElement
getTextAlignment
in interface JRTextElement
JRAlignment
public void setTextAlignment(byte horizontalAlignment)
setHorizontalAlignment(byte)
.JRTextElement
setTextAlignment
in interface JRTextElement
horizontalAlignment
- a value representing one of the horizontal alignment constants in JRAlignment
public byte getHorizontalAlignment()
getHorizontalAlignmentValue()
.getHorizontalAlignment
in interface JRAlignment
public java.lang.Byte getOwnHorizontalAlignment()
getOwnHorizontalAlignmentValue()
.getOwnHorizontalAlignment
in interface JRAlignment
public HorizontalAlignEnum getHorizontalAlignmentValue()
JRAlignment
getHorizontalAlignmentValue
in interface JRAlignment
HorizontalAlignEnum
public HorizontalAlignEnum getOwnHorizontalAlignmentValue()
getOwnHorizontalAlignmentValue
in interface JRAlignment
public void setHorizontalAlignment(byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum)
.setHorizontalAlignment
in interface JRAlignment
public void setHorizontalAlignment(java.lang.Byte horizontalAlignment)
setHorizontalAlignment(HorizontalAlignEnum)
.setHorizontalAlignment
in interface JRAlignment
public void setHorizontalAlignment(HorizontalAlignEnum horizontalAlignment)
JRAlignment
setHorizontalAlignment
in interface JRAlignment
horizontalAlignment
- a value representing one of the horizontal alignment constants in HorizontalAlignEnum
public byte getVerticalAlignment()
getVerticalAlignmentValue()
.getVerticalAlignment
in interface JRAlignment
public java.lang.Byte getOwnVerticalAlignment()
getOwnVerticalAlignmentValue()
.getOwnVerticalAlignment
in interface JRAlignment
public VerticalAlignEnum getVerticalAlignmentValue()
JRAlignment
getVerticalAlignmentValue
in interface JRAlignment
VerticalAlignEnum
public VerticalAlignEnum getOwnVerticalAlignmentValue()
getOwnVerticalAlignmentValue
in interface JRAlignment
public void setVerticalAlignment(byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum)
.setVerticalAlignment
in interface JRAlignment
public void setVerticalAlignment(java.lang.Byte verticalAlignment)
setVerticalAlignment(VerticalAlignEnum)
.setVerticalAlignment
in interface JRAlignment
public void setVerticalAlignment(VerticalAlignEnum verticalAlignment)
JRAlignment
setVerticalAlignment
in interface JRAlignment
verticalAlignment
- a value representing one of the vertical alignment constants in VerticalAlignEnum
public byte getRotation()
getRotationValue()
.getRotation
in interface JRCommonText
public java.lang.Byte getOwnRotation()
getRotationValue()
.getOwnRotation
in interface JRCommonText
public void setRotation(byte rotation)
setRotation(RotationEnum)
.setRotation
in interface JRCommonText
public void setRotation(java.lang.Byte rotation)
setRotation(RotationEnum)
.setRotation
in interface JRCommonText
public RotationEnum getRotationValue()
JRCommonText
getRotationValue
in interface JRCommonText
RotationEnum
public RotationEnum getOwnRotationValue()
JRCommonText
getOwnRotationValue
in interface JRCommonText
RotationEnum
public void setRotation(RotationEnum rotation)
JRCommonText
setRotation
in interface JRCommonText
rotation
- a value representing one of the text rotation constants in RotationEnum
public byte getLineSpacing()
#getParagraph()#getLineSpacing()
.getLineSpacing
in interface JRCommonText
public java.lang.Byte getOwnLineSpacing()
#getParagraph()#getOwnLineSpacing()
.getOwnLineSpacing
in interface JRCommonText
public void setLineSpacing(byte lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum)
.setLineSpacing
in interface JRCommonText
public void setLineSpacing(java.lang.Byte lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum)
.setLineSpacing
in interface JRCommonText
public LineSpacingEnum getLineSpacingValue()
#getParagraph()#getLineSpacing()
.getLineSpacingValue
in interface JRCommonText
public LineSpacingEnum getOwnLineSpacingValue()
#getParagraph()#getOwnLineSpacing()
.getOwnLineSpacingValue
in interface JRCommonText
public void setLineSpacing(LineSpacingEnum lineSpacing)
#getParagraph()#setLineSpacing(LineSpacingEnum)
.setLineSpacing
in interface JRCommonText
public boolean isStyledText()
getMarkup()
JRCommonText
isStyledText
in interface JRCommonText
public java.lang.Boolean isOwnStyledText()
getOwnMarkup()
isOwnStyledText
in interface JRCommonText
public void setStyledText(boolean isStyledText)
setMarkup(String)
JRTextElement
setStyledText
in interface JRTextElement
public void setStyledText(java.lang.Boolean isStyledText)
setMarkup(String)
setStyledText
in interface JRTextElement
public java.lang.String getMarkup()
JRCommonText
getMarkup
in interface JRCommonText
public java.lang.String getOwnMarkup()
getOwnMarkup
in interface JRCommonText
public void setMarkup(java.lang.String markup)
setMarkup
in interface JRCommonText
public JRBox getBox()
getLineBox()
JRTextElement
getBox
in interface JRTextElement
public JRLineBox getLineBox()
getLineBox
in interface JRBoxContainer
public JRParagraph getParagraph()
getParagraph
in interface JRParagraphContainer
public byte getBorder()
getLineBox()
public java.lang.Byte getOwnBorder()
getLineBox()
getOwnBorder
in interface JRBox
public void setBorder(byte border)
getLineBox()
public void setBorder(java.lang.Byte border)
getLineBox()
public java.awt.Color getBorderColor()
getLineBox()
getBorderColor
in interface JRBox
public java.awt.Color getOwnBorderColor()
getLineBox()
getOwnBorderColor
in interface JRBox
public void setBorderColor(java.awt.Color borderColor)
getLineBox()
setBorderColor
in interface JRBox
public int getPadding()
getLineBox()
getPadding
in interface JRBox
public java.lang.Integer getOwnPadding()
getLineBox()
getOwnPadding
in interface JRBox
public void setPadding(int padding)
getLineBox()
setPadding
in interface JRBox
public void setPadding(java.lang.Integer padding)
getLineBox()
setPadding
in interface JRBox
public byte getTopBorder()
getLineBox()
getTopBorder
in interface JRBox
public java.lang.Byte getOwnTopBorder()
getLineBox()
getOwnTopBorder
in interface JRBox
public void setTopBorder(byte topBorder)
getLineBox()
setTopBorder
in interface JRBox
public void setTopBorder(java.lang.Byte topBorder)
getLineBox()
setTopBorder
in interface JRBox
public java.awt.Color getTopBorderColor()
getLineBox()
getTopBorderColor
in interface JRBox
public java.awt.Color getOwnTopBorderColor()
getLineBox()
getOwnTopBorderColor
in interface JRBox
public void setTopBorderColor(java.awt.Color topBorderColor)
getLineBox()
setTopBorderColor
in interface JRBox
public int getTopPadding()
getLineBox()
getTopPadding
in interface JRBox
public java.lang.Integer getOwnTopPadding()
getLineBox()
getOwnTopPadding
in interface JRBox
public void setTopPadding(int topPadding)
getLineBox()
setTopPadding
in interface JRBox
public void setTopPadding(java.lang.Integer topPadding)
getLineBox()
setTopPadding
in interface JRBox
public byte getLeftBorder()
getLineBox()
getLeftBorder
in interface JRBox
public java.lang.Byte getOwnLeftBorder()
getLineBox()
getOwnLeftBorder
in interface JRBox
public void setLeftBorder(byte leftBorder)
getLineBox()
setLeftBorder
in interface JRBox
public void setLeftBorder(java.lang.Byte leftBorder)
getLineBox()
setLeftBorder
in interface JRBox
public java.awt.Color getLeftBorderColor()
getLineBox()
getLeftBorderColor
in interface JRBox
public java.awt.Color getOwnLeftBorderColor()
getLineBox()
getOwnLeftBorderColor
in interface JRBox
public void setLeftBorderColor(java.awt.Color leftBorderColor)
getLineBox()
setLeftBorderColor
in interface JRBox
public int getLeftPadding()
getLineBox()
getLeftPadding
in interface JRBox
public java.lang.Integer getOwnLeftPadding()
getLineBox()
getOwnLeftPadding
in interface JRBox
public void setLeftPadding(int leftPadding)
getLineBox()
setLeftPadding
in interface JRBox
public void setLeftPadding(java.lang.Integer leftPadding)
getLineBox()
setLeftPadding
in interface JRBox
public byte getBottomBorder()
getLineBox()
getBottomBorder
in interface JRBox
public java.lang.Byte getOwnBottomBorder()
getLineBox()
getOwnBottomBorder
in interface JRBox
public void setBottomBorder(byte bottomBorder)
getLineBox()
setBottomBorder
in interface JRBox
public void setBottomBorder(java.lang.Byte bottomBorder)
getLineBox()
setBottomBorder
in interface JRBox
public java.awt.Color getBottomBorderColor()
getLineBox()
getBottomBorderColor
in interface JRBox
public java.awt.Color getOwnBottomBorderColor()
getLineBox()
getOwnBottomBorderColor
in interface JRBox
public void setBottomBorderColor(java.awt.Color bottomBorderColor)
getLineBox()
setBottomBorderColor
in interface JRBox
public int getBottomPadding()
getLineBox()
getBottomPadding
in interface JRBox
public java.lang.Integer getOwnBottomPadding()
getLineBox()
getOwnBottomPadding
in interface JRBox
public void setBottomPadding(int bottomPadding)
getLineBox()
setBottomPadding
in interface JRBox
public void setBottomPadding(java.lang.Integer bottomPadding)
getLineBox()
setBottomPadding
in interface JRBox
public byte getRightBorder()
getLineBox()
getRightBorder
in interface JRBox
public java.lang.Byte getOwnRightBorder()
getLineBox()
getOwnRightBorder
in interface JRBox
public void setRightBorder(byte rightBorder)
getLineBox()
setRightBorder
in interface JRBox
public void setRightBorder(java.lang.Byte rightBorder)
getLineBox()
setRightBorder
in interface JRBox
public java.awt.Color getRightBorderColor()
getLineBox()
getRightBorderColor
in interface JRBox
public java.awt.Color getOwnRightBorderColor()
getLineBox()
getOwnRightBorderColor
in interface JRBox
public void setRightBorderColor(java.awt.Color rightBorderColor)
getLineBox()
setRightBorderColor
in interface JRBox
public int getRightPadding()
getLineBox()
getRightPadding
in interface JRBox
public java.lang.Integer getOwnRightPadding()
getLineBox()
getOwnRightPadding
in interface JRBox
public void setRightPadding(int rightPadding)
getLineBox()
setRightPadding
in interface JRBox
public void setRightPadding(java.lang.Integer rightPadding)
getLineBox()
setRightPadding
in interface JRBox
public JRFont getFont()
JRTextElement
getFont
in interface JRTextElement
protected 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 JRFillElement
protected void rewind()
rewind
in class JRFillElement
protected JRStyledText getStyledText()
public java.lang.String getText()
protected void chopTextElement(int availableStretchHeight)
protected abstract boolean canOverflow()
public JRReportFont getReportFont()
getReportFont
in interface JRFont
public void setReportFont(JRReportFont reportFont)
setReportFont
in interface JRFont
public java.lang.String getFontName()
getFontName
in interface JRFont
public java.lang.String getOwnFontName()
getOwnFontName
in interface JRFont
public void setFontName(java.lang.String fontName)
setFontName
in interface JRFont
public void setBold(java.lang.Boolean isBold)
public java.lang.Boolean isOwnItalic()
isOwnItalic
in interface JRFont
public void setItalic(java.lang.Boolean isItalic)
public boolean isUnderline()
isUnderline
in interface JRFont
public java.lang.Boolean isOwnUnderline()
isOwnUnderline
in interface JRFont
public void setUnderline(boolean isUnderline)
setUnderline
in interface JRFont
public void setUnderline(java.lang.Boolean isUnderline)
setUnderline
in interface JRFont
public boolean isStrikeThrough()
isStrikeThrough
in interface JRFont
public java.lang.Boolean isOwnStrikeThrough()
isOwnStrikeThrough
in interface JRFont
public void setStrikeThrough(boolean isStrikeThrough)
setStrikeThrough
in interface JRFont
public void setStrikeThrough(java.lang.Boolean isStrikeThrough)
setStrikeThrough
in interface JRFont
public int getFontSize()
getFontSize
in interface JRCommonText
getFontSize
in interface JRFont
public java.lang.Integer getOwnFontSize()
getOwnFontSize
in interface JRFont
public void setFontSize(int size)
setFontSize
in interface JRFont
public void setFontSize(java.lang.Integer size)
setFontSize
in interface JRFont
public int getSize()
getFontSize()
.public java.lang.Integer getOwnSize()
getOwnFontSize()
.getOwnSize
in interface JRFont
public void setSize(int size)
setFontSize(int)
.public void setSize(java.lang.Integer size)
setFontSize(Integer)
.public java.lang.String getPdfFontName()
getPdfFontName
in interface JRFont
public java.lang.String getOwnPdfFontName()
getOwnPdfFontName
in interface JRFont
public void setPdfFontName(java.lang.String pdfFontName)
setPdfFontName
in interface JRFont
public java.lang.String getPdfEncoding()
getPdfEncoding
in interface JRFont
public java.lang.String getOwnPdfEncoding()
getOwnPdfEncoding
in interface JRFont
public void setPdfEncoding(java.lang.String pdfEncoding)
setPdfEncoding
in interface JRFont
public boolean isPdfEmbedded()
isPdfEmbedded
in interface JRFont
public java.lang.Boolean isOwnPdfEmbedded()
isOwnPdfEmbedded
in interface JRFont
public void setPdfEmbedded(boolean isPdfEmbedded)
setPdfEmbedded
in interface JRFont
public void setPdfEmbedded(java.lang.Boolean isPdfEmbedded)
setPdfEmbedded
in interface JRFont
public java.awt.Color getDefaultLineColor()
getDefaultLineColor
in interface JRBoxContainer
public void setHeight(int height)
setHeight
in class JRFillElement
public void setWidth(int width)
setWidth
in interface JRElement
setWidth
in class JRFillElement
protected 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