ExtenderInfo.canResetValue

Overview | Methods | This Package | All Packages

ExtenderInfo.canResetValue

Determines whether the value of the extender property can be reset.

Syntax

public boolean canResetValue ( Object extender, Object extendee )

Parameters

extender

The object providing the extender property.

extendee

The object receiving the extender property.

Return Value

Returns true if the extender's value can be reset; otherwise, returns false.

Remarks

If a default value is specified in this ExtenderInfo object and the value returned by getValue is different than the default value, canResetValue returns true. If there is no default value, canResetValue invokes and returns the value of the component's shouldPersist<ExtenderName> method, if this method and the reset<ExtenderName> method exist. (If only the reset<ExtenderName> method exists, true is returned.) If none of these cases apply, false is returned.