GuiComponentCollection<T extends GuiComponent> class

A typed, auto-dispatching collection of SAP GUI components.

Wraps a raw ISapObject collection and automatically dispatches each element to the correct typed wrapper class (e.g. GuiButton, GuiTextField, GuiSession) based on its SAP component type number.

Used by GuiContainer.children, GuiConnection.sessions, GuiApplication.connections, and similar properties.

// Iterate all children with correct typing:
for (int i = 0; i < container.children.count; i++) {
  final child = container.children.elementAt(i);
  if (child is GuiButton) child.press();
}
Implementers

Properties

count int
no setter
hashCode int
The hash code for this object.
no setterinherited
length int
no setter
obj ISapObject
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter
typeAsNumber int
no setter

Methods

elementAt(int index) → T
item(dynamic index) → T
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