|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRTemplatePrintElement
net.sf.jasperreports.engine.fill.JRTemplatePrintText
Field Summary | |
protected int |
bookmarkLevel
The bookmark level for the anchor associated with this field. |
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
template |
Fields inherited from interface net.sf.jasperreports.engine.JRPrintText |
RUN_DIRECTION_LTR, RUN_DIRECTION_RTL |
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 |
Constructor Summary | |
JRTemplatePrintText(JRTemplateText text)
|
Method Summary | |
java.lang.String |
getAnchorName()
|
int |
getBookmarkLevel()
Returns the level of the bookmark corresponding to the anchor. |
JRBox |
getBox()
|
JRFont |
getFont()
|
byte |
getHorizontalAlignment()
Gets the text horizontal alignment. |
java.lang.String |
getHyperlinkAnchor()
|
java.lang.Integer |
getHyperlinkPage()
|
java.lang.String |
getHyperlinkReference()
|
byte |
getHyperlinkTarget()
|
byte |
getHyperlinkType()
|
float |
getLeadingOffset()
|
byte |
getLineSpacing()
|
float |
getLineSpacingFactor()
|
byte |
getRotation()
|
byte |
getRunDirection()
|
java.lang.String |
getText()
|
byte |
getTextAlignment()
Deprecated. Replaced by getHorizontalAlignment() . |
float |
getTextHeight()
|
byte |
getVerticalAlignment()
Gets the text vertical alignment. |
boolean |
isStyledText()
|
void |
setAnchorName(java.lang.String anchorName)
|
void |
setBookmarkLevel(int bookmarkLevel)
Sets the boomark level for the anchor. |
void |
setBox(JRBox box)
|
void |
setFont(JRFont font)
|
void |
setHorizontalAlignment(byte horizontalAlignment)
Sets the text horizontal alignment. |
void |
setHyperlinkAnchor(java.lang.String hyperlinkAnchor)
|
void |
setHyperlinkPage(java.lang.Integer hyperlinkPage)
|
void |
setHyperlinkReference(java.lang.String hyperlinkReference)
|
void |
setHyperlinkTarget(byte hyperlinkTarget)
|
void |
setHyperlinkType(byte hyperlinkType)
|
void |
setLeadingOffset(float leadingOffset)
|
void |
setLineSpacing(byte lineSpacing)
|
void |
setLineSpacingFactor(float lineSpacingFactor)
|
void |
setRotation(byte rotation)
|
void |
setRunDirection(byte runDirection)
|
void |
setStyledText(boolean isStyledText)
|
void |
setText(java.lang.String text)
|
void |
setTextAlignment(byte horizontalAlignment)
Deprecated. Replaced by setHorizontalAlignment(byte) . |
void |
setTextHeight(float textHeight)
|
void |
setVerticalAlignment(byte verticalAlignment)
Gets the text vertical alignment. |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
getBackcolor, getForecolor, getHeight, getMode, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement |
getBackcolor, getForecolor, getHeight, getMode, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setWidth, setX, setY |
Field Detail |
protected int bookmarkLevel
JRAnchor.getBookmarkLevel()
Constructor Detail |
public JRTemplatePrintText(JRTemplateText text)
Method Detail |
public java.lang.String getText()
getText
in interface JRPrintText
public void setText(java.lang.String text)
setText
in interface JRPrintText
public float getLineSpacingFactor()
getLineSpacingFactor
in interface JRPrintText
public void setLineSpacingFactor(float lineSpacingFactor)
setLineSpacingFactor
in interface JRPrintText
public float getLeadingOffset()
getLeadingOffset
in interface JRPrintText
public void setLeadingOffset(float leadingOffset)
setLeadingOffset
in interface JRPrintText
public byte getTextAlignment()
getHorizontalAlignment()
.
getTextAlignment
in interface JRPrintText
public void setTextAlignment(byte horizontalAlignment)
setHorizontalAlignment(byte)
.
setTextAlignment
in interface JRPrintText
public byte getHorizontalAlignment()
JRAlignment
getHorizontalAlignment
in interface JRAlignment
JRAlignment
public void setHorizontalAlignment(byte horizontalAlignment)
JRAlignment
setHorizontalAlignment
in interface JRAlignment
horizontalAlignment
- a value representing one of the horizontal alignment constants in JRAlignment
public byte getVerticalAlignment()
JRAlignment
getVerticalAlignment
in interface JRPrintText
public void setVerticalAlignment(byte verticalAlignment)
JRAlignment
setVerticalAlignment
in interface JRPrintText
public byte getRotation()
getRotation
in interface JRPrintText
public void setRotation(byte rotation)
setRotation
in interface JRPrintText
public byte getRunDirection()
getRunDirection
in interface JRPrintText
public void setRunDirection(byte runDirection)
setRunDirection
in interface JRPrintText
public float getTextHeight()
getTextHeight
in interface JRPrintText
public void setTextHeight(float textHeight)
setTextHeight
in interface JRPrintText
public byte getLineSpacing()
getLineSpacing
in interface JRPrintText
public void setLineSpacing(byte lineSpacing)
setLineSpacing
in interface JRPrintText
public boolean isStyledText()
isStyledText
in interface JRPrintText
public void setStyledText(boolean isStyledText)
setStyledText
in interface JRPrintText
public JRBox getBox()
getBox
in interface JRPrintText
public void setBox(JRBox box)
setBox
in interface JRPrintText
public JRFont getFont()
getFont
in interface JRPrintText
public void setFont(JRFont font)
setFont
in interface JRPrintText
public java.lang.String getAnchorName()
getAnchorName
in interface JRPrintAnchor
public void setAnchorName(java.lang.String anchorName)
setAnchorName
in interface JRPrintAnchor
public byte getHyperlinkType()
getHyperlinkType
in interface JRPrintHyperlink
public void setHyperlinkType(byte hyperlinkType)
setHyperlinkType
in interface JRPrintHyperlink
public byte getHyperlinkTarget()
getHyperlinkTarget
in interface JRPrintHyperlink
public void setHyperlinkTarget(byte hyperlinkTarget)
setHyperlinkTarget
in interface JRPrintHyperlink
public java.lang.String getHyperlinkReference()
getHyperlinkReference
in interface JRPrintHyperlink
public void setHyperlinkReference(java.lang.String hyperlinkReference)
setHyperlinkReference
in interface JRPrintHyperlink
public java.lang.String getHyperlinkAnchor()
getHyperlinkAnchor
in interface JRPrintHyperlink
public void setHyperlinkAnchor(java.lang.String hyperlinkAnchor)
setHyperlinkAnchor
in interface JRPrintHyperlink
public java.lang.Integer getHyperlinkPage()
getHyperlinkPage
in interface JRPrintHyperlink
public void setHyperlinkPage(java.lang.Integer hyperlinkPage)
setHyperlinkPage
in interface JRPrintHyperlink
public int getBookmarkLevel()
JRPrintAnchor
getBookmarkLevel
in interface JRPrintAnchor
NO_BOOKMARK
if no bookmark should be created for this anchorpublic void setBookmarkLevel(int bookmarkLevel)
JRPrintAnchor
setBookmarkLevel
in interface JRPrintAnchor
bookmarkLevel
- the bookmark level (starting from 1)
or NO_BOOKMARK
if no bookmark should be created
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |