org.primefaces.component.poll
Class Poll

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.primefaces.component.poll.Poll
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

public class Poll
extends javax.faces.component.UIComponentBase
implements AjaxSource, Widget


Nested Class Summary
protected static class Poll.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields 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
 
Constructor Summary
Poll()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
 String getFamily()
           
 int getInterval()
           
 javax.el.MethodExpression getListener()
           
 String getOncomplete()
           
 String getOnerror()
           
 String getOnstart()
           
 String getOnsuccess()
           
 String getProcess()
           
 String getUpdate()
           
 String getWidgetVar()
           
 boolean isAjaxified()
           
 boolean isAsync()
           
 boolean isAutoStart()
           
 boolean isGlobal()
           
 boolean isIgnoreAutoUpdate()
           
 boolean isImmediate()
           
 boolean isPartialSubmit()
           
 boolean isPartialSubmitSet()
           
 boolean isResetValues()
           
 boolean isResetValuesSet()
           
 boolean isStop()
           
 String resolveWidgetVar()
           
 void setAsync(boolean _async)
           
 void setAutoStart(boolean _autoStart)
           
 void setGlobal(boolean _global)
           
 void setIgnoreAutoUpdate(boolean _ignoreAutoUpdate)
           
 void setImmediate(boolean _immediate)
           
 void setInterval(int _interval)
           
 void setListener(javax.el.MethodExpression _listener)
           
 void setOncomplete(String _oncomplete)
           
 void setOnerror(String _onerror)
           
 void setOnstart(String _onstart)
           
 void setOnsuccess(String _onsuccess)
           
 void setPartialSubmit(boolean _partialSubmit)
           
 void setProcess(String _process)
           
 void setResetValues(boolean _resetValues)
           
 void setStop(boolean _stop)
           
 void setUpdate(String _update)
           
 void setWidgetVar(String _widgetVar)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, 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
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

Poll

public Poll()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getInterval

public int getInterval()

setInterval

public void setInterval(int _interval)

getUpdate

public String getUpdate()
Specified by:
getUpdate in interface AjaxSource

setUpdate

public void setUpdate(String _update)

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

public String getOnstart()
Specified by:
getOnstart in interface AjaxSource

setOnstart

public void setOnstart(String _onstart)

getOncomplete

public String getOncomplete()
Specified by:
getOncomplete in interface AjaxSource

setOncomplete

public void setOncomplete(String _oncomplete)

getProcess

public String getProcess()
Specified by:
getProcess in interface AjaxSource

setProcess

public void setProcess(String _process)

getOnerror

public String getOnerror()
Specified by:
getOnerror in interface AjaxSource

setOnerror

public void setOnerror(String _onerror)

getOnsuccess

public String getOnsuccess()
Specified by:
getOnsuccess in interface AjaxSource

setOnsuccess

public void setOnsuccess(String _onsuccess)

isGlobal

public boolean isGlobal()
Specified by:
isGlobal in interface AjaxSource

setGlobal

public void setGlobal(boolean _global)

isAsync

public boolean isAsync()
Specified by:
isAsync in interface AjaxSource

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 interface AjaxSource

setPartialSubmit

public void setPartialSubmit(boolean _partialSubmit)

isResetValues

public boolean isResetValues()
Specified by:
isResetValues in interface AjaxSource

setResetValues

public void setResetValues(boolean _resetValues)

isIgnoreAutoUpdate

public boolean isIgnoreAutoUpdate()
Specified by:
isIgnoreAutoUpdate in interface AjaxSource

setIgnoreAutoUpdate

public void setIgnoreAutoUpdate(boolean _ignoreAutoUpdate)

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class javax.faces.component.UIComponentBase
Throws:
javax.faces.event.AbortProcessingException

isPartialSubmitSet

public boolean isPartialSubmitSet()
Specified by:
isPartialSubmitSet in interface AjaxSource

isResetValuesSet

public boolean isResetValuesSet()
Specified by:
isResetValuesSet in interface AjaxSource

isAjaxified

public boolean isAjaxified()
Specified by:
isAjaxified in interface AjaxSource

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.