Last updated

API / geotoolkit / flowcharts / commands / TranslateVisuals / TranslateVisuals

Class: TranslateVisuals

commands.TranslateVisuals.TranslateVisuals

Translates visual using a delta

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new TranslateVisuals(options)

new TranslateVisuals(options)

Parameters

Name Type Description
optionsOptionscommand options

Overrides

TransformVisuals.constructor

Methods

execute

execute(): boolean

Executes the command

Returns

boolean

true on success, false if not executed

Inherited from

TransformVisuals.execute


getClassName

getClassName(): string

Returns

string

Inherited from

TransformVisuals.getClassName


getVisuals

Protected getVisuals(): Component[]

Gets the visual collection

Returns

Component[]

Inherited from

TransformVisuals.getVisuals


setVisuals

Protected setVisuals(value): void

Sets the visual collection

Parameters

Name Type
valueComponent[]

Returns

void

Inherited from

TransformVisuals.setVisuals


undo

undo(): boolean

Rewinds the command

Returns

boolean

true on success, false if couldn't be undone

Inherited from

TransformVisuals.undo


getClassName

Static getClassName(): string

Returns

string

Inherited from

TransformVisuals.getClassName