Package org.primefaces.component.poll
Class PollBase
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.component.poll.PollBase
- All Implemented Interfaces:
EventListener
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,AjaxSource
,Widget
- Direct Known Subclasses:
Poll
public abstract class PollBase
extends javax.faces.component.UIComponentBase
implements AjaxSource, Widget
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()
getForm()
javax.el.MethodExpression
int
boolean
isAsync()
boolean
boolean
isGlobal()
boolean
boolean
boolean
boolean
boolean
boolean
isStop()
void
setAsync
(boolean async) void
setAutoStart
(boolean autoStart) void
void
void
setGlobal
(boolean global) void
setIgnoreAutoUpdate
(boolean ignoreAutoUpdate) void
setIgnoreComponentNotFound
(boolean ignoreComponentNotFound) void
setImmediate
(boolean immediate) void
setInterval
(Object interval) void
setIntervalType
(String intervalType) void
setListener
(javax.el.MethodExpression listener) void
setOnactivated
(String onactivated) void
setOncomplete
(String oncomplete) void
setOndeactivated
(String ondeactivated) void
setOnerror
(String onerror) void
setOnstart
(String onstart) void
setOnsuccess
(String onsuccess) void
setPartialSubmit
(boolean partialSubmit) void
setPartialSubmitFilter
(String partialSubmitFilter) void
setProcess
(String process) void
setResetValues
(boolean resetValues) void
setStop
(boolean stop) void
setTimeout
(int timeout) void
void
setWidgetVar
(String widgetVar) Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.primefaces.component.api.AjaxSource
isAjaxified, isPartialSubmitSet, isResetValuesSet
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
COMPONENT_FAMILY
- See Also:
-
DEFAULT_RENDERER
- See Also:
-
-
Constructor Details
-
PollBase
public PollBase()
-
-
Method Details
-
getFamily
- Specified by:
getFamily
in classjavax.faces.component.UIComponent
-
getWidgetVar
-
setWidgetVar
-
getInterval
-
setInterval
-
getUpdate
- Specified by:
getUpdate
in interfaceAjaxSource
-
setUpdate
-
getListener
public javax.el.MethodExpression getListener() -
setListener
public void setListener(javax.el.MethodExpression listener) -
isImmediate
public boolean isImmediate() -
setImmediate
public void setImmediate(boolean immediate) -
getOnstart
- Specified by:
getOnstart
in interfaceAjaxSource
-
setOnstart
-
getOncomplete
- Specified by:
getOncomplete
in interfaceAjaxSource
-
setOncomplete
-
getProcess
- Specified by:
getProcess
in interfaceAjaxSource
-
setProcess
-
getOnerror
- Specified by:
getOnerror
in interfaceAjaxSource
-
setOnerror
-
getOnsuccess
- Specified by:
getOnsuccess
in interfaceAjaxSource
-
setOnsuccess
-
isGlobal
public boolean isGlobal()- Specified by:
isGlobal
in interfaceAjaxSource
-
setGlobal
public void setGlobal(boolean global) -
getDelay
- Specified by:
getDelay
in interfaceAjaxSource
-
setDelay
-
getTimeout
public int getTimeout()- Specified by:
getTimeout
in interfaceAjaxSource
-
setTimeout
public void setTimeout(int timeout) -
isAsync
public boolean isAsync()- Specified by:
isAsync
in interfaceAjaxSource
-
setAsync
public void setAsync(boolean async) -
isAutoStart
public boolean isAutoStart() -
setAutoStart
public void setAutoStart(boolean autoStart) -
isStop
public boolean isStop() -
setStop
public void setStop(boolean stop) -
isPartialSubmit
public boolean isPartialSubmit()- Specified by:
isPartialSubmit
in interfaceAjaxSource
-
setPartialSubmit
public void setPartialSubmit(boolean partialSubmit) -
isResetValues
public boolean isResetValues()- Specified by:
isResetValues
in interfaceAjaxSource
-
setResetValues
public void setResetValues(boolean resetValues) -
isIgnoreAutoUpdate
public boolean isIgnoreAutoUpdate()- Specified by:
isIgnoreAutoUpdate
in interfaceAjaxSource
-
setIgnoreAutoUpdate
public void setIgnoreAutoUpdate(boolean ignoreAutoUpdate) -
getPartialSubmitFilter
- Specified by:
getPartialSubmitFilter
in interfaceAjaxSource
-
setPartialSubmitFilter
-
getForm
- Specified by:
getForm
in interfaceAjaxSource
-
setForm
-
getIntervalType
-
setIntervalType
-
isIgnoreComponentNotFound
public boolean isIgnoreComponentNotFound()- Specified by:
isIgnoreComponentNotFound
in interfaceAjaxSource
-
setIgnoreComponentNotFound
public void setIgnoreComponentNotFound(boolean ignoreComponentNotFound) -
getOnactivated
-
setOnactivated
-
getOndeactivated
-
setOndeactivated
-