InputField
classin packageklyn.gui.terminal
public class InputField extends Widget
└ Widget
└ InputField
Inherited Attributes
attributeInherited Attributes 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.
Inherited Properties
propertyInherited Properties from Widget: focusable, focused, lastRenderFrame, position, size
propertyInherited Properties from Object: type
Signals
Modifier and Type Member Description
public signal property text
text as String
No summary.
Constructors
Modifier and Type Member Description
public InputField
InputField(label as String = "", text as String = "", labelWidth as Int = 18, showDelete as Boolean = false)
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.
Inherited Methods
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, hash, toDict, toJson, toMap, toString, toXml