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:
- EventListener, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
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, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
| Fields inherited from class javax.faces.component.UIComponent |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
|
Constructor Summary |
UIComponentPerspective(javax.faces.component.UIData uiData,
javax.faces.component.UIComponent delegate,
int rowIndex)
|
| Methods inherited from class javax.faces.component.UIInput |
clearInitialState, compareValues, getConvertedValue, getConverterMessage, getRequiredMessage, getValidatorMessage, isEmpty, markInitialState, resetValue, setConverterMessage, setRequiredMessage, setValidatorMessage, validateValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, encodeAll, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacetCount, getRenderer, initialStateMarked, invokeOnComponent, restoreAttachedState, saveAttachedState, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
| 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 Object executeOn(javax.faces.context.FacesContext context,
ExecuteOnCallback callback)
getAttributes
public Map getAttributes()
- Overrides:
getAttributes in class javax.faces.component.UIComponentBase
teardownPerspective
protected void teardownPerspective()
setupPerspective
protected void setupPerspective()
getValueBinding
public javax.faces.el.ValueBinding getValueBinding(String name)
- Overrides:
getValueBinding in class javax.faces.component.UIComponentBase
setValueBinding
public void setValueBinding(String name,
javax.faces.el.ValueBinding binding)
- Overrides:
setValueBinding in class javax.faces.component.UIComponentBase
getClientId
public String getClientId(javax.faces.context.FacesContext context)
- Overrides:
getClientId in class javax.faces.component.UIComponentBase
getFamily
public String getFamily()
- Overrides:
getFamily in class javax.faces.component.UIInput
getId
public String getId()
- Overrides:
getId in class javax.faces.component.UIComponentBase
setId
public void setId(String id)
- Overrides:
setId in class javax.faces.component.UIComponentBase
getParent
public javax.faces.component.UIComponent getParent()
- Overrides:
getParent in class javax.faces.component.UIComponentBase
setParent
public void setParent(javax.faces.component.UIComponent parent)
- Overrides:
setParent in class javax.faces.component.UIComponentBase
isRendered
public boolean isRendered()
- Overrides:
isRendered in class javax.faces.component.UIComponentBase
setRendered
public void setRendered(boolean rendered)
- Overrides:
setRendered in class javax.faces.component.UIComponentBase
getRendererType
public String getRendererType()
- Overrides:
getRendererType in class javax.faces.component.UIComponentBase
setRendererType
public void setRendererType(String rendererType)
- Overrides:
setRendererType in class javax.faces.component.UIComponentBase
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase
getChildren
public List getChildren()
- Overrides:
getChildren in class javax.faces.component.UIComponentBase
getChildCount
public int getChildCount()
- Overrides:
getChildCount in class javax.faces.component.UIComponentBase
findComponent
public javax.faces.component.UIComponent findComponent(String expr)
- Overrides:
findComponent in class javax.faces.component.UIComponentBase
getFacets
public Map getFacets()
- Overrides:
getFacets in class javax.faces.component.UIComponentBase
getFacet
public javax.faces.component.UIComponent getFacet(String name)
- Overrides:
getFacet in class javax.faces.component.UIComponentBase
getFacetsAndChildren
public Iterator getFacetsAndChildren()
- Overrides:
getFacetsAndChildren in class javax.faces.component.UIComponentBase
broadcast
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
- Overrides:
broadcast in class javax.faces.component.UIInput
- Throws:
javax.faces.event.AbortProcessingException
decode
public void decode(javax.faces.context.FacesContext context)
- Overrides:
decode in class javax.faces.component.UIInput
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
- Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
- Throws:
IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context)
throws IOException
- Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
- Throws:
IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context)
throws IOException
- Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
- Throws:
IOException
addFacesListener
protected void addFacesListener(javax.faces.event.FacesListener listener)
- Overrides:
addFacesListener in class javax.faces.component.UIComponentBase
getFacesListeners
protected javax.faces.event.FacesListener[] getFacesListeners(Class clazz)
- Overrides:
getFacesListeners in class javax.faces.component.UIComponentBase
removeFacesListener
protected void removeFacesListener(javax.faces.event.FacesListener listener)
- Overrides:
removeFacesListener in class javax.faces.component.UIComponentBase
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent in class javax.faces.component.UIComponentBase
processRestoreState
public void processRestoreState(javax.faces.context.FacesContext context,
Object state)
- Overrides:
processRestoreState in class javax.faces.component.UIComponentBase
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodes in class javax.faces.component.UIInput
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Overrides:
processValidators in class javax.faces.component.UIInput
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates in class javax.faces.component.UIInput
processSaveState
public Object processSaveState(javax.faces.context.FacesContext context)
- Overrides:
processSaveState in class javax.faces.component.UIComponentBase
saveState
public Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState in interface javax.faces.component.StateHolder- Overrides:
saveState in class javax.faces.component.UIInput
restoreState
public void restoreState(javax.faces.context.FacesContext context,
Object state)
- Specified by:
restoreState in interface javax.faces.component.StateHolder- Overrides:
restoreState in class javax.faces.component.UIInput
isTransient
public boolean isTransient()
- Specified by:
isTransient in interface javax.faces.component.StateHolder- Overrides:
isTransient in class javax.faces.component.UIComponentBase
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient in interface javax.faces.component.StateHolder- Overrides:
setTransient in class javax.faces.component.UIComponentBase
getSubmittedValue
public Object getSubmittedValue()
- Specified by:
getSubmittedValue in interface javax.faces.component.EditableValueHolder- Overrides:
getSubmittedValue in class javax.faces.component.UIInput
setSubmittedValue
public void setSubmittedValue(Object submittedValue)
- Specified by:
setSubmittedValue in interface javax.faces.component.EditableValueHolder- Overrides:
setSubmittedValue in class javax.faces.component.UIInput
setValue
public void setValue(Object value)
- Specified by:
setValue in interface javax.faces.component.ValueHolder- Overrides:
setValue in class javax.faces.component.UIInput
isLocalValueSet
public boolean isLocalValueSet()
- Specified by:
isLocalValueSet in interface javax.faces.component.EditableValueHolder- Overrides:
isLocalValueSet in class javax.faces.component.UIInput
setLocalValueSet
public void setLocalValueSet(boolean localValueSet)
- Specified by:
setLocalValueSet in interface javax.faces.component.EditableValueHolder- Overrides:
setLocalValueSet in class javax.faces.component.UIInput
isValid
public boolean isValid()
- Specified by:
isValid in interface javax.faces.component.EditableValueHolder- Overrides:
isValid in class javax.faces.component.UIInput
setValid
public void setValid(boolean valid)
- Specified by:
setValid in interface javax.faces.component.EditableValueHolder- Overrides:
setValid in class javax.faces.component.UIInput
getValidator
public javax.faces.el.MethodBinding getValidator()
- Specified by:
getValidator in interface javax.faces.component.EditableValueHolder- Overrides:
getValidator in class javax.faces.component.UIInput
setValidator
public void setValidator(javax.faces.el.MethodBinding validator)
- Specified by:
setValidator in interface javax.faces.component.EditableValueHolder- Overrides:
setValidator in class javax.faces.component.UIInput
getValueChangeListener
public javax.faces.el.MethodBinding getValueChangeListener()
- Specified by:
getValueChangeListener in interface javax.faces.component.EditableValueHolder- Overrides:
getValueChangeListener in class javax.faces.component.UIInput
setValueChangeListener
public void setValueChangeListener(javax.faces.el.MethodBinding valueChangeListener)
- Specified by:
setValueChangeListener in interface javax.faces.component.EditableValueHolder- Overrides:
setValueChangeListener in class javax.faces.component.UIInput
updateModel
public void updateModel(javax.faces.context.FacesContext context)
- Overrides:
updateModel in class javax.faces.component.UIInput
validate
public void validate(javax.faces.context.FacesContext context)
- Overrides:
validate in class javax.faces.component.UIInput
addValidator
public void addValidator(javax.faces.validator.Validator validator)
- Specified by:
addValidator in interface javax.faces.component.EditableValueHolder- Overrides:
addValidator in class javax.faces.component.UIInput
getValidators
public javax.faces.validator.Validator[] getValidators()
- Specified by:
getValidators in interface javax.faces.component.EditableValueHolder- Overrides:
getValidators in class javax.faces.component.UIInput
removeValidator
public void removeValidator(javax.faces.validator.Validator validator)
- Specified by:
removeValidator in interface javax.faces.component.EditableValueHolder- Overrides:
removeValidator in class javax.faces.component.UIInput
addValueChangeListener
public void addValueChangeListener(javax.faces.event.ValueChangeListener listener)
- Specified by:
addValueChangeListener in interface javax.faces.component.EditableValueHolder- Overrides:
addValueChangeListener in class javax.faces.component.UIInput
getValueChangeListeners
public javax.faces.event.ValueChangeListener[] getValueChangeListeners()
- Specified by:
getValueChangeListeners in interface javax.faces.component.EditableValueHolder- Overrides:
getValueChangeListeners in class javax.faces.component.UIInput
removeValueChangeListener
public void removeValueChangeListener(javax.faces.event.ValueChangeListener listener)
- Specified by:
removeValueChangeListener in interface javax.faces.component.EditableValueHolder- Overrides:
removeValueChangeListener in class javax.faces.component.UIInput
setImmediate
public void setImmediate(boolean immediate)
- Specified by:
setImmediate in interface javax.faces.component.EditableValueHolder- Overrides:
setImmediate in class javax.faces.component.UIInput
isImmediate
public boolean isImmediate()
- Specified by:
isImmediate in interface javax.faces.component.EditableValueHolder- Overrides:
isImmediate in class javax.faces.component.UIInput
setRequired
public void setRequired(boolean required)
- Specified by:
setRequired in interface javax.faces.component.EditableValueHolder- Overrides:
setRequired in class javax.faces.component.UIInput
isRequired
public boolean isRequired()
- Specified by:
isRequired in interface javax.faces.component.EditableValueHolder- Overrides:
isRequired in class javax.faces.component.UIInput
getLocalValue
public Object getLocalValue()
- Specified by:
getLocalValue in interface javax.faces.component.ValueHolder- Overrides:
getLocalValue in class javax.faces.component.UIOutput
setConverter
public void setConverter(javax.faces.convert.Converter converter)
- Specified by:
setConverter in interface javax.faces.component.ValueHolder- Overrides:
setConverter in class javax.faces.component.UIOutput
getConverter
public javax.faces.convert.Converter getConverter()
- Specified by:
getConverter in interface javax.faces.component.ValueHolder- Overrides:
getConverter in class javax.faces.component.UIOutput
getValue
public Object getValue()
- Specified by:
getValue in interface javax.faces.component.ValueHolder- Overrides:
getValue in class javax.faces.component.UIInput
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.