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.
Attributes inherited from Dialog: onAccept, onCancel, terminal, title
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties inherited from Widget: 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, handleEvent, handleMouseEvent, paint, paintToFrame, performLayout, refresh, renderAnsiSnapshot, renderPlainSnapshot, scrollbarThumbGlyph, scrollbarTrackGlyph
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml