org.richfaces.component
Class UIComponentControl
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.richfaces.component.UIComponentControl
- All Implemented Interfaces:
- javax.faces.component.StateHolder, org.ajax4jsf.component.AjaxSupport
- Direct Known Subclasses:
- HtmlComponentControl
public abstract class UIComponentControl
- extends javax.faces.component.UIComponentBase
- implements org.ajax4jsf.component.AjaxSupport
JSF component class
Fields inherited from class javax.faces.component.UIComponent |
bindings |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getContainerClientId, getFamily, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ajax4jsf.component.AjaxSupport |
getOnsubmit, setOnsubmit |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
DISABLE_DEFAULT
public static final java.lang.String DISABLE_DEFAULT
- See Also:
- Constant Field Values
ON_CONTEXT_MENU
public static final java.lang.String ON_CONTEXT_MENU
- See Also:
- Constant Field Values
UIComponentControl
public UIComponentControl()
getEventString
public java.lang.String getEventString()
- Specified by:
getEventString
in interface org.ajax4jsf.component.AjaxSupport
- Returns:
- JavaScript eventString. Rebuild on every call, since can be in
loop ( as in dataTable ) with different parameters.
getEncodedParametersMap
public java.lang.String getEncodedParametersMap()
getEvent
public abstract java.lang.String getEvent()
- Specified by:
getEvent
in interface org.ajax4jsf.component.AjaxSupport
setEvent
public abstract void setEvent(java.lang.String event)
- Specified by:
setEvent
in interface org.ajax4jsf.component.AjaxSupport
getFor
public abstract java.lang.String getFor()
setFor
public abstract void setFor(java.lang.String value)
getParams
public abstract java.lang.String getParams()
setParams
public abstract void setParams(java.lang.String value)
getOperation
public abstract java.lang.String getOperation()
setOperation
public abstract void setOperation(java.lang.String value)
getAttachTo
public abstract java.lang.String getAttachTo()
setAttachTo
public abstract void setAttachTo(java.lang.String value)
replaceClientIds
protected java.lang.String replaceClientIds(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String selector)
setParent
public void setParent(javax.faces.component.UIComponent parent)
- After nornal setting
parent
property in case of created
component set Ajax properties for parent.
- Overrides:
setParent
in class javax.faces.component.UIComponentBase
- See Also:
UIComponentBase.setParent(javax.faces.component.UIComponent)
setParentProperties
public void setParentProperties(javax.faces.component.UIComponent parent)
- Specified by:
setParentProperties
in interface org.ajax4jsf.component.AjaxSupport
setName
public abstract void setName(java.lang.String name)
getName
public abstract java.lang.String getName()
setAttachTiming
public abstract void setAttachTiming(java.lang.String attachTiming)
getAttachTiming
public abstract java.lang.String getAttachTiming()
isDisableDefault
public boolean isDisableDefault()
- Specified by:
isDisableDefault
in interface org.ajax4jsf.component.AjaxSupport
setDisableDefault
public void setDisableDefault(boolean disableDefault)
- Specified by:
setDisableDefault
in interface org.ajax4jsf.component.AjaxSupport
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2009. All Rights Reserved.