InputDialog
classin packageklyn.gui.terminal
public class InputDialog extends Dialog:
└ Widget
└ Dialog
└ InputDialog
Input modal dialog.
Fields
Modifier and Type Member Description
public prompt
prompt as String = ""
No summary.
Attributes inherited from Dialog: onAccept, onCancel, terminal, title
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties
Modifier and Type Member Description
public property text
text as String:
No summary.
Properties inherited from Widget: lastRenderFrame, position, size
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public InputDialog
InputDialog(terminal as Terminal, title as String, prompt as String):
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