|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A DesignProperty represents a single property (setter/getter method pair) on a single instance of a DesignBean at design-time. All manipulation of properties at design-time should be done via this interface. This allows the IDE to both persist the changes as well as reflect them in the design-time session.
IMPLEMENTED BY CREATOR - This interface is implemented by Creator for use by the component (bean) author.
DesignBean.getProperties(),
DesignBean.getProperty(String)| Method Summary | |
DesignBean |
getDesignBean()
Returns the DesignBean that this DesignProperty is associated with |
java.beans.PropertyDescriptor |
getPropertyDescriptor()
Returns the PropertyDescriptor associated with this DesignProperty |
java.lang.Object |
getValue()
Returns the current value of this DesignProperty. |
java.lang.String |
getValueSource()
Returns the source-persistence String value of this property. |
boolean |
isModified()
Returns true if this DesignProperty has been modified from the 'default' value. |
boolean |
setValue(java.lang.Object value)
Sets the current value of this DesignProperty. |
boolean |
setValueSource(java.lang.String source)
Sets the source-persistence String value for this property. |
boolean |
unset()
Removes the property setting (if it exists) from the source code, and reverts the property setting back to its original (default) state. |
| Method Detail |
public DesignBean getDesignBean()
public java.beans.PropertyDescriptor getPropertyDescriptor()
public java.lang.Object getValue()
public java.lang.String getValueSource()
PropertyEditor.getJavaInitializationString()public boolean isModified()
public boolean setValue(java.lang.Object value)
value - The Object value to set as the currrent value of this property
PropertyEditorpublic boolean setValueSource(java.lang.String source)
source - the source-persistence String value for this property
public boolean unset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||