public class JSProgressBarManager extends JSBaseScriptableObject
myLogger
Constructor and Description |
---|
JSProgressBarManager() |
Modifier and Type | Method and Description |
---|---|
void |
jsFunction_clearProgressBars()
Set any progress bars for the current user that aren't in error state to 100%
|
long |
jsFunction_getCount(java.lang.String theProgressBarId)
Get the percent for a particular progress id (0 - 100)
|
java.lang.Double |
jsFunction_getPercent(java.lang.String theProgressBarId)
Get the percent for a particular progress id (0 - 100)
|
java.lang.String |
jsFunction_getStatus(java.lang.String theProgressBarId)
Get the status for a particular progress
|
void |
jsFunction_setButtonSearch(java.lang.String theProgressBarId,
java.lang.String theSearch)
Updates the button search for the progress bar (the search we perform when we click "See Uploaded Files"
or whatever) for the current user.
|
void |
jsFunction_updateItem(java.lang.String theProgressId,
java.lang.String theMessage,
java.lang.String theItem)
Updates a progress item and message(no skipping)
|
void |
jsFunction_updateProgress(java.lang.String theProgressBarId,
int theCount,
int theTotal)
updates the progress
|
void |
jsFunction_updateProgressBar(java.lang.String theProgressBarId,
java.lang.String theStatus,
int thePercent,
java.lang.String theTitle)
Create or update a progress bar that will be displayed to the user in their MB user interface.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public java.lang.Double jsFunction_getPercent(java.lang.String theProgressBarId)
theProgressBarId
- the id to use for tracking the progress idpublic long jsFunction_getCount(java.lang.String theProgressBarId)
theProgressBarId
- the id to use for tracking the progress idpublic java.lang.String jsFunction_getStatus(java.lang.String theProgressBarId)
theProgressBarId
- the id to use for tracking the progress idpublic void jsFunction_updateProgressBar(java.lang.String theProgressBarId, java.lang.String theStatus, int thePercent, java.lang.String theTitle)
theProgressBarId
- the id to use for tracking the progress idtheStatus
- status to display in the notification centerthePercent
- the percent (from 0 - 100) to set for the tasktheTitle
- the title (or grouping) at the top of the progress barpublic void jsFunction_updateProgress(java.lang.String theProgressBarId, int theCount, int theTotal)
theProgressBarId
- the progress idtheCount
- the counttheTotal
- the totalpublic void jsFunction_updateItem(java.lang.String theProgressId, java.lang.String theMessage, java.lang.String theItem)
theProgressId
- the progress idtheMessage
- the messagetheItem
- theItempublic void jsFunction_clearProgressBars()
public void jsFunction_setButtonSearch(java.lang.String theProgressBarId, java.lang.String theSearch)
theProgressBarId
- progress bar IDtheSearch
- the search that we perform when the progress bar becomes clickableCopyright © 2023 MediaBeacon, Inc. All Rights Reserved.