GuiComponent class
Base class for all SAP GUI component wrappers.
Wraps an ISapObject and exposes basic component identity: id, name, type, typeAsNumber, and containerType.
The hierarchy:
- GuiComponent — identity
- GuiVComponent — visual elements (text, focus, dimensions)
- GuiContainer — containers with type-safe
find*()methods
final comp = GuiComponent(sapObject);
print(comp.id); // e.g. "wnd[0]/usr/btn[0]"
print(comp.type); // e.g. "GuiButton"
print(comp.typeAsNumber); // e.g. 40
- Implementers
Constructors
- GuiComponent(ISapObject obj)
Properties
- containerType → bool
-
no setter
- handle → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- name → String
-
no setter
- obj → ISapObject
-
final
- parent → GuiComponent?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setter
- typeAsNumber → int
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited