Skip to main content

Class: ConsolePane

editor/panes/consolePane.ConsolePane

Hierarchy

Constructors

constructor

โ€ข new ConsolePane(pos?, width?, height?)

Creates a ConsolePane.

Parameters

NameTypeDescription
pos?vec2The top left corner of the pane in the editor grid
width?numberThe width of the pane in columns
height?numberThe height of the pane in rows

Overrides

EditorPane.constructor

Defined in

src/editor/panes/consolePane.ts:25

Properties

domId

โ€ข Readonly domId: string

Inherited from

EditorPane.domId

Defined in

src/editor/panes/pane.ts:13


element

โ€ข Readonly element: HTMLDivElement

Inherited from

EditorPane.element

Defined in

src/ui/element.ts:9


height

โ€ข height: number

Inherited from

EditorPane.height

Defined in

src/editor/panes/pane.ts:17


id

โ€ข Readonly id: string

Inherited from

EditorPane.id

Defined in

src/editor/panes/pane.ts:12


keys

โ€ข Readonly keys: KeyboardHandler

Inherited from

EditorPane.keys

Defined in

src/ui/element.ts:11


messages

โ€ข Private messages: BlazeList<BlazeElement<HTMLElement>>

Defined in

src/editor/panes/consolePane.ts:16


mouse

โ€ข Readonly mouse: MouseHandler

Inherited from

EditorPane.mouse

Defined in

src/ui/element.ts:10


pos

โ€ข pos: vec2

Inherited from

EditorPane.pos

Defined in

src/editor/panes/pane.ts:15


titlebar

โ€ข Protected titlebar: BlazeTitleBar

Inherited from

EditorPane.titlebar

Defined in

src/editor/panes/pane.ts:10


touch

โ€ข Readonly touch: TouchHandler

Inherited from

EditorPane.touch

Defined in

src/ui/element.ts:12


width

โ€ข width: number

Inherited from

EditorPane.width

Defined in

src/editor/panes/pane.ts:16

Methods

addMessage

โ–ธ Private addMessage(type, str): void

Parameters

NameType
typeLogType
strstring

Returns

void

Defined in

src/editor/panes/consolePane.ts:42


addTitlebar

โ–ธ addTitlebar(): void

Create and append a BlazeTitleBar to the pane.

Returns

void

Inherited from

EditorPane.addTitlebar

Defined in

src/editor/panes/pane.ts:60


removeTitlebar

โ–ธ removeTitlebar(): void

Remove the pane's titlebar if it exists.

Returns

void

Inherited from

EditorPane.removeTitlebar

Defined in

src/editor/panes/pane.ts:70


update

โ–ธ update(): void

Update console.

Returns

void

Overrides

EditorPane.update

Defined in

src/editor/panes/consolePane.ts:40