Interface IDisplayBufferMarker

Hierarchy

Index

Properties

Methods

Properties

public bufferMarker: IMarker

public bufferMarkerSubscription: any

public constructor: IDisplayBufferMarkerStatic

public displayBuffer: IDisplayBuffer

public globalPauseCount: number

public globalQueuedEvents: any

public id: number

public oldHeadBufferPosition: IPoint

public oldHeadScreenPosition: IPoint

public oldTailBufferPosition: IPoint

public oldTailScreenPosition: IPoint

public subscriptions: ISubscription[]

public subscriptionsByObject: any

public wasValid: boolean

Methods

public addSubscription(subscription: any): ISubscription

Parameters

  • subscription: any

Returns

ISubscription

public behavior(eventName: string, initialValue: any)

Parameters

  • eventName: string
  • initialValue: any

public clearTail(): boolean

Returns

boolean

public compare(other: IDisplayBufferMarker): boolean

Parameters

Returns

boolean

public copy(attributes?: any): IDisplayBufferMarker

Parameters

  • attributes?: any optional

Returns

IDisplayBufferMarker

public decrementSubscriptionCount(eventName: string): number

Parameters

  • eventName: string

Returns

number

public destroy(): any

Returns

any

public destroyed(): any

Returns

any

public emit(eventName: string, args?: Array<any>)

Parameters

  • eventName: string
  • args?: Array<any> optional

public getAttributes(): any

Returns

any

public getBufferRange(): IRange

Returns

IRange

public getHeadBufferPosition(): IPoint

Returns

IPoint

public getHeadScreenPosition(): IPoint

Returns

IPoint

public getPixelRange(): any

Returns

any

public getScreenRange(): IRange

Returns

IRange

public getSubscriptionCount(eventName: string): number

Parameters

  • eventName: string

Returns

number

public getTailBufferPosition(): IPoint

Returns

IPoint

public getTailScreenPosition(): IPoint

Returns

IPoint

public hasSubscriptions(eventName: string): boolean

Parameters

  • eventName: string

Returns

boolean

public hasTail(): boolean

Returns

boolean

public incrementSubscriptionCount(eventName: string): number

Parameters

  • eventName: string

Returns

number

public inspect(): string

Returns

string

public isDestroyed(): boolean

Returns

boolean

public isEqual(other: IDisplayBufferMarker): boolean

Parameters

Returns

boolean

public isReversed(): boolean

Returns

boolean

public isValid(): boolean

Returns

boolean

public matchesAttributes(attributes: any): any

Parameters

  • attributes: any

Returns

any

public notifyObservers(_arg: any): any

Parameters

  • _arg: any

Returns

any

public off(eventNames: string, handler: Function)

Parameters

  • eventNames: string
  • handler: Function

public on(eventNames: string, handler: Function): any

Parameters

  • eventNames: string
  • handler: Function

Returns

any

public once(eventName: string, handler: Function): any

Parameters

  • eventName: string
  • handler: Function

Returns

any

public pauseEvents(eventNames: string)

Parameters

  • eventNames: string

public plantTail(): boolean

Returns

boolean

public resumeEvents(eventNames: string)

Parameters

  • eventNames: string

public setAttributes(attributes: any): any

Parameters

  • attributes: any

Returns

any

public setBufferRange(bufferRange: any, options: any): any

Parameters

  • bufferRange: any
  • options: any

Returns

any

public setHeadBufferPosition(bufferPosition: any): any

Parameters

  • bufferPosition: any

Returns

any

public setHeadScreenPosition(screenPosition: any, options: any): any

Parameters

  • screenPosition: any
  • options: any

Returns

any

public setScreenRange(screenRange: any, options: any): any

Parameters

  • screenRange: any
  • options: any

Returns

any

public setTailBufferPosition(bufferPosition: any): any

Parameters

  • bufferPosition: any

Returns

any

public setTailScreenPosition(screenPosition: any, options: any): any

Parameters

  • screenPosition: any
  • options: any

Returns

any

public signal(eventName: string)

Parameters

  • eventName: string

public subscribe(eventEmitterOrSubscription: any, args?: Array<any>): ISubscription

Parameters

  • eventEmitterOrSubscription: any
  • args?: Array<any> optional

Returns

ISubscription

public subscribeToCommand(eventEmitter: any, args?: Array<any>): ISubscription

Parameters

  • eventEmitter: any
  • args?: Array<any> optional

Returns

ISubscription

public subscribeWith(eventEmitter: any, methodName: string, args: any): ISubscription

Parameters

  • eventEmitter: any
  • methodName: string
  • args: any

Returns

ISubscription

public unsubscribe(object?: any): any

Parameters

  • object?: any optional

Returns

any