public class ProgressBar extends org.apache.wicket.markup.html.WebMarkupContainer implements IWiQueryPlugin
Creates a progressBar UI component from this WebMarkupContainer's
HTML markup.
| Constructor and Description |
|---|
ProgressBar(String id)
Builds a new progress bar.
|
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(WiQueryResourceManager wiQueryResourceManager)
Declares resources (JavaScript and CSS files) to import.
|
JsStatement |
decrement()
Method to decrement the value of the progressBar
|
void |
decrement(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to decrement the value of the progressBar within the ajax request
|
void |
decrement(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int decrement)
Method to decrement the value of the progressBar within the ajax request
|
JsStatement |
decrement(int decrement)
Method to decrement the value of the progressBar
|
JsStatement |
destroy()
Method to destroy the progressBar
This will return the element back to its pre-init state.
|
void |
destroy(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to destroy the progressBar within the ajax request
|
protected void |
detachModel() |
JsStatement |
disable()
Method to disable the progressBar
|
void |
disable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to disable the progressBar within the ajax request
|
JsStatement |
enable()
Method to enable the progressBar
|
void |
enable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to enable the progressBar within the ajax request
|
protected Options |
getOptions()
Method retrieving the options of the component
|
int |
getValue() |
JsStatement |
increment()
Method to increment the value of the progressBar
|
void |
increment(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to increment the value of the progressBar within the ajax request
|
void |
increment(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int increment)
Method to increment the value of the progressBar within the ajax request
|
JsStatement |
increment(int increment)
Method to increment the value of the progressBar
|
boolean |
isDisabled() |
ProgressBar |
setChangeEvent(JsScopeUiEvent change)
Set's the callback when the value of the progressBar changes.
|
ProgressBar |
setDisabled(boolean disabled)
Disables (true) or enables (false) the progressBar.
|
ProgressBar |
setValue(int value)
Sets the current value of the progressBar
|
JsStatement |
statement()
Returns the main
JsStatement used to create the plugin. |
JsStatement |
update() |
JsStatement |
value()
Method to get the current value of the progressBar
|
void |
value(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int value)
Method to set the current value of the progressBar within the ajax request
|
JsStatement |
value(int value)
Method to set the current value of the progressBar
|
JsStatement |
widget()
Method to returns the .ui-progressbar element
|
void |
widget(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to returns the .ui-progressbar element within the ajax request
|
getMarkupType, getWebPage, getWebRequestadd, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrappublic ProgressBar(String id)
protected void detachModel()
detachModel in class org.apache.wicket.Componentpublic void contribute(WiQueryResourceManager wiQueryResourceManager)
IWiQueryPlugincontribute in interface IWiQueryPluginwiQueryResourceManager - The WiQueryResourceManager instance managing this
component resources.public JsStatement statement()
IWiQueryPluginJsStatement used to create the plugin.statement in interface IWiQueryPluginJsStatement corresponding to this component.protected Options getOptions()
public JsStatement update()
public ProgressBar setDisabled(boolean disabled)
disabled - public boolean isDisabled()
public ProgressBar setValue(int value)
value - public int getValue()
public ProgressBar setChangeEvent(JsScopeUiEvent change)
change - public JsStatement destroy()
public void destroy(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - public JsStatement disable()
public void disable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - public JsStatement enable()
public void enable(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - public JsStatement value()
public JsStatement value(int value)
value - public void value(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int value)
ajaxRequestTarget - value - public JsStatement increment()
public JsStatement increment(int increment)
increment - The increment to add to the current valuepublic void increment(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - public void increment(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int increment)
ajaxRequestTarget - increment - The increment to add to the current valuepublic JsStatement decrement()
public JsStatement decrement(int decrement)
decrement - The decrement to add to the current valuepublic void decrement(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - public void decrement(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget,
int decrement)
ajaxRequestTarget - decrement - The decrement to add to the current valuepublic JsStatement widget()
public void widget(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget - Copyright © 2009-2012. All Rights Reserved.