Technical Support
🟢 Online now
Hello 👋

How can we help you today?
Contact on WhatsApp
B4X Store
jdashboardUI / Indicators, Progress & Gauges / JPanelProgressBar
Indicators, Progress & Gauges

JPanelProgressBar

Interactive progress card with icon, title, percentage, color, corner radius, events and elevation.

Source
jdashboardUI.b4xlib · Public API only
Store language: en
Reference image
Illustrative visual reference for JPanelProgressBar. It is not an exact component screenshot.
REFERENCE
JPanelProgressBar reference with progress cards, icons and percentages

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

  • Click
  • ValueChanged (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 String
  • setFont(f As B4XFont)
  • getFont() As B4XFont
  • setTitle(t As String)
  • getTitle() As String
  • setColor(c As Int)
  • getColor() As Int
  • setTitleColor(c As Int)
  • getTitleColor() As Int
  • setProgress(p As Int)
  • getProgress() As Int
  • setCornerRadius(r As Int)
  • getCornerRadius() As Int
  • setShowPercentage(b As Boolean)
  • getShowPercentage() As Boolean
  • setTitleFont(f As B4XFont)
  • getTitleFont() As B4XFont
  • Base_Resize(Width As Double, Height As Double)
  • Elevation(Offset As Float, color As Int)
  • PanelProgressBar
  • JProgressBar