public interface IDynamicText extends IReportItem
constants
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType()
Returns the expression that that defines the type of text the multi-line
data item holds.
|
java.lang.String |
getValueExpr()
Returns the expression that gives the text that the multi-line data item
displays.
|
void |
setContentType(java.lang.String contentType)
Sets the expression that defines the text type this multi-line data item
holds.
|
void |
setValueExpr(java.lang.String expr)
Sets the expression that gives the text that this multi-line data item
displays.
|
addDataBinding, addHideRule, addHighlightRule, getBookmark, getDataBinding, getDataBindings, getHeight, getHideRules, getHighlightRules, getTocExpression, getWidth, getX, getY, removeDataBinding, removeDataBindings, removeHideRule, removeHideRules, removeHighlightRule, removeHighlightRules, setBookmark, setCurrentView, setHeight, setHeight, setTocExpression, setWidth, setWidth, setX, setX, setY, setY
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getName, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setName
getNamedExpression, getParent, getQualifiedName, getReport, getStyle, getUserProperty, getUserPropertyExpression, setNamedExpression, setUserProperty, setUserProperty
java.lang.String getValueExpr()
void setValueExpr(java.lang.String expr) throws ScriptException
expr
- the new expression for the value expressionScriptException
- if the expression contains errors, or the property is locked.java.lang.String getContentType()
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_AUTO
(default)
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_PLAIN
:
Plain text;
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_HTML
:
HTML format;
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_RTF
:
Rich Text format;
void setContentType(java.lang.String contentType) throws ScriptException
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_AUTO
(default)
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_PLAIN
:
Plain text;
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_HTML
:
HTML format;
DesignChoiceConstants.TEXT_DATA_CONTENT_TYPE_RTF
:
Rich Text format;
contentType
- the new text typeScriptException
- if the property is locked or the contentType
is not one of the above.Copyright © 2008 Actuate Corp. All rights reserved.