Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: FxObj
Wraps FXGL's DialogueNode (com.almasb.fxgl.cutscene.dialogue.DialogueNode), the sealed abstract base for every node in a DialogueGraph. Cannot be instantiated directly; use TextNode, BranchNode, FunctionNode, or SubDialogueNode. This wrapper exposes the common surface (type, text, audio file name) for callers that hold a generic node reference (e.g. through DialogueGraph.getNodeByID).
DialogueNode ()
Constructs an empty wrapper; use adopt to populate.
adopt (object Ajo)
Wraps an existing DialogueNode AussomJavaObject.
Ajo is an AussomJavaObject around a DialogueNode.A new wrapper.getType ()
Returns the node's DialogueNodeType.
An AussomJavaObject around a DialogueNodeType enum value.getText ()
Returns the node's text content.
A string.textProperty ()
Returns the node's text StringProperty for binding to UI.
An AussomJavaObject around a StringProperty.getAudioFileName ()
Returns the audio file name associated with this node (empty string when no audio is set).
A string.audioFileNameProperty ()
Returns the audio file name StringProperty for binding.
An AussomJavaObject around a StringProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.