# com.bea.ide.ui.output
OutputSvc.I Interface

public static interface OutputSvc.I

Enclosing class
  `OutputSvc`

## Method Summary

`public `PrintStream`` | `getErrStream`() Returns a print stream for error output.
`public `OutputSvc.IOutputWindow`` | `getWindow`() Get current window, used mostly by Actions to find window to act on
`public `OutputSvc.IOutputWindow`` | `getWindow`(`String` title, boolean visible, boolean focus) Find or create an output window
`public `OutputSvc.IOutputWindow`` | `getWindow`(`OutputSvc.OutputWindowDescription` desc, boolean visible, boolean focus) Find or create an output window
`public boolean` | `outputDebugString`(`String` s) Debugging alternative to System.err.println()
`public boolean` | `outputDebugString`(`Throwable` x) Debugging alternative to x.printStackTrace(System.err)
`public void` | `removeWindow`(`String` title) Removes the output window from the layout, permanently.

## Method Detail

### getErrStream() Method

    public PrintStream getErrStream()

Returns a print stream for error output. This print stream sends data to the the debug output window.

#### Returns

a print stream

### getWindow() Method

    public OutputSvc.IOutputWindow getWindow()

Get current window, used mostly by Actions to find window to act on

### getWindow(String, boolean, boolean) Method

    public OutputSvc.IOutputWindow getWindow(String title,
                                             boolean visible,
                                             boolean focus)

Find or create an output window

#### Parameters

title
  title of window to get/create

visible
  move the tab to the top of its panel

focus
  take the UI focus

#### Returns

output window object

### getWindow(OutputSvc.OutputWindowDescription, boolean, boolean) Method

    public OutputSvc.IOutputWindow getWindow(OutputSvc.OutputWindowDescription desc,
                                             boolean visible,
                                             boolean focus)

Find or create an output window

#### Parameters

desc
  description of the window to get

visible
  move the tab to the top of its panel

focus
  take the UI focus

#### Returns

output window object

### outputDebugString(String) Method

    public boolean outputDebugString(String s)

Debugging alternative to System.err.println()

#### Returns

always returns true. this allows usage in assert statements

### outputDebugString(Throwable) Method

    public boolean outputDebugString(Throwable x)

Debugging alternative to x.printStackTrace(System.err)

#### Returns

always returns true. this allows usage in assert statements

### removeWindow(String) Method

    public void removeWindow(String title)

Removes the output window from the layout, permanently.