ConfirmDialog
classin packageklyn.gui.terminal
public class ConfirmDialog extends Dialog:
└ 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.
Inherited Attributes
attributeInherited Attributes from Dialog: terminal, title
attributeInherited Attributes from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Inherited Properties
propertyInherited Properties from Widget: focusable, focused, lastRenderFrame, position, size
propertyInherited Properties from Object: type
Inherited Events
eventInherited Events from Dialog: accepted, cancelled
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.
Inherited Methods
methodInherited Methods from Dialog: accept, cancel, close, show
methodInherited Methods from Widget: add, baseAnsiStyle, captureRenderFrame, children, clearChildren, configureCursor, focusNext, handleEvent, handleMouseEvent, hasActiveTextInput, idle, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph, terminalPromptVisible
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml