public class SelectionChoice
extends org.eclipse.birt.report.model.core.Structure
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
SelectionChoice()
Constructs a default selection list choice.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getIntrinsicProperty(java.lang.String propName)
Returns the value of a structure property represented as a member
variable.
|
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)
Creates the specific handle of this structure.
|
protected void |
setIntrinsicProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of of a structure property represented as a member
variable.
|
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.
|
checkStringMember, copy, equals, getCompatibleValue, getContext, getDefn, getElement, getExpressionProperty, getHandle, getHandle, getLocalProperty, getLocalProperty, getMemberDefn, getObjectDefn, getProperty, getProperty, getReferencableProperty, getStringProperty, isDesignTime, isReferencable, setContext, setExpressionProperty, setProperty, setProperty, setupContext, updateReference, validate
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
public SelectionChoice()
public java.lang.String getStructName()
IStructure
protected java.lang.Object getIntrinsicProperty(java.lang.String propName)
org.eclipse.birt.report.model.core.Structure
getIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- name of the propertyprotected void setIntrinsicProperty(java.lang.String propName, java.lang.Object value)
org.eclipse.birt.report.model.core.Structure
setIntrinsicProperty
in class org.eclipse.birt.report.model.core.Structure
propName
- the name of the property to setvalue
- the property valuepublic 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)
org.eclipse.birt.report.model.core.Structure
handle
in class org.eclipse.birt.report.model.core.Structure
valueHandle
- the value handle of this structure list property this
structure is inindex
- the position of this structure in structure listCopyright © 2008 Actuate Corp. All rights reserved.