public interface ILabel extends IReportItem
constants
Modifier and Type | Method and Description |
---|---|
void |
addAction(IAction action)
Adds the action structure to this Label item.
|
IAction |
getAction()
Returns a handle to work with the action property, action is a structure
that defines a hyperlink.
|
java.lang.String |
getDisplayText()
Returns the localized text for the label.
|
java.lang.String |
getHelpText()
Returns the help text of this label item.
|
java.lang.String |
getHelpTextKey()
Returns the help text key of this label item.
|
java.lang.String |
getText()
Returns the static text for the label.
|
java.lang.String |
getTextKey()
Returns the resource key of the static text of the label.
|
void |
setHelpText(java.lang.String text)
Sets the help text of this label item.
|
void |
setHelpTextKey(java.lang.String resourceKey)
Sets the help text key of this label item.
|
void |
setText(java.lang.String text)
Sets the text of the label.
|
void |
setTextKey(java.lang.String resourceKey)
Sets the resource key of the static text of the label.
|
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 getText()
java.lang.String getDisplayText()
void setText(java.lang.String text) throws ScriptException
text
- the new text for the labelScriptException
- if the property is locked.java.lang.String getTextKey()
void setTextKey(java.lang.String resourceKey) throws ScriptException
resourceKey
- the resource key of the static textScriptException
- if the resource key property is locked.IAction getAction()
null
if the
action has not been set on the label.ActionHandle
void addAction(IAction action)
action
- the action stucture to be added.java.lang.String getHelpText()
void setHelpText(java.lang.String text) throws ScriptException
text
- the help textScriptException
- if the resource key property is locked.java.lang.String getHelpTextKey()
void setHelpTextKey(java.lang.String resourceKey) throws ScriptException
resourceKey
- the help text keyScriptException
- if the resource key property of the help text is locked.Copyright © 2008 Actuate Corp. All rights reserved.