@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIProgressBar extends AbstractProgressBar implements javax.faces.component.behavior.ClientBehaviorHolder, MetaComponentEncoder, MetaComponentResolver, AjaxProps, EventsMouseProps, StyleClassProps, StyleProps
The <rich:progressBar> component displays a progress bar to indicate the status of a process to the user. It can update either through Ajax or on the client side, and the look and feel can be fully customized.
Modifier and Type | Class and Description |
---|---|
protected static class |
UIProgressBar.Properties |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
STATE_META_COMPONENT_ID
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
META_COMPONENT_SEPARATOR_CHAR
Constructor and Description |
---|
UIProgressBar() |
Modifier and Type | Method and Description |
---|---|
Object |
getData()
Serialized (on default with JSON) data passed to the client by a developer on an AJAX request.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
Object |
getExecute()
IDs of components that will participate in the "execute" portion of the Request Processing Lifecycle.
|
String |
getFamily() |
String |
getFinishClass()
Space-separated list of CSS style class(es) to be applied when before progress finishes.
|
String |
getInitialClass()
Space-separated list of CSS style class(es) to be applied when before progress starts.
|
int |
getInterval()
Interval (in ms) for call poll requests.
|
String |
getLabel()
Defines a simple label instead of rendering children component
|
Object |
getMaxValue()
Max value, after which complete state should be rendered.
|
Object |
getMinValue()
Min value when initial state should be rendered.
|
SwitchType |
getMode()
The mode for updating the progress bar, can be one of:
|
String |
getOnbeforedomupdate()
The client-side script method to be called after the ajax response comes back, but before the DOM is updated
|
String |
getOnbegin()
The client-side script method to be called before an ajax request.
|
String |
getOnclick()
Javascript code executed when a pointer button is clicked over this element.
|
String |
getOncomplete()
The client-side script method to be called after the DOM is updated
|
String |
getOndblclick()
Javascript code executed when a pointer button is double clicked over this element.
|
String |
getOnfinish()
The client-side script method to be called when progress is finished
|
String |
getOnmousedown()
Javascript code executed when a pointer button is pressed down over this element.
|
String |
getOnmousemove()
Javascript code executed when a pointer button is moved within this element.
|
String |
getOnmouseout()
Javascript code executed when a pointer button is moved away from this element.
|
String |
getOnmouseover()
Javascript code executed when a pointer button is moved onto this element.
|
String |
getOnmouseup()
Javascript code executed when a pointer button is released over this element.
|
String |
getProgressClass()
Space-separated list of CSS style class(es) to be applied to the progress bar element.
|
String |
getRemainingClass()
Space-separated list of CSS style class(es) to be applied to the remaining part of the progress bar.
|
Object |
getRender()
IDs of components that will participate in the "render" portion of the Request Processing Lifecycle.
|
String |
getResource() |
String |
getStatus()
Name of the request status component that will indicate the status of the Ajax request
|
String |
getStyle()
CSS style(s) to be applied when this component is rendered.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
Object |
getValue()
Sets the current value of the progress
|
boolean |
isEnabled()
Enables/disables polling.
|
boolean |
isLimitRender()
If "true", render only those ids specified in the "render" attribute, forgoing the render of the auto-rendered panels
|
boolean |
isResetValues()
If true, indicate that this particular Ajax transaction is a value reset transaction.
|
void |
setData(Object data) |
void |
setEnabled(boolean enabled) |
void |
setExecute(Object execute) |
void |
setFinishClass(String finishClass) |
void |
setInitialClass(String initialClass) |
void |
setInterval(int interval) |
void |
setLabel(String label) |
void |
setLimitRender(boolean limitRender) |
void |
setMaxValue(Object maxValue) |
void |
setMinValue(Object minValue) |
void |
setMode(SwitchType mode) |
void |
setOnbeforedomupdate(String onbeforedomupdate) |
void |
setOnbegin(String onbegin) |
void |
setOnclick(String onclick) |
void |
setOncomplete(String oncomplete) |
void |
setOndblclick(String ondblclick) |
void |
setOnfinish(String onfinish) |
void |
setOnmousedown(String onmousedown) |
void |
setOnmousemove(String onmousemove) |
void |
setOnmouseout(String onmouseout) |
void |
setOnmouseover(String onmouseover) |
void |
setOnmouseup(String onmouseup) |
void |
setProgressClass(String progressClass) |
void |
setRemainingClass(String remainingClass) |
void |
setRender(Object render) |
void |
setResetValues(boolean resetValues) |
void |
setResource(String resource) |
void |
setStatus(String status) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setValue(Object value) |
encodeMetaComponent, resolveClientId, substituteUnresolvedClientId, visitTree
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, 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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors
encodeMetaComponent
resolveClientId, substituteUnresolvedClientId
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public Object getData()
AjaxActivatorProps
getData
in interface AjaxActivatorProps
public void setData(Object data)
setData
in class AbstractProgressBar
public boolean isEnabled()
AbstractProgressBar
Enables/disables polling.
Default value is "true".
isEnabled
in class AbstractProgressBar
public void setEnabled(boolean enabled)
public Object getExecute()
AjaxProps
getExecute
in interface AjaxProps
getExecute
in class AbstractProgressBar
public void setExecute(Object execute)
public String getFinishClass()
AbstractProgressBar
getFinishClass
in class AbstractProgressBar
public void setFinishClass(String finishClass)
public String getInitialClass()
AbstractProgressBar
getInitialClass
in class AbstractProgressBar
public void setInitialClass(String initialClass)
public int getInterval()
AbstractProgressBar
Interval (in ms) for call poll requests.
Default value 1000 ms (1 sec)
getInterval
in class AbstractProgressBar
public void setInterval(int interval)
public String getLabel()
AbstractProgressBar
getLabel
in class AbstractProgressBar
public void setLabel(String label)
public boolean isLimitRender()
AjaxActivatorProps
isLimitRender
in interface AjaxActivatorProps
isLimitRender
in class AbstractProgressBar
public void setLimitRender(boolean limitRender)
public Object getMaxValue()
AbstractProgressBar
Max value, after which complete state should be rendered.
Default value is "100".
getMaxValue
in class AbstractProgressBar
public void setMaxValue(Object maxValue)
public Object getMinValue()
AbstractProgressBar
Min value when initial state should be rendered.
Default value is "0".
getMinValue
in class AbstractProgressBar
public void setMinValue(Object minValue)
public SwitchType getMode()
AbstractProgressBar
The mode for updating the progress bar, can be one of:
Default is "ajax"
getMode
in class AbstractProgressBar
public void setMode(SwitchType mode)
public String getOnbeforedomupdate()
AjaxActivatorProps
getOnbeforedomupdate
in interface AjaxActivatorProps
public void setOnbeforedomupdate(String onbeforedomupdate)
public String getOnbegin()
AjaxProps
getOnbegin
in interface AjaxProps
public void setOnbegin(String onbegin)
public String getOnclick()
EventsMouseProps
getOnclick
in interface EventsMouseProps
public void setOnclick(String onclick)
public String getOncomplete()
AjaxActivatorProps
getOncomplete
in interface AjaxActivatorProps
public void setOncomplete(String oncomplete)
public String getOndblclick()
EventsMouseProps
getOndblclick
in interface EventsMouseProps
public void setOndblclick(String ondblclick)
public String getOnfinish()
AbstractProgressBar
getOnfinish
in class AbstractProgressBar
public void setOnfinish(String onfinish)
public String getOnmousedown()
EventsMouseProps
getOnmousedown
in interface EventsMouseProps
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
EventsMouseProps
getOnmousemove
in interface EventsMouseProps
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
EventsMouseProps
getOnmouseout
in interface EventsMouseProps
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
EventsMouseProps
getOnmouseover
in interface EventsMouseProps
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
EventsMouseProps
getOnmouseup
in interface EventsMouseProps
public void setOnmouseup(String onmouseup)
public String getProgressClass()
AbstractProgressBar
getProgressClass
in class AbstractProgressBar
public void setProgressClass(String progressClass)
public String getRemainingClass()
AbstractProgressBar
getRemainingClass
in class AbstractProgressBar
public void setRemainingClass(String remainingClass)
public Object getRender()
AjaxActivatorProps
getRender
in interface AjaxActivatorProps
getRender
in class AbstractProgressBar
public void setRender(Object render)
public boolean isResetValues()
AjaxActivatorProps
isResetValues
in interface AjaxActivatorProps
public void setResetValues(boolean resetValues)
public String getResource()
getResource
in class AbstractProgressBar
public void setResource(String resource)
public String getStatus()
AjaxProps
getStatus
in interface AjaxProps
getStatus
in class AbstractProgressBar
public void setStatus(String status)
public String getStyle()
StyleProps
getStyle
in interface StyleProps
public void setStyle(String style)
public String getStyleClass()
StyleClassProps
getStyleClass
in interface StyleClassProps
public void setStyleClass(String styleClass)
public Object getValue()
AbstractProgressBar
getValue
in class AbstractProgressBar
public void setValue(Object value)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.