Options
All
  • Public
  • Public/Protected
  • All
Menu

The default implementation of the IOutputAreaModel. The namespace for OutputAreaModel class statics.

Hierarchy

  • OutputAreaModel

Implements

Index

Constructors

constructor

Properties

Private _changeGuard

_changeGuard: boolean = false

Private _changed

_changed: Signal<this, IChangedArgs<IOutputModel>> = new Signal<this, IOutputAreaModel.ChangedArgs>(this)

Private _isDisposed

_isDisposed: boolean = false

Private _lastName

_lastName: "stdout" | "stderr"

Private _lastStream

_lastStream: string

Private _modelDB

_modelDB: IModelDB = null

Private _serialized

_serialized: IObservableValue = null

Private _stateChanged

_stateChanged: Signal<IOutputAreaModel, void> = new Signal<IOutputAreaModel, void>(this)

Private _trusted

_trusted: boolean = false

Protected clearNext

clearNext: boolean = false

contentFactory

contentFactory: IContentFactory

The output content factory used by the model.

Protected list

Static defaultContentFactory

defaultContentFactory: ContentFactory = new ContentFactory()

The default output model factory.

Accessors

changed

isDisposed

  • get isDisposed(): boolean

length

  • get length(): number

stateChanged

trusted

  • get trusted(): boolean
  • set trusted(value: boolean): void
  • Get whether the model is trusted.

    Notes

    Changing the value will cause all of the models to re-set.

    Returns boolean

  • Set whether the model is trusted.

    Notes

    Changing the value will cause all of the models to re-set.

    Parameters

    • value: boolean

    Returns void

Methods

Private _add

Private _createItem

Private _normalize

Private _onGenericChange

  • _onGenericChange(): void

Private _onListChanged

Private _onSerializedChanged

add

  • Add an output, which may be combined with previous output.

    Notes

    The output bundle is copied. Contiguous stream outputs of the same name are combined.

    Parameters

    Returns number

clear

  • clear(wait?: boolean): void
  • Clear all of the output.

    Parameters

    • Default value wait: boolean = false

      Delay clearing the output until the next message is added.

    Returns void

dispose

  • dispose(): void

fromJSON

  • fromJSON(values: IOutput[]): void

get

set

  • set(index: number, value: IOutput): void

toJSON

Generated using TypeDoc