Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: Parent
Wraps FXGL's ProgressBar (com.almasb.fxgl.ui.ProgressBar), a health/status-bar-style progress indicator distinct from JavaFX's built-in ProgressBar. Named FxglProgressBar to avoid the name collision with the existing fx.ProgressBar wrapper from chunk 1.
FxglProgressBar (bool ShowChanges = true)
Creates a new progress bar.
adopt (object Ajo)
Wraps an existing FXGL ProgressBar AussomJavaObject.
Ajo is an AussomJavaObject around an FXGL ProgressBar.A new wrapper.setCurrentValue (double Value)
Sets the current value (0 to maxValue).
Value is the new value.this objectsetMaxValue (double Max)
Sets the maximum value.
Max is the new max.this objectsetMinValue (double Min)
Sets the minimum value.
Min is the new min.this objectgetCurrentValue ()
Returns the current value.
A double.currentValueProperty ()
Returns the underlying DoubleProperty for the current value. Useful for binding a HUD label or another bar to this one.
An AussomJavaObject around a DoubleProperty.minValueProperty ()
Returns the underlying DoubleProperty for the min value.
An AussomJavaObject around a DoubleProperty.maxValueProperty ()
Returns the underlying DoubleProperty for the max value.
An AussomJavaObject around a DoubleProperty.setWidth (double Width)
Sets the bar width.
Width is the new width in pixels.this objectsetHeight (double Height)
Sets the bar height.
Height is the new height in pixels.this objectsetFill (object ColorObj)
Sets the fill color of the filled section.
ColorObj is a Color wrapper.this objectsetBackgroundFill (object PaintObj)
Sets the background paint of the unfilled section.
PaintObj is an AussomJavaObject around a Paint (or a Color wrapper).this objectsetLabelFill (object PaintObj)
Sets the label text color.
PaintObj is an AussomJavaObject around a Paint or a Color wrapper.this objectsetTraceFill (object PaintObj)
Sets the trace (animated flash) color.
PaintObj is an AussomJavaObject around a Paint or a Color wrapper.this objectsetLabelVisible (bool Visible)
Sets whether the value-text label is visible.
Visible is a bool.this objectisLabelVisible ()
Returns whether the value-text label is visible.
A bool.setLabelPosition (string PositionName)
Sets the label position relative to the bar.
PositionName is the Position name ("LEFT", "RIGHT", "TOP", "BOTTOM").this objectgetBackgroundBar ()
Returns the underlying background-bar Rectangle for direct styling.
An AussomJavaObject around a Rectangle.getInnerBar ()
Returns the underlying inner-bar Rectangle (the filled portion) for direct styling.
An AussomJavaObject around a Rectangle.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.