4. Window class

Introduction

When an action is bound with a user interface application, it creates an object of class Window for each component at the XML descriptor with a ref-as attribute. Those components have the following methods:

Methods

getText

returns string

Gets the text value of the component.

setText

text: string

Change the text value of a component.

click


Acts as if the user clicks on the component. It's suitable on button components.

setFocus


Move the focus to the component.


Revision #4
Created 25 May 2021 11:13:28 by pgarcia@soffid.com
Updated 30 June 2022 13:06:33 by pgarcia@soffid.com