|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.core.Structure
org.eclipse.birt.report.model.api.elements.structures.SelectionChoice
public class SelectionChoice
This class is a structure for selection-list in ScalarParameter item.
Field Summary | |
---|---|
protected java.lang.String |
label
The label for the choice. |
static java.lang.String |
LABEL_MEMBER
Name of the label member. |
static java.lang.String |
LABEL_RESOURCE_KEY_MEMBER
Name of the resource key for the label member. |
protected java.lang.String |
labelResourceKey
The resource key of the label for the choice. |
static java.lang.String |
STRUCTURE_NAME
Name of this structure within the meta-data dictionary. |
protected java.lang.String |
value
The value for the choice. |
static java.lang.String |
VALUE_MEMBER
Name of the value member. |
Constructor Summary | |
---|---|
SelectionChoice()
Constructs a default selection list choice. |
Method Summary | |
---|---|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
|
java.lang.String |
getLabel()
Returns the label of the choice. |
java.lang.String |
getLabelResourceKey()
Returns the resource key for the label of the choice. |
java.lang.String |
getStructName()
Returns the name of the structure definition. |
java.lang.String |
getValue()
Returns the value of this choice. |
StructureHandle |
handle(SimpleValueHandle valueHandle,
int index)
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
|
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setLabelResourceKey(java.lang.String labelResourceKey)
Sets the resource key of label. |
void |
setValue(java.lang.String value)
Sets the value. |
Methods inherited from class org.eclipse.birt.report.model.core.Structure |
---|
copy, equals, getContext, getDefn, getElement, getHandle, getHandle, getListMemberRef, getLocalProperty, getLocalProperty, getObjectDefn, getProperty, getProperty, getReferencableProperty, isDesignTime, isReferencable, setContext, setProperty, setProperty, updateReference, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VALUE_MEMBER
public static final java.lang.String LABEL_MEMBER
public static final java.lang.String LABEL_RESOURCE_KEY_MEMBER
public static final java.lang.String STRUCTURE_NAME
protected java.lang.String value
protected java.lang.String label
protected java.lang.String labelResourceKey
Constructor Detail |
---|
public SelectionChoice()
Method Detail |
---|
public java.lang.String getStructName()
IStructure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
protected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value to setpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the label to setpublic java.lang.String getLabelResourceKey()
public void setLabelResourceKey(java.lang.String labelResourceKey)
labelResourceKey
- the resource key of label to setpublic StructureHandle handle(SimpleValueHandle valueHandle, int index)
handle
in class org.eclipse.birt.report.model.core.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |