InputField
classin packageklyn.gui.terminal
public class InputField extends Widget:
└ Widget
└ InputField
Attributes inherited from Widget: lastRenderAnsi, lastRenderHeight, lastRenderPlain, lastRenderWidth, layout, visible
Properties
Modifier and Type Member Description
public property deleteButton
deleteButton as Button = null
No summary.
public override readonly property focusable
focusable as Boolean = true
No summary.
public override property focused
focused as Boolean:
No summary.
public property id
id as String = ""
No summary.
public property label
label as String = ""
No summary.
public property labelWidth
labelWidth as Int = 18
No summary.
public property lineEdit
lineEdit as LineEdit
No summary.
public property text
text as String:
No summary.
Properties inherited from Widget: focusable, focused, lastRenderFrame, position, size
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public InputField
InputField(label as String = "", text as String = "", labelWidth as Int = 18, showDelete as Boolean = false, onDelete as Object = null):
No summary.
Methods
Modifier and Type Member Description
public override handleEvent
handleEvent(eventName as String) as Boolean:
No summary.
public override handleMouseEvent
handleMouseEvent(mouse as MouseEvent, localX as Int, localY as Int, viewWidth as Int, viewHeight as Int) as Boolean:
No summary.
public override paintToFrame
paintToFrame(frame as TerminalFrame, row as Int, col as Int, width as Int, height as Int) as Boolean:
No summary.
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