|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.faces.component.UIComponent
oracle.adf.view.faces.component.UIXComponent
oracle.adf.view.faces.component.UIXComponentBase
| Field Summary | |
static PropertyKey |
BINDING_KEY
|
static PropertyKey |
ID_KEY
|
static PropertyKey |
RENDERED_KEY
|
static PropertyKey |
RENDERER_TYPE_KEY
|
static PropertyKey |
TRANSIENT_KEY
|
static FacesBean.Type |
TYPE
|
| Constructor Summary | |
UIXComponentBase()
|
|
UIXComponentBase(java.lang.String rendererType)
|
|
| Method Summary | |
protected void |
addAttributeChange(PropertyKey attribute,
java.lang.Object attributeValue)
|
protected void |
addAttributeChange(java.lang.String attributeName,
java.lang.Object attributeValue)
|
void |
addAttributeChangeListener(AttributeChangeListener acl)
|
protected void |
addFacesListener(FacesListener listener)
|
void |
broadcast(FacesEvent event)
|
protected FacesBean |
createFacesBean(java.lang.String rendererType)
|
void |
decode(FacesContext context)
|
protected void |
decodeChildren(FacesContext context)
Delegates to LifecycleRenderer, if present, otherwise calls decodeChildrenImpl. |
protected void |
decodeChildrenImpl(FacesContext context)
Calls processDecodes on all facets and children of this component. |
void |
encodeAll(FacesContext context)
Encodes a component and all of its children, whether getRendersChildren() is true or false. |
void |
encodeBegin(FacesContext context)
|
void |
encodeChildren(FacesContext context)
|
void |
encodeEnd(FacesContext context)
|
UIComponent |
findComponent(java.lang.String id)
|
MethodBinding |
getAttributeChangeListener()
|
AttributeChangeListener[] |
getAttributeChangeListeners()
|
java.util.Map |
getAttributes()
|
protected FacesBean.Type |
getBeanType()
|
protected boolean |
getBooleanProperty(PropertyKey key,
boolean defaultValue)
|
int |
getChildCount()
|
java.util.List |
getChildren()
Create (if necessary) and return a List of the children associated with this component. |
java.lang.String |
getClientId(FacesContext context)
|
FacesBean |
getFacesBean()
|
protected FacesContext |
getFacesContext()
Return the FacesContext instance for the current request. |
protected FacesListener[] |
getFacesListeners(java.lang.Class clazz)
|
UIComponent |
getFacet(java.lang.String facetName)
|
int |
getFacetCount()
Return the number of facets. |
java.util.Iterator |
getFacetNames()
Returns an Iterator over the names of all facets. |
java.util.Map |
getFacets()
Create (if necessary) and return a Map of the facets associated with this component. |
java.util.Iterator |
getFacetsAndChildren()
|
abstract java.lang.String |
getFamily()
|
java.lang.String |
getId()
|
protected int |
getIntProperty(PropertyKey key,
int defaultValue)
|
protected LifecycleRenderer |
getLifecycleRenderer(FacesContext context)
|
protected java.lang.String |
getLocalClientId()
Returns the default local client identifier, relative to the current naming container. |
UIComponent |
getParent()
|
protected java.lang.Object |
getProperty(PropertyKey key)
|
protected PropertyKey |
getPropertyKey(java.lang.String name)
|
protected Renderer |
getRenderer(FacesContext context)
|
java.lang.String |
getRendererType()
|
boolean |
getRendersChildren()
|
ValueBinding |
getValueBinding(java.lang.String name)
|
boolean |
isRendered()
|
boolean |
isTransient()
|
void |
processDecodes(FacesContext context)
|
void |
processRestoreState(FacesContext context,
java.lang.Object state)
|
java.lang.Object |
processSaveState(FacesContext context)
|
void |
processUpdates(FacesContext context)
|
void |
processValidators(FacesContext context)
|
void |
queueEvent(FacesEvent event)
|
void |
removeAttributeChangeListener(AttributeChangeListener acl)
|
protected void |
removeFacesListener(FacesListener listener)
|
void |
restoreState(FacesContext context,
java.lang.Object stateObj)
|
java.lang.Object |
saveState(FacesContext context)
|
void |
setAttributeChangeListener(MethodBinding mb)
|
protected void |
setBooleanProperty(PropertyKey key,
boolean value)
|
void |
setId(java.lang.String id)
|
protected void |
setIntProperty(PropertyKey key,
int value)
|
void |
setParent(UIComponent parent)
Set the parent UIComponent of this
UIComponent. |
protected void |
setProperty(PropertyKey key,
java.lang.Object value)
|
void |
setRendered(boolean rendered)
|
void |
setRendererType(java.lang.String rendererType)
|
void |
setTransient(boolean newTransient)
|
void |
setValueBinding(java.lang.String name,
ValueBinding binding)
|
java.lang.String |
toString()
|
protected void |
updateChildren(FacesContext context)
Delegates to LifecycleRenderer, if present, otherwise calls upateChildrenImpl. |
protected void |
updateChildrenImpl(FacesContext context)
|
protected void |
validateChildren(FacesContext context)
Delegates to LifecycleRenderer, if present, otherwise calls validateChildrenImpl. |
protected void |
validateChildrenImpl(FacesContext context)
Calls processValidators on all facets and children of this component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final FacesBean.Type TYPE
public static final PropertyKey ID_KEY
public static final PropertyKey RENDERED_KEY
public static final PropertyKey BINDING_KEY
public static final PropertyKey TRANSIENT_KEY
public static final PropertyKey RENDERER_TYPE_KEY
| Constructor Detail |
public UIXComponentBase()
public UIXComponentBase(java.lang.String rendererType)
| Method Detail |
protected FacesBean createFacesBean(java.lang.String rendererType)
protected PropertyKey getPropertyKey(java.lang.String name)
protected FacesBean.Type getBeanType()
public FacesBean getFacesBean()
getFacesBean in class UIXComponentpublic void addAttributeChangeListener(AttributeChangeListener acl)
addAttributeChangeListener in class UIXComponentpublic void removeAttributeChangeListener(AttributeChangeListener acl)
removeAttributeChangeListener in class UIXComponentpublic AttributeChangeListener[] getAttributeChangeListeners()
getAttributeChangeListeners in class UIXComponentpublic void setAttributeChangeListener(MethodBinding mb)
setAttributeChangeListener in class UIXComponentpublic MethodBinding getAttributeChangeListener()
getAttributeChangeListener in class UIXComponentpublic ValueBinding getValueBinding(java.lang.String name)
getValueBinding in class UIXComponent
public void setValueBinding(java.lang.String name,
ValueBinding binding)
setValueBinding in class UIXComponentpublic java.util.Map getAttributes()
getAttributes in class UIXComponentpublic java.lang.String getClientId(FacesContext context)
getClientId in class UIXComponentpublic java.lang.String getId()
getId in class UIXComponentpublic void setId(java.lang.String id)
setId in class UIXComponentpublic abstract java.lang.String getFamily()
getFamily in class UIXComponentpublic UIComponent getParent()
getParent in class UIXComponentpublic void setParent(UIComponent parent)
Set the parent UIComponent of this
UIComponent.
setParent in class UIXComponentparent - The new parent, or null for the root node
of a component treepublic boolean isRendered()
isRendered in class UIXComponentpublic void setRendered(boolean rendered)
setRendered in class UIXComponentpublic boolean isTransient()
isTransient in interface StateHolderisTransient in class UIXComponentpublic void setTransient(boolean newTransient)
setTransient in interface StateHoldersetTransient in class UIXComponentpublic java.lang.String getRendererType()
getRendererType in class UIXComponentpublic void setRendererType(java.lang.String rendererType)
setRendererType in class UIXComponentpublic boolean getRendersChildren()
getRendersChildren in class UIXComponentpublic UIComponent findComponent(java.lang.String id)
findComponent in class UIXComponentjava.lang.NullPointerExceptionpublic java.util.List getChildren()
Create (if necessary) and return a List of the children associated with this component.
getChildren in class UIXComponentpublic int getChildCount()
getChildCount in class UIXComponentpublic java.util.Map getFacets()
Create (if necessary) and return a Map of the facets associated with this component.
getFacets in class UIXComponentpublic UIComponent getFacet(java.lang.String facetName)
getFacet in class UIXComponentpublic java.util.Iterator getFacetNames()
public java.util.Iterator getFacetsAndChildren()
getFacetsAndChildren in class UIXComponent
public void broadcast(FacesEvent event)
throws AbortProcessingException
broadcast in class UIXComponentAbortProcessingExceptionpublic void decode(FacesContext context)
decode in class UIXComponent
public void encodeBegin(FacesContext context)
throws java.io.IOException
encodeBegin in class UIXComponentjava.io.IOException
public void encodeChildren(FacesContext context)
throws java.io.IOException
encodeChildren in class UIXComponentjava.io.IOException
public void encodeEnd(FacesContext context)
throws java.io.IOException
encodeEnd in class UIXComponentjava.io.IOException
public void encodeAll(FacesContext context)
throws java.io.IOException
encodeAll in class UIXComponentjava.io.IOExceptionpublic void queueEvent(FacesEvent event)
queueEvent in class UIXComponentjava.lang.IllegalStateException
java.lang.NullPointerExceptionpublic void processDecodes(FacesContext context)
processDecodes in class UIXComponentpublic void processValidators(FacesContext context)
processValidators in class UIXComponentpublic void processUpdates(FacesContext context)
processUpdates in class UIXComponentpublic java.lang.Object processSaveState(FacesContext context)
processSaveState in class UIXComponent
public void processRestoreState(FacesContext context,
java.lang.Object state)
processRestoreState in class UIXComponentpublic java.lang.Object saveState(FacesContext context)
saveState in interface StateHoldersaveState in class UIXComponent
public void restoreState(FacesContext context,
java.lang.Object stateObj)
restoreState in interface StateHolderrestoreState in class UIXComponentpublic java.lang.String toString()
protected FacesContext getFacesContext()
Return the FacesContext instance for the current request.
getFacesContext in class UIXComponentprotected final void decodeChildren(FacesContext context)
context - the current FacesContextprotected void decodeChildrenImpl(FacesContext context)
context - the current FacesContextprotected final void validateChildren(FacesContext context)
context - the current FacesContextprotected void validateChildrenImpl(FacesContext context)
context - the current FacesContextprotected final void updateChildren(FacesContext context)
context - the current FacesContextprotected void updateChildrenImpl(FacesContext context)
protected void addFacesListener(FacesListener listener)
addFacesListener in class UIXComponentprotected void removeFacesListener(FacesListener listener)
removeFacesListener in class UIXComponentprotected FacesListener[] getFacesListeners(java.lang.Class clazz)
getFacesListeners in class UIXComponent
protected final void addAttributeChange(java.lang.String attributeName,
java.lang.Object attributeValue)
protected final void addAttributeChange(PropertyKey attribute,
java.lang.Object attributeValue)
protected Renderer getRenderer(FacesContext context)
getRenderer in class UIXComponentprotected LifecycleRenderer getLifecycleRenderer(FacesContext context)
protected void setProperty(PropertyKey key,
java.lang.Object value)
protected java.lang.Object getProperty(PropertyKey key)
protected void setBooleanProperty(PropertyKey key,
boolean value)
protected boolean getBooleanProperty(PropertyKey key,
boolean defaultValue)
protected void setIntProperty(PropertyKey key,
int value)
protected int getIntProperty(PropertyKey key,
int defaultValue)
protected java.lang.String getLocalClientId()
public int getFacetCount()
getFacetCount in class UIXComponent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||