public class PropertyHandle extends PropertyHandleImpl
PropertyDefn
,
PropertyType
propDefn
elementHandle
Constructor and Description |
---|
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.
|
PropertyHandle(DesignElementHandle element,
java.lang.String propName)
Constructs the handle for a top-level property with the given element
handle and property name.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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, shift
addItem, clearValue, get, getAt, getChoices, getDefaultUnit, getDisplayValue, getFloatValue, getIntValue, getNumberValue, getStringValue, getTypeCode, getValue, indexOf, insertItem, isList, iterator, moveItem, removeItem, removeItems, replaceItem, setFloatValue, setIntValue, setNumberValue, setStringValue
getReference
getDesign, getElement, getElementHandle, getModule
public PropertyHandle(DesignElementHandle element, java.lang.String propName)
element
- a handle to a report elementpropName
- the name of the propertypublic PropertyHandle(DesignElementHandle element, org.eclipse.birt.report.model.metadata.ElementPropertyDefn prop)
element
- a handle to a report elementprop
- the definition of the property.public boolean isReadOnly()
SimpleValueHandle
isReadOnly
in class PropertyHandleImpl
true
if it is read-only. Otherwise
false
.public boolean isVisible()
SimpleValueHandle
isVisible
in class PropertyHandleImpl
true
if it is visible. Otherwise false
.Copyright © 2008 Actuate Corp. All rights reserved.