class ProgressBar
- Extends:
- UIComponent
Description:
Progress bar component is used to show progress visually, from 0% to 100%. Valid value range is from 0 to 100.
For simplicity the ProgressBar does not have min() and max() properties. Min is always 0, max is always 100.
Using multiple of these components in vertical position can be used to show audio spectrum analyzer.
Constructor
constructor([value])
ProgressBar constructor. Creates an instance of ProgressBar UI component.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
Numeric value between 0 and 100. |
Members
- [ readonly ] id
- [ readonly ] isContainer
- [ readonly ] parent
- [ readonly ] screenPosition
- [ readonly ] window
Methods
From this class:
Inherited from UIComponent:
- addTo()
- anchor()
- background()
- border()
- bottom()
- center()
- color()
- contextMenu()
- cursor()
- destroy()
- dragAction()
- dragData()
- dragDataType()
- dropAction()
- dropDataType()
- dropMode()
- emit()
- emitFocusKeyEvents()
- enabled()
- focusable()
- focused()
- font()
- getAncestor()
- height()
- hide()
- index()
- insideOf()
- layer()
- maxSize()
- minSize()
- move()
- onAncestorEvents()
- onChange()
- onComponentEvents()
- onDispose()
- onDragEvents()
- onDropEvents()
- onError()
- onFocusEvents()
- onKey()
- onMouseEvents()
- onMouseMotion()
- onMouseWheel()
- onPropertyChange()
- onShortcut()
- opacity()
- position()
- remove()
- right()
- shortcuts()
- size()
- snapshot()
- text()
- tooltip()
- update()
- verifyComponent()
- visible()
- width()
- x()
- y()
