|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UICommand org.ajax4jsf.component.AjaxActionComponent org.ajax4jsf.component.UIAjaxSupport
public abstract class UIAjaxSupport
Component for append ajax functions to any control component. Append action functionality to non-action control, setup javascript events for parent component,
Field Summary | |
---|---|
static java.lang.String |
AJAX_SUPPORT_SET
|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class org.ajax4jsf.component.AjaxActionComponent |
---|
FOCUS_DATA_ID |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Fields inherited from interface org.ajax4jsf.component.AjaxComponent |
---|
AJAX_COMPONETT_PARAMETER |
Constructor Summary | |
---|---|
UIAjaxSupport()
|
Method Summary | |
---|---|
void |
decode(javax.faces.context.FacesContext context)
|
java.lang.String |
getEventString()
|
protected javax.faces.component.UIComponent |
getSingleComponent()
|
void |
setParent(javax.faces.component.UIComponent parent)
After nornal setting parent property in case of created
component set Ajax properties for parent. |
void |
setParentProperties(javax.faces.component.UIComponent parent)
|
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
|
Methods inherited from class org.ajax4jsf.component.AjaxActionComponent |
---|
addAjaxListener, broadcast, getAjaxListeners, queueEvent, removeAjaxListener, setupReRender, setupReRender |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, removeActionListener, restoreState, saveState, setAction, setActionExpression, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, 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, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression |
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 |
---|
getEvent, getOnsubmit, isDisableDefault, setDisableDefault, setEvent, setOnsubmit |
Methods inherited from interface org.ajax4jsf.component.AjaxComponent |
---|
getData, getEventsQueue, getFocus, getOnbeforedomupdate, getOncomplete, getProcess, getRequestDelay, getReRender, getSimilarityGroupingId, getStatus, getTimeout, isAjaxSingle, isBypassUpdates, isIgnoreDupResponses, isLimitToList, setAjaxSingle, setBypassUpdates, setData, setEventsQueue, setFocus, setIgnoreDupResponses, setLimitToList, setOnbeforedomupdate, setOncomplete, setProcess, setRequestDelay, setReRender, setSimilarityGroupingId, setStatus, setTimeout |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String DEFAULT_RENDERER_TYPE
public static final java.lang.String AJAX_SUPPORT_SET
Constructor Detail |
---|
public UIAjaxSupport()
Method Detail |
---|
public void setValueExpression(java.lang.String name, javax.el.ValueExpression binding)
setValueExpression
in class javax.faces.component.UIComponent
public java.lang.String getEventString()
getEventString
in interface org.ajax4jsf.component.AjaxSupport
public void decode(javax.faces.context.FacesContext context)
decode
in class javax.faces.component.UIComponentBase
public void setParent(javax.faces.component.UIComponent parent)
parent
property in case of created
component set Ajax properties for parent.
setParent
in class javax.faces.component.UIComponentBase
UIComponentBase.setParent(javax.faces.component.UIComponent)
public void setParentProperties(javax.faces.component.UIComponent parent)
setParentProperties
in interface org.ajax4jsf.component.AjaxSupport
protected javax.faces.component.UIComponent getSingleComponent()
getSingleComponent
in class org.ajax4jsf.component.AjaxActionComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |