@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIProgressBar extends AbstractProgressBar implements javax.faces.component.behavior.ClientBehaviorHolder, EventsMouseProps, MetaComponentEncoder, MetaComponentResolver
The <r: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 on the client by a developer on AJAX request.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
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.
|
String |
getResource() |
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.
|
void |
setData(Object data) |
void |
setEnabled(boolean enabled) |
void |
setFinishClass(String finishClass) |
void |
setInitialClass(String initialClass) |
void |
setInterval(int interval) |
void |
setLabel(String label) |
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 |
setResource(String resource) |
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, 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, 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()
AbstractProgressBar
getData
in class AbstractProgressBar
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 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 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()
AbstractProgressBar
getOnbeforedomupdate
in class AbstractProgressBar
public void setOnbeforedomupdate(String onbeforedomupdate)
public String getOnbegin()
AbstractProgressBar
getOnbegin
in class AbstractProgressBar
public void setOnbegin(String onbegin)
public String getOnclick()
EventsMouseProps
getOnclick
in interface EventsMouseProps
public void setOnclick(String onclick)
public String getOncomplete()
AbstractProgressBar
getOncomplete
in class AbstractProgressBar
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 String getResource()
getResource
in class AbstractProgressBar
public void setResource(String resource)
public String getStyle()
AbstractProgressBar
getStyle
in class AbstractProgressBar
public void setStyle(String style)
public String getStyleClass()
AbstractProgressBar
getStyleClass
in class AbstractProgressBar
public void setStyleClass(String styleClass)
public Object getValue()
AbstractProgressBar
getValue
in class AbstractProgressBar
public void setValue(Object value)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.