|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseElement
net.sf.jasperreports.engine.base.JRBaseTextElement
net.sf.jasperreports.engine.base.JRBaseStaticText
public class JRBaseStaticText
This class is used for representing a static text element. Together with its parents, it contains the full functionality needed for handling a static text.
| Field Summary | |
|---|---|
protected java.lang.String |
text
|
| Fields inherited from class net.sf.jasperreports.engine.base.JRBaseTextElement |
|---|
box, font, horizontalAlignment, isStyledText, lineSpacing, rotation, verticalAlignment |
| Fields inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
backcolor, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, mode, positionType, printWhenExpression, printWhenGroupChanges, stretchType, width, x, y |
| Fields inherited from interface net.sf.jasperreports.engine.JRTextElement |
|---|
LINE_SPACING_1_1_2, LINE_SPACING_DOUBLE, LINE_SPACING_SINGLE, ROTATION_LEFT, ROTATION_NONE, ROTATION_RIGHT, 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 |
| Constructor Summary | |
|---|---|
protected |
JRBaseStaticText(JRStaticText staticText,
JRBaseObjectFactory factory)
Initializes the element properties. |
| Method Summary | |
|---|---|
void |
collectExpressions(JRExpressionCollector collector)
|
JRChild |
getCopy(JRAbstractObjectFactory factory)
|
java.lang.String |
getText()
|
void |
setText(java.lang.String text)
|
void |
writeXml(JRXmlWriter writer)
|
| Methods inherited from class net.sf.jasperreports.engine.base.JRBaseTextElement |
|---|
getBox, getFont, getHorizontalAlignment, getLineSpacing, getRotation, getTextAlignment, getVerticalAlignment, isStyledText, setHorizontalAlignment, setLineSpacing, setRotation, setStyledText, setTextAlignment, setVerticalAlignment |
| Methods inherited from class net.sf.jasperreports.engine.base.JRBaseElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| 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.JRTextElement |
|---|
getBox, getFont, getLineSpacing, getRotation, getTextAlignment, isStyledText, setLineSpacing, setRotation, setStyledText, setTextAlignment |
| Methods inherited from interface net.sf.jasperreports.engine.JRElement |
|---|
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
| Methods inherited from interface net.sf.jasperreports.engine.JRAlignment |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Field Detail |
|---|
protected java.lang.String text
| Constructor Detail |
|---|
protected JRBaseStaticText(JRStaticText staticText,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public java.lang.String getText()
getText in interface JRStaticTextpublic void setText(java.lang.String text)
setText in interface JRStaticTextpublic JRChild getCopy(JRAbstractObjectFactory factory)
getCopy in interface JRChildpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void writeXml(JRXmlWriter writer)
writeXml in interface JRChild
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||