org.apache.myfaces.component.html.ext
Class UIComponentPerspective
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.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 $)
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)
|
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 |
UIComponentPerspective
public UIComponentPerspective(javax.faces.component.UIData uiData,
javax.faces.component.UIComponent delegate,
int rowIndex)
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.