Last updated

API / geotoolkit / flowcharts / commands / AddVisual / AddVisual

Class: AddVisual

commands.AddVisual.AddVisual

Adds a new visual to the DiagramWidget.

Implements

Table of contents

Constructors
Methods

Contents

Constructors

new AddVisual(options)

new AddVisual(options)

Parameters

Name Type Description
optionsOptionscommand options
Methods

execute

execute(): boolean

Executes the command

Returns

boolean

true on success, false if not executed

Implementation of

ICommand.execute


getClassName

getClassName(): string

Returns

string

Implementation of

ICommand.getClassName


undo

undo(): boolean

Rewinds the command

Returns

boolean

true on success, false if couldn't be undone

Implementation of

ICommand.undo


getClassName

Static getClassName(): string

Returns

string