DebuggerUI Class
Signature
export declare class DebuggerUI
Constructors
| Constructor | Description |
|---|---|
| (constructor)(controller, debuggerWindow) | Constructs a new instance of the DebuggerUI class |
Static Methods
| Method | Return Type | Description |
|---|---|---|
| create(controller) | DebuggerUI | null |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| buttonOps | optional |
HTMLButtonElement | |
| documentClosed | boolean | ||
| lastOpText | optional |
HTMLDivElement | |
| selector | optional |
HTMLSelectElement | |
| text1 | optional |
HTMLDivElement | |
| text2 | optional |
HTMLDivElement | |
| text3 | optional |
HTMLDivElement | |
| versions | IVersion[] | ||
| versionText | HTMLDivElement | ||
| wasVersionSelected | boolean |
Methods
| Method | Return Type | Description |
|---|---|---|
| addVersions(versions) | void | |
| disableNextOpButton(disable) | void | |
| updateLastOpText(lastKnownOp, stillLoading) | void | |
| updateNextOpText(ops) | void | |
| updateVersion(index, version, seqNumber) | void | |
| updateVersionText(versionCount) | void | |
| versionSelected(seqNumber, version) | void |
Constructor Details
(constructor)
Constructs a new instance of the DebuggerUI class
Signature
protected constructor(controller: IDebuggerController, debuggerWindow: Window);
Parameters
| Parameter | Type | Description |
|---|---|---|
| controller | IDebuggerController | |
| debuggerWindow | Window |
Property Details
buttonOps
Signature
protected buttonOps?: HTMLButtonElement;
Type: HTMLButtonElement
documentClosed
Signature
protected documentClosed: boolean;
Type: boolean
lastOpText
Signature
protected lastOpText?: HTMLDivElement;
Type: HTMLDivElement
selector
Signature
protected selector?: HTMLSelectElement;
Type: HTMLSelectElement
text1
Signature
protected text1?: HTMLDivElement;
Type: HTMLDivElement
text2
Signature
protected text2?: HTMLDivElement;
Type: HTMLDivElement
text3
Signature
protected text3?: HTMLDivElement;
Type: HTMLDivElement
versions
Signature
protected versions: IVersion[];
Type: IVersion[]
versionText
Signature
protected versionText: HTMLDivElement;
Type: HTMLDivElement
wasVersionSelected
Signature
protected wasVersionSelected: boolean;
Type: boolean
Method Details
addVersions
Signature
addVersions(versions: IVersion[]): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| versions | IVersion[] |
create
Signature
static create(controller: IDebuggerController): DebuggerUI | null;
Parameters
| Parameter | Type | Description |
|---|---|---|
| controller | IDebuggerController |
Returns
Return type: DebuggerUI | null
disableNextOpButton
Signature
disableNextOpButton(disable: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| disable | boolean |
updateLastOpText
Signature
updateLastOpText(lastKnownOp: number, stillLoading: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| lastKnownOp | number | |
| stillLoading | boolean |
updateNextOpText
Signature
updateNextOpText(ops: ISequencedDocumentMessage[]): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ops | ISequencedDocumentMessage[] |
updateVersion
Signature
updateVersion(index: number, version: IVersion, seqNumber: number): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| index | number | |
| version | IVersion | |
| seqNumber | number |
updateVersionText
Signature
updateVersionText(versionCount: number): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| versionCount | number |
versionSelected
Signature
versionSelected(seqNumber: number, version: IVersion | string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| seqNumber | number | |
| version | IVersion | string |