|
|||||||||||
| 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.SimpleValueHandle
org.eclipse.birt.report.model.api.MemberHandle
A handle to a member of a property structure. A structure list occurs in an element property that contains a list of structures. The class handles a member of one structure in the list.
StructureHandle| Field Summary | |
protected org.eclipse.birt.report.model.core.CachedMemberRef |
memberRef
The reference to the member itself. |
| Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
elementHandle |
| Constructor Summary | |
MemberHandle(DesignElementHandle element,
org.eclipse.birt.report.model.core.MemberRef ref)
Constructs a member handle with the given element handle and the member reference. |
|
MemberHandle(StructureHandle structHandle,
org.eclipse.birt.report.model.metadata.StructPropertyDefn member)
Constructs a member handle with the given structure handle and the member property definition. |
|
| Method Summary | |
IPropertyDefn |
getDefn()
Gets the generic property definition. |
IElementPropertyDefn |
getPropertyDefn()
Gets the property definition. |
org.eclipse.birt.report.model.core.MemberRef |
getReference()
Returns a reference to the value. |
java.lang.Object |
getValue()
Gets the value of the property as a generic object. |
boolean |
isReadOnly()
Checks whether a value is read-only in the property sheet. |
boolean |
isVisible()
Checks whether a value is visible in the property sheet. |
void |
setValue(java.lang.Object value)
Sets the value of a property or member to the object given. |
| Methods inherited from class org.eclipse.birt.report.model.api.SimpleValueHandle |
addItem, clearValue, getAt, getChoices, getDefaultUnit, getDisplayValue, getFloatValue, getIntValue, getListValue, getNumberValue, getStringValue, getTypeCode, insertItem, isList, iterator, moveItem, removeItem, removeItem, removeItems, replaceItem, setFloatValue, setIntValue, setNumberValue, setStringValue |
| 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 |
| Field Detail |
protected org.eclipse.birt.report.model.core.CachedMemberRef memberRef
| Constructor Detail |
public MemberHandle(DesignElementHandle element,
org.eclipse.birt.report.model.core.MemberRef ref)
element - handle to the report element that has the property that
contains the structure that contains the member the list that
contains the structure that contains the member.ref - The reference to the member.
public MemberHandle(StructureHandle structHandle,
org.eclipse.birt.report.model.metadata.StructPropertyDefn member)
StructureIterator class.
structHandle - a handle to the structuremember - definition of the member within the structure| Method Detail |
public IPropertyDefn getDefn()
SimpleValueHandle
getDefn in class SimpleValueHandlepublic java.lang.Object getValue()
SimpleValueHandle
getValue in class SimpleValueHandleSimpleValueHandle.getStringValue( ),
SimpleValueHandle.getIntValue( ),
SimpleValueHandle.getFloatValue( ),
SimpleValueHandle.getNumberValue( )
public void setValue(java.lang.Object value)
throws SemanticException
SimpleValueHandlenull, then the value is cleared.
setValue in class SimpleValueHandlevalue - The new value.
SemanticException - If the value is not valid for the property or member.SimpleValueHandle.setIntValue(int),
SimpleValueHandle.setStringValue(java.lang.String),
SimpleValueHandle.setFloatValue(double),
SimpleValueHandle.setNumberValue(java.math.BigDecimal),
SimpleValueHandle.clearValue()public IElementPropertyDefn getPropertyDefn()
ValueHandle
getPropertyDefn in class ValueHandlepublic org.eclipse.birt.report.model.core.MemberRef getReference()
ValueHandle
getReference in class ValueHandlepublic boolean isReadOnly()
SimpleValueHandle
isReadOnly in class SimpleValueHandletrue if it is read-only. Otherwise
false.public boolean isVisible()
SimpleValueHandle
isVisible in class SimpleValueHandletrue if it is visible. Otherwise
false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||