Indicators, Progress & Gauges · jdashboardUI 23.5 · B4J / JavaFX
Lightweight progress card with icon, title, percentage, color and rounded corners.
The image shown on this page is a documentation reference visual. It is not intended to be a pixel-perfect screenshot; the real result depends on size, theme, colors and data.
Highlights
- Configurable title
When to use it
Lightweight progress card with icon, title, percentage, color and rounded corners.
Designer Properties
| Property | Type | Default | Description |
|---|---|---|---|
| Title | String | Skill |
|
| Color | Color | 0xFF1E90FF |
|
| Progress | Int | 50 |
|
| CornerRadius | Int | 15 |
|
| IconFontSize | Int | 24 |
|
| ShowPercentage | Boolean | True |
Creation and lifecycle
Private PanelProgressBar1 As PanelProgressBar
PanelProgressBar1.Initialize(Me, "PanelProgressBar1")
PanelProgressBar1.AddToParent(Root, 20dip, 20dip, 640dip, 360dip)
Working example
PanelProgressBar1.Title = "Download"
PanelProgressBar1.Color = 0xFF06B6D4
PanelProgressBar1.ShowPercentage = True
PanelProgressBar1.Progress = 60
Normalized B4X properties
Compatible public getX/setX accessors are presented as normal B4X properties. Parameterized accessors remain documented as methods.
| Property | Access | Type |
|---|---|---|
| Icon | read | String |
| Font | read / write | B4XFont |
| Title | read / write | String |
| Color | read / write | Int |
| Progress | read / write | Int |
| CornerRadius | read / write | Int |
| ShowPercentage | read / write | Boolean |
Events
No public events are declared in the analyzed version.
Export and rendering
This component does not expose a public PNG export function in the analyzed version.
Source-backed notes for the analyzed version
- This is the lighter sibling of JPanelProgressBar and does not declare Click / ValueChanged events in the analyzed source.
Complete public API
Initialize(Callback As Object, EventName As String)DesignerCreateView(Base As Object, lbl As Label, Props As Map)AddToParent(Parent As B4XView, Left As Int, Top As Int, Width As Int, Height As Int)setIcon(icon As String,Font As B4XFont)getIcon() As StringsetFont(f As B4XFont)getFont() As B4XFontsetTitle(t As String)getTitle() As StringsetColor(c As Int)getColor() As IntsetProgress(p As Int)getProgress() As IntsetCornerRadius(r As Int)getCornerRadius() As IntsetShowPercentage(b As Boolean)getShowPercentage() As BooleanBase_Resize(Width As Double, Height As Double)
Related components
- JPanelProgressBar
- JProgressBar