|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.bean.FacesBeanImpl
org.apache.myfaces.trinidad.component.UIXFacesBeanImpl
public class UIXFacesBeanImpl
FacesBeanImpl subclass that implements UIXFacesBean. UIXComponentBase subclasses that want to change the behavior of their associated FacesBean are encouraged to subclass this class in preference to implementing the FacesBean and UIXFaceBean contracts directly. In addition, while UIXComponentBase will work with any UIXFacesBean, it is optimized to work with UIXFacesBeanImpl.
FacesBean
,
FacesBeanImpl
,
UIXFacesBean
,
UIXComponentBase
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.myfaces.trinidad.bean.FacesBean |
---|
FacesBean.Type |
Constructor Summary | |
---|---|
UIXFacesBeanImpl()
|
Method Summary | |
---|---|
UIXComponent |
getComponent()
|
protected Object |
getLocalPropertyImpl(PropertyKey key)
|
FacesBean.Type |
getType()
Get the type of a FacesBean |
void |
init(UIXComponent component,
FacesBean.Type type)
Subclassers most call super with the component and type |
Set<PropertyKey> |
keySet()
Returns a Set of all PropertyKeys that have either lists or values attached. |
void |
restoreState(javax.faces.context.FacesContext context,
Object state)
Restores the state of a FacesBean. |
Object |
saveState(javax.faces.context.FacesContext context)
Saves the state of a FacesBean. |
void |
setPropertyImpl(PropertyKey key,
Object value)
|
Methods inherited from class org.apache.myfaces.trinidad.bean.FacesBeanImpl |
---|
addAll, addEntry, bindingKeySet, clearInitialState, containsEntry, createExpressionsMap, createPropertyMap, entries, getEntries, getLocalProperty, getProperty, getRawProperty, getValueBinding, getValueExpression, initialStateMarked, markInitialState, removeEntry, setProperty, setValueBinding, setValueExpression, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.trinidad.bean.FacesBean |
---|
addAll, addEntry, bindingKeySet, clearInitialState, containsEntry, entries, getEntries, getLocalProperty, getProperty, getRawProperty, getValueBinding, getValueExpression, initialStateMarked, markInitialState, removeEntry, setProperty, setValueBinding, setValueExpression |
Constructor Detail |
---|
public UIXFacesBeanImpl()
Method Detail |
---|
public final FacesBean.Type getType()
FacesBeanImpl
getType
in interface FacesBean
getType
in class FacesBeanImpl
public final UIXComponent getComponent()
public void init(UIXComponent component, FacesBean.Type type)
init
in interface UIXFacesBean
component
- UIXComponentBase to bind to this UIXFacesBeantype
-
IllegalStateException
- if init() called a second time with a different component or if
the Type changes for one non-null Type to another
IllegalArgumentException
- if component is not a UIXComponentBase
NullPointerException
- of component is nullpublic Set<PropertyKey> keySet()
FacesBean
keySet
in interface FacesBean
keySet
in class FacesBeanImpl
public void setPropertyImpl(PropertyKey key, Object value)
setPropertyImpl
in class FacesBeanImpl
protected Object getLocalPropertyImpl(PropertyKey key)
getLocalPropertyImpl
in class FacesBeanImpl
public Object saveState(javax.faces.context.FacesContext context)
FacesBean
saveState
in interface FacesBean
saveState
in class FacesBeanImpl
public void restoreState(javax.faces.context.FacesContext context, Object state)
FacesBean
restoreState
in interface FacesBean
restoreState
in class FacesBeanImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |