Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: Pane
Wraps FXGL's TriggerView (com.almasb.fxgl.input.view.TriggerView), a Pane that renders a Trigger glyph and auto-updates when the underlying Trigger changes. Use to display a player-rebindable key/mouse binding ("press [E] to interact") that keeps in sync with the live binding.
TriggerView (object TriggerObj, object ColorObj = null, double Size = 24.0)
Creates a new TriggerView for the given Trigger wrapper.
TriggerObj is a KeyTrigger / MouseTrigger wrapper (or any AussomJavaObject around a Trigger).ColorObj is a Color wrapper for the foreground.Size is the base glyph size in pixels.getTrigger ()
Returns the current Trigger as an AussomJavaObject.
An AussomJavaObject around a Trigger.setTrigger (object TriggerObj)
Replaces the displayed Trigger. The view re-renders automatically.
TriggerObj is a Trigger wrapper or raw AJO.this objectgetColor ()
Returns the foreground color.
setColor (object ColorObj)
Sets the foreground color.
triggerProperty ()
Returns the trigger ObjectProperty
so callers can bind it.
An AussomJavaObject around an ObjectProperty.colorProperty ()
Returns the color ObjectProperty
so callers can bind it.
An AussomJavaObject around an ObjectProperty.getSize ()
Returns the view's size in pixels.
setSize (double V)
Sets the view's size in pixels.

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