GuiTextField class

A SAP GUI text input field element (type 31).

Extends GuiVComponent with text field-specific properties: caretPosition, displayedText, maxLength, highlighted, numerical, required, history properties, and label accessors.

Also provides getListProperty / getListPropertyNonRec for accessing list-based field metadata.

GuiTextField? field = session.findTextField('wnd[0]/usr/ctxtKNA1-NAME1');
field?.text = 'New value';
print(field?.displayedText);

See also:

Inheritance
Implementers

Constructors

GuiTextField(ISapObject obj)

Properties

accLabelCollection GuiComponentCollection<GuiLabel>
no setterinherited
accText String
no setterinherited
accTextOnRequest String
no setterinherited
accTooltip String
no setterinherited
caretPosition int
getter/setter pair
changeable bool
no setterinherited
containerType bool
no setterinherited
defaultTooltip String
no setterinherited
displayedText String
no setter
handle int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int
no setterinherited
highlighted bool
no setter
historyCurEntry String
no setter
historyCurIndex int
no setter
historyIsActive bool
no setter
historyList List<String>?
no setter
iconName String
no setterinherited
id String
no setterinherited
isHotspot bool
no setter
isLeftLabel bool
no setter
isListElement bool
no setter
isOField bool
no setter
isRightLabel bool
no setter
isSymbolFont bool
no setterinherited
left int
no setterinherited
leftLabel GuiLabel?
no setter
maxLength int
no setter
modified bool
getter/setter pairinherited
name String
no setterinherited
numerical bool
no setter
obj ISapObject
finalinherited
parent GuiComponent?
no setterinherited
parentFrame GuiComponent?
no setterinherited
required bool
no setter
rightLabel GuiLabel?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenLeft int
no setterinherited
screenTop int
no setterinherited
text String
getter/setter pairinherited
tooltip String
no setterinherited
top int
no setterinherited
type String
no setterinherited
typeAsNumber int
no setterinherited
width int
no setterinherited

Methods

dumpState([String innerObject = ""]) GuiComponentCollection<GuiComponent>
inherited
getListProperty(String property) String
getListPropertyNonRec(String property) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setFocus() → void
inherited
toString() String
A string representation of this object.
inherited
visualize(bool on, [String innerObject = ""]) int
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited