Indicators, Progress & Gauges · jdashboardUI 23.5 · B4J / JavaFX
Interactive progress card with icon, title, percentage, color, corner radius, events and elevation.
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
Interactive progress card with icon, title, percentage, color, corner radius, events and elevation.
Designer Properties
| Property | Type | Default | Description |
|---|---|---|---|
| Title | String | Skill |
|
| Color | Color | 0xFF1E90FF |
|
| TitleColor | Color | 0xFF2F4F4F |
|
| Progress | Int | 50 |
|
| CornerRadius | Int | 15 |
|
| IconFontSize | Int | 24 |
|
| ShowPercentage | Boolean | True |
Creation and lifecycle
Private JPanelProgressBar1 As JPanelProgressBar
JPanelProgressBar1.Initialize(Me, "JPanelProgressBar1")
JPanelProgressBar1.AddToParent(Root, 20dip, 20dip, 640dip, 360dip)
Working example
JPanelProgressBar1.Title = "B4J"
JPanelProgressBar1.Color = 0xFF4F46E5
JPanelProgressBar1.ShowPercentage = True
JPanelProgressBar1.Progress = 82
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 |
| TitleColor | read / write | Int |
| Progress | read / write | Int |
| CornerRadius | read / write | Int |
| ShowPercentage | read / write | Boolean |
| TitleFont | read / write | B4XFont |
Events
ClickValueChanged (NewValue As Int)
Export and rendering
This component does not expose a public PNG export function in the analyzed version.
Source-backed notes for the analyzed version
- Adds Click and ValueChanged events plus Elevation and TitleColor compared with PanelProgressBar.
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 IntsetTitleColor(c As Int)getTitleColor() As IntsetProgress(p As Int)getProgress() As IntsetCornerRadius(r As Int)getCornerRadius() As IntsetShowPercentage(b As Boolean)getShowPercentage() As BooleansetTitleFont(f As B4XFont)getTitleFont() As B4XFontBase_Resize(Width As Double, Height As Double)Elevation(Offset As Float, color As Int)
Related components
- PanelProgressBar
- JProgressBar