Class PropertyHandle
java.lang.Object
org.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.PropertyHandleImpl
org.eclipse.birt.report.model.api.PropertyHandle
A handle for working with a top-level property of an element.
- See Also:
-
PropertyDefnPropertyType
-
Field Summary
Fields inherited from class org.eclipse.birt.report.model.api.PropertyHandleImpl
propDefnFields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle -
Constructor Summary
ConstructorsConstructorDescriptionPropertyHandle(DesignElementHandle element, String propName) Constructs the handle for a top-level property with the given element handle and property name.PropertyHandle(DesignElementHandle element, org.eclipse.birt.report.model.metadata.ElementPropertyDefn prop) Constructs the handle for a top-level property with the given element handle and the definition of the property. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether a value is read-only in the property sheet.booleanChecks whether a value is visible in the property sheet.Methods inherited from class org.eclipse.birt.report.model.api.PropertyHandleImpl
add, add, addItem, canContain, canContain, drop, drop, dropAndClear, dropAndClear, equals, getContent, getContentCount, getContents, getContext, getDefn, getItems, getListValue, getPropertyDefn, getRawValue, getReferenceableElementList, isLocal, isSet, move, move, paste, paste, paste, paste, removeItem, setEncryption, setValue, shiftMethods inherited from class org.eclipse.birt.report.model.api.SimpleValueHandle
addItem, clearValue, get, getAt, getChoices, getDefaultUnit, getDisplayValue, getFloatValue, getIntValue, getNumberValue, getStringValue, getTypeCode, getValue, indexOf, insertItem, isList, iterator, moveItem, removeItem, removeItems, replaceItem, setFloatValue, setIntValue, setNumberValue, setStringValueMethods inherited from class org.eclipse.birt.report.model.api.ValueHandle
getReferenceMethods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
-
Constructor Details
-
PropertyHandle
Constructs the handle for a top-level property with the given element handle and property name.- Parameters:
element- a handle to a report elementpropName- the name of the property
-
PropertyHandle
public PropertyHandle(DesignElementHandle element, org.eclipse.birt.report.model.metadata.ElementPropertyDefn prop) Constructs the handle for a top-level property with the given element handle and the definition of the property.- Parameters:
element- a handle to a report elementprop- the definition of the property.
-
-
Method Details
-
isReadOnly
public boolean isReadOnly()Description copied from class:SimpleValueHandleChecks whether a value is read-only in the property sheet.- Overrides:
isReadOnlyin classPropertyHandleImpl- Returns:
trueif it is read-only. Otherwisefalse.
-
isVisible
public boolean isVisible()Description copied from class:SimpleValueHandleChecks whether a value is visible in the property sheet.- Overrides:
isVisiblein classPropertyHandleImpl- Returns:
trueif it is visible. Otherwisefalse.
-