OutputStreamWindowclass | output.t[1772]

Output stream window.

This is an abstract base class for UI widgets that have output streams, such as Banner Windows and Web UI windows. This base class essentially handles the interior of the window, and leaves the details of the window's layout in the broader UI to subclasses.

`class OutputStreamWindow : object`

Superclass Tree (in declaration order)

`OutputStreamWindow`
`object`

Subclass Tree

`OutputStreamWindow`
`BannerWindow`
`WebBannerWin`

Global Objects

(none)

Summary of Properties

`outputStream_`

Summary of Methods

`captureOutput createOutputStream createOutputStreamObj setOutputStream`

Properties

`outputStream_` | `output.t[1838]`

My output stream - this is a transient OutputStream instance. Subclasses must create this explicitly by calling createOutputStream() when the underlying UI window is first created.

Methods

`captureOutput (func)` | `output.t[1779]`

Invoke the given callback function, setting the default output stream to the window's output stream for the duration of the call. This allows invoking any code that writes to the current default output stream and displaying the result in the window.

`createOutputStream ( )` | `output.t[1814]`

Create our output stream. We'll create the appropriate output stream subclass and set it up with our default output filters. Subclasses can override this as needed to customize the filters.

`createOutputStreamObj ( )` | `output.t[1830]`

Create the output stream object. Subclasses can override this to create the appropriate stream subclass. Note that the stream should always be created as a transient object.

`setOutputStream ( )` | `output.t[1803]`

Make my output stream the default in the output manager. Returns the previous default output stream; the caller can note the return value and use it later to restore the original output stream via a call to outputManager.setOutputStream(), if desired.

Adv3Lite Library Reference Manual
Generated on 12/12/2022 from adv3Lite version 1.6