|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a the design of a multi line text item in the scripting environment
| Method Summary | |
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. |
| Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IReportItem |
getBookmark, getHeight, getTocExpression, getWidth, getX, getY, setBookmark, setHeight, setHeight, setTocExpression, setWidth, setWidth, setX, setX, setY, setY |
| Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IReportElement |
getComments, getCustomXml, getDisplayName, getDisplayNameKey, setComments, setCustomXml, setDisplayName, setDisplayNameKey |
| Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IDesignElement |
getName, getNamedExpression, getParent, getQualifiedName, getStyle, getUserProperty, setName, setNamedExpression, setUserProperty, setUserProperty |
| Method Detail |
public java.lang.String getValueExpr()
public void setValueExpr(java.lang.String expr)
throws ScriptException
expr - the new expression for the value expression
ScriptException - if the expression contains errors, or the property is locked.public 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;
public 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 type
ScriptException - if the property is locked or the contentType
is not one of the above.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||