|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.odlabs.wiquery.ui.progressbar.ProgressBar
public class ProgressBar
$Id$
Creates a progressBar UI component from this WebMarkupContainer
's HTML markup.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
ProgressBar(String id)
Builds a new progress bar. |
Method Summary | |
---|---|
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()
|
void |
renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
|
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 |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getWebPage, getWebRequest |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
Methods inherited from class org.apache.wicket.Component |
---|
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProgressBar(String id)
Method Detail |
---|
protected void detachModel()
detachModel
in class org.apache.wicket.Component
public void renderHead(org.apache.wicket.markup.html.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IHeaderContributor
renderHead
in class org.apache.wicket.Component
public JsStatement statement()
IWiQueryPlugin
JsStatement
used to create the plugin.
statement
in interface IWiQueryPlugin
JsStatement
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 value
public 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 value
public 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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |