org.apache.myfaces.component.html.ext
Class UIComponentPerspective

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIOutput
              extended byjavax.faces.component.UIInput
                  extended byorg.apache.myfaces.component.html.ext.UIComponentPerspective
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class UIComponentPerspective
extends javax.faces.component.UIInput

Version:
$Revision: 371487 $ $Date: 2006-01-23 09:16:20 +0100 (Mo, 23 Jän 2006) $
Author:
Martin Marinschek (latest modification by $Author: mmarinschek $)

Field Summary
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
UIComponentPerspective(javax.faces.component.UIData uiData, javax.faces.component.UIComponent delegate, int rowIndex)
           
 
Method Summary
protected  void addFacesListener(javax.faces.event.FacesListener listener)
           
 void addValidator(javax.faces.validator.Validator validator)
           
 void addValueChangeListener(javax.faces.event.ValueChangeListener listener)
           
 void broadcast(javax.faces.event.FacesEvent event)
           
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeChildren(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 java.lang.Object executeOn(javax.faces.context.FacesContext context, ExecuteOnCallback callback)
           
 javax.faces.component.UIComponent findComponent(java.lang.String expr)
           
 java.util.Map getAttributes()
           
 int getChildCount()
           
 java.util.List getChildren()
           
 java.lang.String getClientId(javax.faces.context.FacesContext context)
           
 javax.faces.convert.Converter getConverter()
           
protected  javax.faces.event.FacesListener[] getFacesListeners(java.lang.Class clazz)
           
 javax.faces.component.UIComponent getFacet(java.lang.String name)
           
 java.util.Map getFacets()
           
 java.util.Iterator getFacetsAndChildren()
           
 java.lang.String getFamily()
           
 java.lang.String getId()
           
 java.lang.Object getLocalValue()
           
 javax.faces.component.UIComponent getParent()
           
 java.lang.String getRendererType()
           
 boolean getRendersChildren()
           
 int getRowIndex()
           
 java.lang.Object getSubmittedValue()
           
 javax.faces.component.UIData getUiData()
           
 javax.faces.el.MethodBinding getValidator()
           
 javax.faces.validator.Validator[] getValidators()
           
 java.lang.Object getValue()
           
 javax.faces.el.ValueBinding getValueBinding(java.lang.String name)
           
 javax.faces.el.MethodBinding getValueChangeListener()
           
 javax.faces.event.ValueChangeListener[] getValueChangeListeners()
           
 boolean isImmediate()
           
 boolean isLocalValueSet()
           
 boolean isRendered()
           
 boolean isRequired()
           
 boolean isTransient()
           
 boolean isValid()
           
 void processDecodes(javax.faces.context.FacesContext context)
           
 void processRestoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object processSaveState(javax.faces.context.FacesContext context)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void processValidators(javax.faces.context.FacesContext context)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
protected  void removeFacesListener(javax.faces.event.FacesListener listener)
           
 void removeValidator(javax.faces.validator.Validator validator)
           
 void removeValueChangeListener(javax.faces.event.ValueChangeListener listener)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setConverter(javax.faces.convert.Converter converter)
           
 void setId(java.lang.String id)
           
 void setImmediate(boolean immediate)
           
 void setLocalValueSet(boolean localValueSet)
           
 void setParent(javax.faces.component.UIComponent parent)
           
 void setRendered(boolean rendered)
           
 void setRendererType(java.lang.String rendererType)
           
 void setRequired(boolean required)
           
 void setRowIndex(int rowIndex)
           
 void setSubmittedValue(java.lang.Object submittedValue)
           
 void setTransient(boolean newTransientValue)
           
 void setUiData(javax.faces.component.UIData uiData)
           
protected  void setupPerspective()
           
 void setValid(boolean valid)
           
 void setValidator(javax.faces.el.MethodBinding validator)
           
 void setValue(java.lang.Object value)
           
 void setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)
           
 void setValueChangeListener(javax.faces.el.MethodBinding valueChangeListener)
           
protected  void teardownPerspective()
           
 void updateModel(javax.faces.context.FacesContext context)
           
 void validate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.component.UIInput
compareValues, getConvertedValue, validateValue
 
Methods inherited from class javax.faces.component.UIComponentBase
getFacesContext, getRenderer, restoreAttachedState, saveAttachedState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIComponentPerspective

public UIComponentPerspective(javax.faces.component.UIData uiData,
                              javax.faces.component.UIComponent delegate,
                              int rowIndex)
