new SwatObject(dynObject)
Parameters:
Name | Type | Description |
---|---|---|
dynObject |
* | The dynObject |
Members
(readonly) attributes
Returns the object attributes
(readonly) container
- Description:
The swat object top-level parent, usually a window or dialog object
- Source:
The swat object top-level parent, usually a window or dialog object
(readonly) controller :*
- Description:
The object's legacy API controller. Used for JavaScript calls from TypeScript.
- Source:
The object's legacy API controller. Used for JavaScript calls from TypeScript.
Type:
- *
Example
window.akioma.myFunction(eventSource.controller);
(readonly) dynObject :*
- Description:
The object's legacy API dynObject. Used for JavaScript calls from TypeScript.
- Source:
The object's legacy API dynObject. Used for JavaScript calls from TypeScript.
Type:
- *
Example
window.akioma.myFunction(eventSource.dynObject);
(readonly) name :string
The object name
Type:
- string
(readonly) parent :SwatObject
The swat object direct parent
Type:
(readonly) screen
The swat object inner screen (container)
(readonly) topScreen
- Description:
The swat object top screen (container), usually a window or dialog object
- Source:
The swat object top screen (container), usually a window or dialog object
type :string
Used for retriving the object type
Type:
- string
(readonly) window :Window
- Description:
The swat object top-level window object. Note: Desktop windows are windows not frames so the window property of a child object in a desktop window will return the desktop window unlike the container property which will return the main desktop window for the application. Note: If the object is a window then it will returns itself.
- Source:
The swat object top-level window object. Note: Desktop windows are windows not frames so the window property of a child object in a desktop window will return the desktop window unlike the container property which will return the main desktop window for the application. Note: If the object is a window then it will returns itself.
Type:
Methods
getLink(link) → {SwatObject}
Example
myForm.getLink("DISPLAY:SRC")
Parameters:
Name | Type | Description |
---|---|---|
link |
string | The link name separated by ":" and SRC/TRG points e.g. "DATA:TRG" |
Returns:
- Type
- SwatObject
getLinks(link) → {SwatObject}
Example
myDataSource.getLinks("DISPLAY:TRG")
Parameters:
Name | Type | Description |
---|---|---|
link |
string | The link name separated by ":" and SRC/TRG points e.g. "DATA:TRG" |
Returns:
[]
- Type
- SwatObject
getObject(name) → {SwatObject}
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The object name (case-insensitive) |
Returns:
- Type
- SwatObject