ConfirmDialog
class in package klyn.gui.terminal

    public class ConfirmDialog extends Dialog:

Object
└ Widget
└ Dialog
└ ConfirmDialog

Confirm/cancel modal dialog.

Fields

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

Attributes inherited from Dialog: onAccept, onCancel, terminal, title
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties inherited from Widget: focusable, focused, lastRenderFrame, position, size
Properties inherited from Object: type
Constructors

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

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