Method Detail

getUiData

public javax.faces.component.UIData getUiData()

setUiData

public void setUiData(javax.faces.component.UIData uiData)

getRowIndex

public int getRowIndex()

setRowIndex

public void setRowIndex(int rowIndex)

executeOn

public java.lang.Object executeOn(javax.faces.context.FacesContext context,
                                  ExecuteOnCallback callback)

getAttributes

public java.util.Map getAttributes()

teardownPerspective

protected void teardownPerspective()

setupPerspective

protected void setupPerspective()

getValueBinding

public javax.faces.el.ValueBinding getValueBinding(java.lang.String name)

setValueBinding

public void setValueBinding(java.lang.String name,
                            javax.faces.el.ValueBinding binding)

getClientId

public java.lang.String getClientId(javax.faces.context.FacesContext context)

getFamily

public java.lang.String getFamily()

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getParent

public javax.faces.component.UIComponent getParent()

setParent

public void setParent(javax.faces.component.UIComponent parent)

isRendered

public boolean isRendered()

setRendered

public void setRendered(boolean rendered)

getRendererType

public java.lang.String getRendererType()

setRendererType

public void setRendererType(java.lang.String rendererType)

getRendersChildren

public boolean getRendersChildren()

getChildren

public java.util.List getChildren()

getChildCount

public int getChildCount()

findComponent

public javax.faces.component.UIComponent findComponent(java.lang.String expr)

getFacets

public java.util.Map getFacets()

getFacet

public javax.faces.component.UIComponent getFacet(java.lang.String name)

getFacetsAndChildren

public java.util.Iterator getFacetsAndChildren()

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Throws:
javax.faces.event.AbortProcessingException

decode

public void decode(javax.faces.context.FacesContext context)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Throws:
java.io.IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context)
                    throws java.io.IOException
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws java.io.IOException
Throws:
java.io.IOException

addFacesListener

protected void addFacesListener(javax.faces.event.FacesListener listener)

getFacesListeners

protected javax.faces.event.FacesListener[] getFacesListeners(java.lang.Class clazz)

removeFacesListener

protected void removeFacesListener(javax.faces.event.FacesListener listener)

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)

processRestoreState

public void processRestoreState(javax.faces.context.FacesContext context,
                                java.lang.Object state)

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)

processValidators

public void processValidators(javax.faces.context.FacesContext context)

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)

processSaveState

public java.lang.Object processSaveState(javax.faces.context.FacesContext context)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)

isTransient

public boolean isTransient()

setTransient

public void setTransient(boolean newTransientValue)

getSubmittedValue

public java.lang.Object getSubmittedValue()

setSubmittedValue

public void setSubmittedValue(java.lang.Object submittedValue)

setValue

public void setValue(java.lang.Object value)

isLocalValueSet

public boolean isLocalValueSet()

setLocalValueSet

public void setLocalValueSet(boolean localValueSet)

isValid

public boolean isValid()

setValid

public void setValid(boolean valid)

getValidator

public javax.faces.el.MethodBinding getValidator()

setValidator

public void setValidator(javax.faces.el.MethodBinding validator)

getValueChangeListener

public javax.faces.el.MethodBinding getValueChangeListener()

setValueChangeListener

public void setValueChangeListener(javax.faces.el.MethodBinding valueChangeListener)

updateModel

public void updateModel(javax.faces.context.FacesContext context)

validate

public void validate(javax.faces.context.FacesContext context)

addValidator

public void addValidator(javax.faces.validator.Validator validator)

getValidators

public javax.faces.validator.Validator[] getValidators()

removeValidator

public void removeValidator(javax.faces.validator.Validator validator)

addValueChangeListener

public void addValueChangeListener(javax.faces.event.ValueChangeListener listener)

getValueChangeListeners

public javax.faces.event.ValueChangeListener[] getValueChangeListeners()

removeValueChangeListener

public void removeValueChangeListener(javax.faces.event.ValueChangeListener listener)

setImmediate

public void setImmediate(boolean immediate)

isImmediate

public boolean isImmediate()

setRequired

public void setRequired(boolean required)

isRequired

public boolean isRequired()

getLocalValue

public java.lang.Object getLocalValue()

setConverter

public void setConverter(javax.faces.convert.Converter converter)

getConverter

public javax.faces.convert.Converter getConverter()

getValue

public java.lang.Object getValue()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.