Last updated

API / geotoolkit / welllog / multiwell / TrackBehavior / TrackBehavior

Class: TrackBehavior

multiwell.TrackBehavior.TrackBehavior

Default behavior forLogTrack

Hierarchy

Implements

Table of contents

Constructors
Methods
Css Properties
Name Type Description
fillstylestringFill style
fillstyleFillStyleFill style
fillstyle-colorstringColor in CSS form
fillstyle-evenoddmodebooleanEven-odd fill mode
fillstyle-fillpatternPatternPattern
fillstyle-fillpattern-containernamestringAn optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself
fillstyle-fillpattern-patternnamestringName of this pattern for indexing
fillstyle-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
fillstyle-foregroundstringForeground color
fillstyle-patternPatternPattern
linestylestringLine style
linestyleLineStyleLine style
linestyle-colorstringColor in CSS form
linestyle-fillstringOptional fill style to be used to fill lines generated with this style
linestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
linestyle-linecapCapStyleThe line cap style
linestyle-linedashoffsetnumberLine dash offset of dashed line
linestyle-linejoinJoinStyleThe line join style
linestyle-pixelsnapmodebooleanPixel Snap Mode, default(
linestyle-scalablebooleanTrue if width should depend on transformation
linestyle-unitstringOptional unit for the width
linestyle-widthnumber | stringThe line thickness

Contents

Constructors

new TrackBehavior(options)

new TrackBehavior(options?)

Parameters

Name Type Description
Optional optionsOptionsan object containing the properties of the highlighted well
Methods

clone

clone(): IWellBehavior

Creates a clone of behavior

Returns

IWellBehavior

Implementation of

IWellBehavior.clone


getProperties

getProperties(): OptionsOut

Gets all the properties pertaining to this object

Returns

OptionsOut

An object containing the properties to get

Implementation of

IWellBehavior.getProperties


highlight

highlight(widget, track, highlight): void

Highlight well or track

Parameters

Name Type Description
widgetMultiWellWidgetwidget
trackITracktrack to highlight
highlightbooleanhighlight

Returns

void

Implementation of

IWellBehavior.highlight


isMovable

isMovable(widget, track): boolean

Return true if track is movable

Parameters

Name Type Description
widgetMultiWellWidgetwidget
trackITracktrack to move

Returns

boolean

true if track is movable

Implementation of

IWellBehavior.isMovable


isSelectable

isSelectable(widget, track): boolean

Return true if track is selectable

Parameters

Name Type Description
widgetMultiWellWidgetwidget
trackITracktrack to select

Returns

boolean

true if track is selectable

Implementation of

IWellBehavior.isSelectable


resize

resize(widget, track, size): boolean

Resize the track width

Parameters

Name Type Description
widgetMultiWellWidget
trackITracktrack to remove
sizenumbera new size

Returns

boolean

true if update is required.

Implementation of

IWellBehavior.resize


setProperties

setProperties(properties?): TrackBehavior

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesOptionsan object containing the properties to set

Returns

TrackBehavior

this

Implementation of

IWellBehavior.setProperties