|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.ajax4jsf.component.AjaxActionComponent
org.ajax4jsf.component.UIPush
public abstract class UIPush
Component for periodically call AJAX events on server ( poll actions )
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_TYPE
|
| Fields inherited from class org.ajax4jsf.component.AjaxActionComponent |
|---|
FOCUS_DATA_ID |
| Fields inherited from class javax.faces.component.UICommand |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.ajax4jsf.component.AjaxComponent |
|---|
AJAX_COMPONETT_PARAMETER |
| Constructor Summary | |
|---|---|
UIPush()
|
|
| Method Summary | |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
abstract javax.el.MethodExpression |
getEventProducer()
|
abstract int |
getInterval()
|
java.lang.String |
getListenerId(javax.faces.context.FacesContext context)
|
abstract boolean |
isEnabled()
|
boolean |
isSubmitted()
|
abstract void |
setEnabled(boolean enable)
|
abstract void |
setEventProducer(javax.el.MethodExpression producer)
|
abstract void |
setInterval(int interval)
|
void |
setSubmitted(boolean submitted)
|
protected void |
setupReRender(javax.faces.context.FacesContext facesContext)
|
| Methods inherited from class org.ajax4jsf.component.AjaxActionComponent |
|---|
addAjaxListener, broadcast, getAjaxListeners, getSingleComponent, queueEvent, removeAjaxListener, 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, decode, 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, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, 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.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
| Constructor Detail |
|---|
public UIPush()
| Method Detail |
|---|
public boolean isSubmitted()
public void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic java.lang.String getListenerId(javax.faces.context.FacesContext context)
public void setSubmitted(boolean submitted)
submitted - the submitted to setpublic abstract javax.el.MethodExpression getEventProducer()
public abstract void setEventProducer(javax.el.MethodExpression producer)
public abstract int getInterval()
public abstract void setInterval(int interval)
interval - time in mc for polling interval.public abstract boolean isEnabled()
public abstract void setEnabled(boolean enable)
protected void setupReRender(javax.faces.context.FacesContext facesContext)
setupReRender in class org.ajax4jsf.component.AjaxActionComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||