Skip to content

API / geotoolkit / flowcharts / commands / ICommand / ICommand

Class: ICommand

commands.ICommand.ICommand

Base interface for commands

Interface

Implemented by

Table of contents

Constructors
  • [new ICommand()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand.md#new icommand())
Methods

Contents

Constructors

new ICommand()

• new ICommand()

Methods

execute

▸ Abstract execute(): boolean

Executes the command

Returns

boolean

true on success, false if not executed


getClassName

▸ getClassName(): string

Returns

string


undo

▸ Abstract undo(): boolean

Rewinds the command

Returns

boolean

true on success, false if couldn't be undone


getClassName

▸ Static getClassName(): string

Returns

string