OutputStreamWindowclassoutput.t[1793]

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[1859]

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[1800]

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[1835]
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[1851]
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[1824]
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 25/04/2024 from adv3Lite version 2.0