public class SelectionChoiceHandle extends StructureHandle
structContextelementHandle| 构造器和说明 |
|---|
SelectionChoiceHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of selection choice.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getLabel()
Returns the label.
|
java.lang.String |
getLabelKey()
Returns the resource key if label needs localization.
|
java.lang.String |
getValue()
Returns the data value for this choice.
|
void |
setLabel(java.lang.String label)
Sets the label.
|
void |
setLabelKey(java.lang.String labelResourceKey)
Sets the resource key if label needs localization.
|
void |
setValue(java.lang.String value)
Sets the data value for this choice.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilentlygetReferencegetDesign, getElement, getElementHandle, getModulepublic SelectionChoiceHandle(SimpleValueHandle valueHandle, int index)
valueHandle - the value handle for selection choice list of one propertyindex - the position of this selection choice in the listpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - the label to setpublic java.lang.String getLabelKey()
public void setLabelKey(java.lang.String labelResourceKey)
labelResourceKey - the resource key to setpublic java.lang.String getValue()
public void setValue(java.lang.String value)
throws SemanticException
value - the value to setSemanticException - value required exceptionCopyright © 2008 Actuate Corp. All rights reserved.