Basics
Guides
API Reference
Basics
Guides
API Reference
[21:7] extends: EngineService
Wraps FXGL's UIFactoryService, the engine service that produces skin-themed UI nodes (buttons, choice boxes, text, fonts, lists, checkboxes, sliders, spinners, text flows, MDI windows, and PropertyMap views). Reached at runtime via fxgl.getUIFactoryService (chunk 6); obtain a wrapper via adopt. Methods that return JavaFX nodes hand back raw AussomJavaObjects; Aussom users typically pass those straight into a layout via the layout's raw children list, or adopt them into a wrapper for further fluent setup.
UIFactoryService (Ajo = null)
Creates a UIFactoryService wrapper. Empty by default; the (Ajo) form wraps an existing instance from fxgl.getUIFactoryService.
Ajo is an optional AussomJavaObject around a UIFactoryService.adopt (object Ajo)
Wraps an existing UIFactoryService AussomJavaObject.
Ajo is an AussomJavaObject around a UIFactoryService.A new wrapper.newButton (string Text)
Returns a new themed Button with the given text.
Text is the button label.An AussomJavaObject around an FXGLButton.newCheckBox ()
Returns a new themed CheckBox.
An AussomJavaObject around an FXGLCheckBox.newSlider ()
Returns a new themed Slider.
An AussomJavaObject around an FXGLSlider.newChoiceBox ()
Returns a new themed ChoiceBox.
An AussomJavaObject around an FXGLChoiceBox.newText (string Message)
Returns a new themed Text node wrapped as fx.Text.
Message is the text content.An fx.Text wrapper.newTextFlow ()
Returns a new themed FXGLTextFlow.
An AussomJavaObject around an FXGLTextFlow.newFont (double Size)
Returns a new themed Font at the given size.
Size is the font size in points.An AussomJavaObject around a javafx.scene.text.Font.newWindow ()
Returns a new MDIWindow with no decorations.
An AussomJavaObject around an MDIWindow.newPropertyMapView (object MapObj)
Returns a JavaFX Node that displays and edits the given PropertyMap.
MapObj is a PropertyMap wrapper.An AussomJavaObject around a javafx.scene.Node.newTextSized (string Message, double FontSize)
Returns a new themed Text node wrapped as fx.Text, sized to the given font size.
Message is the text content.FontSize is the font size in points.An fx.Text wrapper.newTextColored (string Message, object ColorObj, double FontSize)
Returns a new themed Text node wrapped as fx.Text with the given color and font size.
Message is the text content.ColorObj is a Color wrapper.FontSize is the font size.An fx.Text wrapper.newTextTyped (string Message, object ColorObj, string FontTypeName, double FontSize)
Returns a new themed Text node wrapped as fx.Text with the given color, font-type, and size.
Message is the text content.ColorObj is a Color wrapper.FontTypeName is the FontType name ("UI", "MONO", "GAME", "TEXT").FontSize is the font size.An fx.Text wrapper.newTextBound (object ExprObj)
Returns a new Text node wrapped as fx.Text, bound to a JavaFX StringExpression so the displayed text auto-updates when the expression changes.
ExprObj is an AussomJavaObject around a StringExpression.An fx.Text wrapper.newButtonBound (object BindingObj)
Returns a themed Button whose label is bound to a StringBinding (used for localized labels).
BindingObj is an AussomJavaObject around a StringBinding.An AussomJavaObject around an FXGLButton.newFontTyped (string FontTypeName, double Size)
Returns a themed Font sized to the given font-type slot.
FontTypeName is the FontType name ("UI", "MONO", "GAME", "TEXT").Size is the font size in points.An AussomJavaObject around a javafx.scene.text.Font.registerFontFactory (string FontTypeName, object FactoryObj)
Registers a custom FontFactory for a given FontType slot.
FontTypeName is the FontType name.FactoryObj is a FontFactory wrapper.this objectnewChoiceBoxItems (object ItemsObj)
Returns a themed ChoiceBox pre-populated from the given ObservableList.
ItemsObj is an AussomJavaObject around an ObservableList.An AussomJavaObject around an FXGLChoiceBox.newSpinnerItems (object ItemsObj)
Returns a themed Spinner backed by the given items.
ItemsObj is an AussomJavaObject around an ObservableList.An AussomJavaObject around an FXGLSpinner.newListView ()
Returns an empty themed ListView.
An AussomJavaObject around an FXGLListView.newListViewItems (object ItemsObj)
Returns a themed ListView pre-populated from the given ObservableList.
ItemsObj is an AussomJavaObject around an ObservableList.An AussomJavaObject around an FXGLListView.newPropertyView (string Name, object PropertyObj)
Returns a typed property-editor Node for the given JavaFX Property (DoubleProperty, IntegerProperty, BooleanProperty, StringProperty, ObjectProperty).
Name is the property display name.PropertyObj is an AussomJavaObject around the Property.An AussomJavaObject around a javafx.scene.Node.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.