MessageDialog
class in package klyn.gui.terminal

    public class MessageDialog extends Dialog:

Object
└ Widget
└ Dialog
└ MessageDialog

Message dialog with a single accept action.

Fields

Modifier and Type | Member | Description
--- | --- | ---
public | message `message as String = ""` | No summary.
public | okLabel `okLabel as String = "OK"` | No summary.

Inherited Attributes
attribute Inherited Attributes from Dialog: terminal, title
attribute Inherited Attributes from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Inherited Properties
property Inherited Properties from Widget: focusable, focused, lastRenderFrame, position, size
property Inherited Properties from Object: type
Inherited Events
event Inherited Events from Dialog: accepted, cancelled
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | MessageDialog `MessageDialog(terminal as Terminal, title as String, message as String, okLabel as String = "OK"):` | No summary.

Inherited Methods
method Inherited Methods from Dialog: accept, cancel, close, show
method Inherited Methods from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, configureCursor, focusNext, handleEvent, handleMouseEvent, hasActiveTextInput, idle, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph, terminalPromptVisible
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml