|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IElementPropertyDefn
Interface of the Meta-data information for an element property or an
extension model property. Includes the type, possible choices, display name,
etc derived from the IPropertyDefn
. It also includes the group name,
method information, is visible to the GUI users and can be inherited, etc.
Field Summary |
---|
Fields inherited from interface org.eclipse.birt.report.model.api.metadata.IPropertyDefn |
---|
EXTENSION_MODEL_PROPERTY, EXTENSION_PROPERTY, ODA_PROPERTY, SYSTEM_PROPERTY, USER_PROPERTY |
Method Summary | |
---|---|
boolean |
canInherit()
Indicates if derived elements can inherit the value of this property. |
java.lang.String |
getGroupName()
Returns the group name (if any) for the property. |
java.lang.String |
getGroupNameKey()
Returns the message ID for the group name. |
IMethodInfo |
getMethodInfo()
Returns the method information of this property. |
boolean |
isEditable()
Checks whether the property value can be edited by the user in the property sheet. |
boolean |
isReadOnly()
Deprecated. by the method IElementDefn.isPropertyReadOnly(String) |
boolean |
isStyleProperty()
Indicates whether the property is associated with a style or not. |
boolean |
isVisible()
Deprecated. by the method IElementDefn.isPropertyVisible(String) |
Methods inherited from interface org.eclipse.birt.report.model.api.metadata.IPropertyDefn |
---|
getAllowedChoices, getAllowedUnits, getChoices, getContext, getDefault, getDisplayNameID, getStructDefn, getTargetElementType, getTypeCode, getValueType, hasChoices, isEncryptable, isList |
Methods inherited from interface org.eclipse.birt.report.model.metadata.IContainerDefn |
---|
canContain, canContain, getAllowedElements, getAllowedElements, getDisplayName, getName |
Method Detail |
---|
java.lang.String getGroupName()
java.lang.String getGroupNameKey()
boolean canInherit()
Note: This attribute is used for both style property and non-style property with two different meanings.
can inherit | can cascade | |
---|---|---|
Style property | false |
isInheritable |
Non-style property | isInheritable |
false |
boolean isStyleProperty()
boolean isVisible()
IElementDefn.isPropertyVisible(String)
true
if the property value is visible,
false
otherwise.boolean isReadOnly()
IElementDefn.isPropertyReadOnly(String)
true
if the property value is read-only,
false
otherwise.IMethodInfo getMethodInfo()
boolean isEditable()
true
if the property value is read-only,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |