oracle.adf.view.faces.component
Class SwitcherBase

java.lang.Object
  |
  +--javax.faces.component.UIComponent
        |
        +--oracle.adf.view.faces.component.UIXComponent
              |
              +--oracle.adf.view.faces.component.UIXComponentBase
                    |
                    +--oracle.adf.view.faces.component.SwitcherBase
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
UIXSwitcher

public abstract class SwitcherBase
extends UIXComponentBase

Base class for the switcher componnet.


Field Summary
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY, TYPE
 
Constructor Summary
SwitcherBase()
           
 
Method Summary
 void encodeChildren(javax.faces.context.FacesContext context)
          Only render the currently active facet.
abstract  java.lang.String getDefaultFacet()
          Return the name of the facet to render and process if "facetName" is null or otherwise does not refer to an existing facet.
abstract  java.lang.String getFacetName()
          Return the name of the facet to render and process.
 boolean getRendersChildren()
          Override to return true.
 void processDecodes(javax.faces.context.FacesContext context)
          Only decode the currently active facet.
 void processUpdates(javax.faces.context.FacesContext context)
          Only process updates on the currently active facet.
 void processValidators(javax.faces.context.FacesContext context)
          Only process validations on the currently active facet.
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addFacesListener, broadcast, createFacesBean, decode, encodeBegin, encodeEnd, findComponent, getAttribute, getAttributes, getBeanType, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getIntProperty, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreState, saveState, setAttribute, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwitcherBase

public SwitcherBase()
Method Detail

getFacetName

public abstract java.lang.String getFacetName()
Return the name of the facet to render and process.


getDefaultFacet

public abstract java.lang.String getDefaultFacet()
Return the name of the facet to render and process if "facetName" is null or otherwise does not refer to an existing facet.


processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Only decode the currently active facet.

Overrides:
processDecodes in class UIXComponentBase

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Only process validations on the currently active facet.

Overrides:
processValidators in class UIXComponentBase

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Only process updates on the currently active facet.

Overrides:
processUpdates in class UIXComponentBase

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context)
                    throws java.io.IOException
Only render the currently active facet.

Overrides:
encodeChildren in class UIXComponentBase
java.io.IOException

getRendersChildren

public boolean getRendersChildren()
Override to return true.

Overrides:
getRendersChildren in class UIXComponentBase


Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.