|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextItem
Represents a the design of a TextItem in the scripting environment
Method Summary | |
---|---|
java.lang.String |
getContent()
Gets the text of this text element. |
java.lang.String |
getContentKey()
Gets the resource key of the text for the item. |
java.lang.String |
getContentType()
Returns the content type of this text item. |
java.lang.String |
getDisplayContent()
Returns the localized content for the text. |
void |
setContent(java.lang.String value)
Sets the text for the text element. |
void |
setContentKey(java.lang.String resourceKey)
Sets the resource key of the text for the item. |
void |
setContentType(java.lang.String contentType)
Sets the content type of this text item. |
Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IReportItem |
---|
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 |
Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IReportElement |
---|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getName, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setName |
Methods inherited from interface org.eclipse.birt.report.engine.api.script.element.IDesignElement |
---|
getNamedExpression, getParent, getQualifiedName, getReport, getStyle, getUserProperty, setNamedExpression, setUserProperty, setUserProperty |
Method Detail |
---|
java.lang.String getContent()
null
.java.lang.String getDisplayContent()
void setContent(java.lang.String value) throws ScriptException
value
- the new content of the text item
ScriptException
- if the property is locked.java.lang.String getContentType()
DesignChoiceConstants
:
TEXT_CONTENT_TYPE_AUTO
TEXT_CONTENT_TYPE_PLAIN
TEXT_CONTENT_TYPE_HTML
TEXT_CONTENT_TYPE_RTF
null
.org.eclipse.birt.report.model.api.elements.DesignChoiceConstants
void setContentType(java.lang.String contentType) throws ScriptException
DesignChoiceConstants
:
TEXT_CONTENT_TYPE_AUTO
TEXT_CONTENT_TYPE_PLAIN
TEXT_CONTENT_TYPE_HTML
TEXT_CONTENT_TYPE_RTF
contentType
- the content type of this text item.
ScriptException
- if the value is not a valid choice item.org.eclipse.birt.report.model.api.elements.DesignChoiceConstants
java.lang.String getContentKey()
void setContentKey(java.lang.String resourceKey) throws ScriptException
resourceKey
- the resource key of the text
ScriptException
- if the property is locked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |