ui.Window methods

Methods of the ui.Window class.

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