Basics
Guides
API Reference
Basics
Guides
API Reference
[20:7] extends: FXGLScrollPane
Wraps FXGL's EntityInspector (com.almasb.fxgl.dev.editor.EntityInspector), a FXGLScrollPane that renders an editable view of an Entity's components: lists every Property-returning getter, provides buttons to add a view image, add a built-in component, or add a custom component from a compiled .class file. Used in the FXGL editor / dev tooling; game code rarely touches it.
EntityInspector (bool Construct = true)
Creates a new EntityInspector. Pass false to construct an empty wrapper for adopt; the default (true) instantiates the engine class, which requires a running FXGL engine and JavaFX runtime.
Construct is true to instantiate immediately, false for an empty wrapper.adopt (object Ajo)
Wraps an existing EntityInspector AussomJavaObject.
Ajo is an AussomJavaObject around an EntityInspector.A new wrapper.getEntity ()
Returns the inspected Entity (may be null when nothing is selected).
An AussomJavaObject around an Entity, or null.setEntity (object EntityObj)
Sets the inspected Entity, rebuilding the view to match its components. Pass null to clear.
EntityObj is an Entity wrapper, or null.this objectonAdded (object ComponentObj)
Component-added listener hook (ComponentListener interface method). Adds a view row for the newly added component.
ComponentObj is an AussomJavaObject around a Component.this objectonRemoved (object ComponentObj)
Component-removed listener hook (ComponentListener interface method).
ComponentObj is an AussomJavaObject around a Component.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.