Basics
Guides
API Reference
Basics
Guides
API Reference
[20:7] extends: Component
Wraps FXGL's ChildViewComponent (com.almasb.fxgl.dsl.components.view.ChildViewComponent), the abstract base for view-attaching components. Concrete subclasses (GenericBarViewComponent, TextViewComponent, etc.) carry their own view Node and pin it to the entity with an (x, y) offset. This wrapper is abstract; instantiate one of the concrete subclasses or rewrap an existing AJO with adopt().
ChildViewComponent ()
Empty default constructor; populate with adopt().
adopt (object Ajo)
Wraps an existing ChildViewComponent AussomJavaObject.
getX ()
setX (double Value)
getY ()
setY (double Value)
getIsTransformApplied ()
Returns whether the view honors the entity's transform.
getViewRoot ()
Returns the view-root Group AJO this component attaches.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.