|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JRTextField
An abstract representation of a report static text. It provides functionality for static texts.
| Field Summary | |
|---|---|
static java.lang.String |
STANDARD_DATE_FORMAT_DEFAULT
Used in the date pattern to specify the default style. |
static java.lang.String |
STANDARD_DATE_FORMAT_FULL
Used in the date pattern to specify the full style. |
static java.lang.String |
STANDARD_DATE_FORMAT_HIDE
Used in the date pattern to specify that the date or time should not be included. |
static java.lang.String |
STANDARD_DATE_FORMAT_LONG
Used in the date pattern to specify the long style. |
static java.lang.String |
STANDARD_DATE_FORMAT_MEDIUM
Used in the date pattern to specify the medium style. |
static java.lang.String |
STANDARD_DATE_FORMAT_SEPARATOR
Used in the date format pattern to separate the date and time styles. |
static java.lang.String |
STANDARD_DATE_FORMAT_SHORT
Used in the date pattern to specify the short style. |
| 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 |
| Fields inherited from interface net.sf.jasperreports.engine.JRAnchor |
|---|
NO_BOOKMARK |
| Fields inherited from interface net.sf.jasperreports.engine.JRHyperlink |
|---|
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_SELF, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE |
| Method Summary | |
|---|---|
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this text field. |
byte |
getEvaluationTime()
Gets the evaluation time for this text field. |
JRExpression |
getExpression()
Gets the expression for this field. |
java.lang.String |
getPattern()
Gets the pattern used for this text field. |
boolean |
isBlankWhenNull()
Indicates whether an empty string will be displayed if the field's expression evaluates to null. |
boolean |
isStretchWithOverflow()
Specifies whether the text field will stretch vertically if its text does not fit in one line. |
void |
setBlankWhenNull(boolean isBlank)
Specifies whether an empty string sholuld be displayed if the field's expression evaluates to null. |
void |
setPattern(java.lang.String pattern)
Sets the pattern used for this text field. |
void |
setStretchWithOverflow(boolean isStretchWithOverflow)
Set to true if the text field should stretch vertically if its text does not fit in one line. |
| 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 |
|---|
collectExpressions, 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.JRChild |
|---|
getCopy, writeXml |
| Methods inherited from interface net.sf.jasperreports.engine.JRAlignment |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Methods inherited from interface net.sf.jasperreports.engine.JRAnchor |
|---|
getAnchorNameExpression, getBookmarkLevel |
| Methods inherited from interface net.sf.jasperreports.engine.JRHyperlink |
|---|
getHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkType |
| Field Detail |
|---|
static final java.lang.String STANDARD_DATE_FORMAT_DEFAULT
DateFormat.DEFAULT,
Constant Field Valuesstatic final java.lang.String STANDARD_DATE_FORMAT_SHORT
DateFormat.SHORT,
Constant Field Valuesstatic final java.lang.String STANDARD_DATE_FORMAT_MEDIUM
DateFormat.MEDIUM,
Constant Field Valuesstatic final java.lang.String STANDARD_DATE_FORMAT_LONG
DateFormat.LONG,
Constant Field Valuesstatic final java.lang.String STANDARD_DATE_FORMAT_FULL
DateFormat.FULL,
Constant Field Valuesstatic final java.lang.String STANDARD_DATE_FORMAT_HIDE
static final java.lang.String STANDARD_DATE_FORMAT_SEPARATOR
| Method Detail |
|---|
boolean isStretchWithOverflow()
void setStretchWithOverflow(boolean isStretchWithOverflow)
byte getEvaluationTime()
JRExpressionjava.lang.String getPattern()
void setPattern(java.lang.String pattern)
boolean isBlankWhenNull()
null.
void setBlankWhenNull(boolean isBlank)
null.
isBlank - true if an empty string will be displayed instead of null values, false otherwiseJRGroup getEvaluationGroup()
JRExpression.EVALUATION_TIME_GROUPJRExpression getExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||