Overview | Methods | This Package | All Packages
Determines whether the value of the property should be persisted.
Syntax
public boolean shouldPersistValue( Object component )
Parameters
component
The component that defines the property.
Return Value
Returns true if the property should be persisted; otherwise, returns false.
Remarks
This method determines whether the state of the property is different from when the component was first instantiated. If a default value is specified in this PropertyInfo object, it is compared against the property's current value. If there is no default value, this method invokes and returns the value of the component's shouldPersist<PropertyName> method, if it exists. If both these routes fail, true is returned.