Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.magmacore.dialog
/
DialogManager
/
BooleanInput
Boolean
Input
public
class
BooleanInput
implements
DialogManager.InputControl
A boolean checkbox input control:contentReference[oaicite:42]{index=42}.
Members
Functions
initial
Link copied to clipboard
public
DialogManager.BooleanInput
initial
(
boolean initial
)
Sets the initial checked state.
of
Link copied to clipboard
public
static
DialogManager.BooleanInput
of
(
String
key
,
JsonElement
label
)
public
static
DialogManager.BooleanInput
of
(
String
key
,
String
label
)
on
False
Link copied to clipboard
public
DialogManager.BooleanInput
onFalse
(
String
value
)
Sets the string value sent when false.
on
True
Link copied to clipboard
public
DialogManager.BooleanInput
onTrue
(
String
value
)
Sets the string value sent when true.
to
Json
Link copied to clipboard
public
JsonObject
toJson
(
)