|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.faces.component.IlvFacesComponentImpl
public class IlvFacesComponentImpl
The IlvFacesComponentImpl, implements the IlvFacesComponent interface and
specifically manages the decoded state of the properties and the rendering
state of the component.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
IlvFacesComponentImpl()
Creates a new IlvFacesComponentImpl instance. |
|
| Method Summary | |
|---|---|
void |
clearDecodedPropertyMap()
Empties the decoded properties maps. |
Map |
getAttributes(UIComponent component)
Return a mutable Map representing the attributes
(and properties, see below) associated with this UIComponent,
keyed by attribute name (which must be a String). |
boolean |
isDecodedProperty(String property)
Returns true if the specified property was decoded during the "Apply
Request Value" phase of the JSF lifecycle, false otherwise. |
void |
resetDecodedProperties()
Resets the decoded properties of this component. |
void |
restoreState(FacesContext context,
Object stateObj)
Restores the state of this component from the state parameter. |
Object |
saveState(FacesContext context)
Returns the state of this component. |
void |
setDecodedProperty(String property)
Sets the property to decoded, which means that the property value was
updated from the request during the "Apply Request Value" phase of the JSF
lifecycle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesComponentImpl()
IlvFacesComponentImpl instance.
| Method Detail |
|---|
public boolean isDecodedProperty(String property)
true if the specified property was decoded during the "Apply
Request Value" phase of the JSF lifecycle, false otherwise.
isDecodedProperty in interface IlvFacesComponentproperty - The property to test.
true if the property was decoded, false otherwise.public void setDecodedProperty(String property)
decoded, which means that the property value was
updated from the request during the "Apply Request Value" phase of the JSF
lifecycle. This method must be called by renderers only during the execution of their
decode method.
setDecodedProperty in interface IlvFacesComponentproperty - The property to set as 'decoded'.public void resetDecodedProperties()
resetDecodedProperties in interface IlvFacesComponentpublic void clearDecodedPropertyMap()
clearDecodedPropertyMap in interface IlvFacesComponentpublic Map getAttributes(UIComponent component)
Return a mutable Map representing the attributes
(and properties, see below) associated with this UIComponent,
keyed by attribute name (which must be a String). The returned
implementation must support all of the standard and optional
Map methods, plus support the following additional
requirements:
Map implementation must implement
the java.io.Serializable interface.null key or value must
throw a NullPointerException.ClassCastException.UIComponent's implementation class, the following
methods will have special behavior:
containsKey - Return false.get() - If the property is readable, call
the getter method and return the returned value (wrapping
primitive values in their corresponding wrapper classes);
otherwise throw IllegalArgumentException.put() - If the property is writable, call
the setter method to set the corresponding value (unwrapping
primitive values in their corresponding wrapper classes).
If the property is not writeable, or an attempt is made to
set a property of primitive type to null,
throw IllegalArgumentException.remove - Throw
IllegalArgumentException.
public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentcontext - The current faces context.
public void restoreState(FacesContext context,
Object stateObj)
restoreState in interface IlvFacesComponentcontext - The current faces context.stateObj - The previously saved state of this component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||