Winter Cardinal UI - v0.457.0 / DCommandBase

Class: DCommandBase

Hierarchy

Implements

Table of contents

Constructors

Methods

Constructors

constructor

• new DCommandBase(): DCommandBase

Returns

DCommandBase

Methods

destroy

▸ destroy(): void

Returns

void

Implementation of

DCommand.destroy

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:41


execute

▸ execute(): boolean

Called to executed this command.

Returns

boolean

true if executed successfully

Implementation of

DCommand.execute

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:21


isClean

▸ isClean(): boolean

Returns

boolean

Implementation of

DCommand.isClean

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:17


isClear

▸ isClear(): boolean

Returns

boolean

Implementation of

DCommand.isClear

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:13


isMerged

▸ isMerged(): boolean

Returns

boolean

Implementation of

DCommand.isMerged

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:29


isStorable

▸ isStorable(): boolean

Returns

boolean

Implementation of

DCommand.isStorable

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:9


merge

▸ merge(target): boolean

Called to merge the target command and this command. Returns true if merged successfully.

Parameters

Name Type Description
target DCommand a command to be merged

Returns

boolean

true if merged successfully

Implementation of

DCommand.merge

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:25


redo

▸ redo(): boolean

Returns

boolean

Implementation of

DCommand.redo

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:33


undo

▸ undo(): boolean

Returns

boolean

Implementation of

DCommand.undo

Defined in

src/main/typescript/wcardinal/ui/d-command-base.ts:37