public interface ILabel extends IReportItem
constants| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAction(IAction action)
Add 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, setYgetComments, getCustomXml, getDisplayName, getDisplayNameKey, getName, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setNamegetNamedExpression, getParent, getQualifiedName, getReport, getStyle, getUserProperty, getUserPropertyExpression, setNamedExpression, setUserProperty, setUserPropertyjava.lang.String getText()
java.lang.String getDisplayText()
void setText(java.lang.String text)
throws SemanticException
text - the new text for the labelSemanticException - if the property is locked.java.lang.String getTextKey()
void setTextKey(java.lang.String resourceKey)
throws SemanticException
resourceKey - the resource key of the static textSemanticException - if the resource key property is locked.IAction getAction()
null if
the action has not been set on the label.ActionHandlevoid addAction(IAction action) throws SemanticException
action - SemanticExceptionjava.lang.String getHelpText()
void setHelpText(java.lang.String text)
throws SemanticException
text - the help textSemanticException - if the resource key property is locked.java.lang.String getHelpTextKey()
void setHelpTextKey(java.lang.String resourceKey)
throws SemanticException
resourceKey - the help text keySemanticException - if the resource key property of the help text is locked.Copyright © 2008 Actuate Corp. All rights reserved.