com.sun.rave.designtime.faces
Interface FacesDesignProperty

All Superinterfaces:
DesignProperty

public interface FacesDesignProperty
extends DesignProperty

A FacesDesignProperty represents a single property (setter/getter method pair) on a single instance of a FacesDesignBean at design-time. This interface adds methods for dealing with value binding expressions on a DesignProperty.

IMPLEMENTED BY CREATOR - This interface is implemented by Creator for use by the component (bean) author.

Version:
1.0
Author:
Joe Nuxoll
See Also:
DesignProperty, DesignBean.getProperties(), DesignBean.getProperty(String)

Method Summary
 ValueBinding getValueBinding()
          Returns the ValueBinding object that this property is bound to, IF this property is currently bound via a value expression, or null if it is not bound
 boolean isBound()
          Returns true if this property is currently bound with a value expression, false if not
 void setValueBinding(ValueBinding binding)
          Sets the ValueBinding on this property, resulting in the property value being set to the appropriate value binding expression
 
Methods inherited from interface com.sun.rave.designtime.DesignProperty
getDesignBean, getPropertyDescriptor, getValue, getValueSource, isModified, setValue, setValueSource, unset
 

Method Detail

getValueBinding


public ValueBinding getValueBinding()
Returns the ValueBinding object that this property is bound to, IF this property is currently bound via a value expression, or null if it is not bound

Returns:
the ValueBinding object that this property is bound to, IF this property is currently bound via a value expression, or null if it is not bound

isBound


public boolean isBound()
Returns true if this property is currently bound with a value expression, false if not

Returns:
true if this property is currently bound with a value expression, false if not

setValueBinding


public void setValueBinding(ValueBinding binding)
Sets the ValueBinding on this property, resulting in the property value being set to the appropriate value binding expression

Parameters:
binding - The desired ValueBinding to set as the value on this property