|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.StructureHandle
org.eclipse.birt.report.model.api.SelectionChoiceHandle
public class SelectionChoiceHandle
Represents the handle of selection choice. The selection choice is the value and label pair for parameter.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
structRef |
| Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
elementHandle |
| Constructor Summary | |
|---|---|
SelectionChoiceHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of selection choice. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
drop, getDefn, getExternalizedValue, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setProperty, setPropertySilently |
| Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
getDesign, getElement, getElementHandle, getModule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 list| Method Detail |
|---|
public 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 set
SemanticException - value required exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||