public class SelectionChoiceHandle extends StructureHandle
structContext
elementHandle
Constructor and Description |
---|
SelectionChoiceHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of selection choice.
|
Modifier and Type | Method and Description |
---|---|
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, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public 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.