ui.Window methods

Methods of the ui.Window class.

Table 1. Class methods
Name Description
ui.Window.forName(
   name STRING )
  RETURNING result ui.Window
Get a window object by name.
ui.Window.getCurrent()
  RETURNING result ui.Window
Get the current window object.
Table 2. Object methods
Name Description
createForm(
   name STRING )
  RETURNING result ui.Form
Create a new empty form in a window.
findNode(
   type STRING,
   name STRING )
  RETURNING result om.DomNode
Search for a specific element in the window.
getForm()
  RETURNING result ui.Form
Get the current form of a window.
getNode()
  RETURNING result om.DomNode
Get the DOM node of a window.
getImage()
  RETURNING result STRING
Get the window icon.
getText()
  RETURNING result STRING
Get the window title.
setImage(
   image STRING )
Set the window icon.
setText(
   text STRING )
Set the window title.