com.im.df.api 5.9

com.im.df.api.support
Interface PropertiesEditingConfigurable

All Known Subinterfaces:
DBEntityCapability, DBFieldCapability.DBColumn, DBRelationshipMtoN, DFDataTree, DFEntity, DFField, DFItem, DFList, DFQuery, DFRelationship, DFSchema, DFScript, DFScriptParent, DFUserItem, DFView, JChemBaseEntityCapability, JChemCartridgeCapability, JChemCartridgeJChemBaseCapability, JChemCartridgeStandardCapability, JChemEntityCapability, PropertiesEditingConfigurable.Extra

public interface PropertiesEditingConfigurable

This is an extension of many DIF objects to provide hints to user interface code to be able to recognise what properties are editable and which are not. This is similar to JavaBeans BeanInfo property description approach. The advantage of this interface is that it's not static value per property, but can be different for different instances of the object.


Nested Class Summary
static interface PropertiesEditingConfigurable.Extra
          Some elements can also provide ability to lock editing of a property for some time.
 
Method Summary
 boolean isPropertyEditable(String propertyName)
          Test if the property of the given name can be changed or is in read-only mode.
 

Method Detail

isPropertyEditable

boolean isPropertyEditable(String propertyName)
Test if the property of the given name can be changed or is in read-only mode.

Parameters:
propertyName - Use the standard property name as defined in JavaBeans specification - e.g. for method getDisplayName it is "displayName"

com.im.df.api 5.9