|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillTextElement
public abstract class JRFillTextElement
Field Summary | |
---|---|
protected JRLineBox |
lineBox
|
protected JRReportFont |
reportFont
|
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
---|
band, conditionalStylesContainer, currentEvaluation, currentStyle, defaultStyleProvider, delayedEvaluationsMap, dynamicProperties, elementGroup, expressionEvaluator, filler, initStyle, mergedProperties, originProvider, parent, printWhenGroupChanges, staticProperties, templates |
Fields inherited from interface net.sf.jasperreports.engine.JRTextElement |
---|
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 |
Fields inherited from interface net.sf.jasperreports.engine.JRElement |
---|
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 |
Fields inherited from interface net.sf.jasperreports.engine.JRAlignment |
---|
HORIZONTAL_ALIGN_CENTER, HORIZONTAL_ALIGN_JUSTIFIED, HORIZONTAL_ALIGN_LEFT, HORIZONTAL_ALIGN_RIGHT, VERTICAL_ALIGN_BOTTOM, VERTICAL_ALIGN_JUSTIFIED, VERTICAL_ALIGN_MIDDLE, VERTICAL_ALIGN_TOP |
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.JRCommonText |
---|
MARKUP_HTML, MARKUP_NONE, MARKUP_RTF, MARKUP_STYLED_TEXT |
Constructor Summary | |
---|---|
protected |
JRFillTextElement(JRBaseFiller filler,
JRTextElement textElement,
JRFillObjectFactory factory)
|
protected |
JRFillTextElement(JRFillTextElement textElement,
JRFillCloneFactory factory)
|
Method Summary | |
---|---|
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()
|
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 getLineSpacingValue() . |
protected float |
getLineSpacingFactor()
|
LineSpacingEnum |
getLineSpacingValue()
Gets the text line spacing. |
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 getOwnLineSpacingValue() . |
LineSpacingEnum |
getOwnLineSpacingValue()
Gets the text own line spacing. |
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() |
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)
|
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 setLineSpacing(LineSpacingEnum) . |
void |
setLineSpacing(java.lang.Byte lineSpacing)
Deprecated. Replaced by setLineSpacing(LineSpacingEnum) . |
void |
setLineSpacing(LineSpacingEnum lineSpacing)
Sets the text line spacing. |
protected void |
setLineSpacingFactor(float lineSpacingFactor)
|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
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 |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRVisitable |
---|
visit |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getHeight, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Methods inherited from interface net.sf.jasperreports.engine.fill.JRFillCloneable |
---|
createClone |
Field Detail |
---|
protected final JRReportFont reportFont
protected final JRLineBox lineBox
Constructor Detail |
---|
protected JRFillTextElement(JRBaseFiller filler, JRTextElement textElement, JRFillObjectFactory factory)
protected JRFillTextElement(JRFillTextElement textElement, JRFillCloneFactory factory)
Method Detail |
---|
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()
getLineSpacingValue()
.
getLineSpacing
in interface JRCommonText
public java.lang.Byte getOwnLineSpacing()
getOwnLineSpacingValue()
.
getOwnLineSpacing
in interface JRCommonText
public void setLineSpacing(byte lineSpacing)
setLineSpacing(LineSpacingEnum)
.
setLineSpacing
in interface JRCommonText
public void setLineSpacing(java.lang.Byte lineSpacing)
setLineSpacing(LineSpacingEnum)
.
setLineSpacing
in interface JRCommonText
public LineSpacingEnum getLineSpacingValue()
JRCommonText
getLineSpacingValue
in interface JRCommonText
LineSpacingEnum
public LineSpacingEnum getOwnLineSpacingValue()
JRCommonText
getOwnLineSpacingValue
in interface JRCommonText
LineSpacingEnum
public void setLineSpacing(LineSpacingEnum lineSpacing)
JRCommonText
setLineSpacing
in interface JRCommonText
lineSpacing
- a value representing one of the line spacing constants in LineSpacingEnum
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 byte getBorder()
getLineBox()
getBorder
in interface JRBox
public java.lang.Byte getOwnBorder()
getLineBox()
getOwnBorder
in interface JRBox
public void setBorder(byte border)
getLineBox()
setBorder
in interface JRBox
public void setBorder(java.lang.Byte border)
getLineBox()
setBorder
in interface JRBox
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 boolean isBold()
isBold
in interface JRFont
public java.lang.Boolean isOwnBold()
isOwnBold
in interface JRFont
public void setBold(boolean isBold)
setBold
in interface JRFont
public void setBold(java.lang.Boolean isBold)
setBold
in interface JRFont
public boolean isItalic()
isItalic
in interface JRFont
public java.lang.Boolean isOwnItalic()
isOwnItalic
in interface JRFont
public void setItalic(boolean isItalic)
setItalic
in interface JRFont
public void setItalic(java.lang.Boolean isItalic)
setItalic
in interface JRFont
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()
.
getSize
in interface JRFont
public java.lang.Integer getOwnSize()
getOwnFontSize()
.
getOwnSize
in interface JRFont
public void setSize(int size)
setFontSize(int)
.
setSize
in interface JRFont
public void setSize(java.lang.Integer size)
setFontSize(Integer)
.
setSize
in interface JRFont
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |