Last updated

API / geotoolkit / welllog / multiwell / WellTrack / WellTrack

Class: WellTrack

multiwell.WellTrack.WellTrack

The WellTrack class is an implementation of an abstract well track, designed to represent and manage well track data in the context of MultiWellWidget for creating correlation or cross-section displays. It encapsulates WellLogWidget functionality and represents a track container with its own depth limits and depth scale.

See

Hierarchy

Implements

Table of contents

Constructors
Methods
addBaseLayeraddChildaddCssClass
addInvalidateHandleraddOverlayaddTrack
adjustPositionapplyOpacityapplyResponsiveStyle
asNodebeginExportchangeBaseLayerOrder
changeChildOrderchangeOverlayOrderchangeTrackOrder
checkCollisionclearBaseLayersclearCache
clearChildrenclearOverlaysclearTracks
cloneconnectStyleconnectTool
convertDepthToBoundscopyConstructordisconnectStyle
disconnectTooldisposedrawBorder
enableClippingenableEventPropagationenableNavigation
enablePickingChildrenendExportenumerateNodes
executefilterfitToWidth
getAnimationStylegetAutoModelLimitsModegetAutoModelLimitsStrategy
getBaseLayergetBaseLayersgetBaseLayersCount
getBoundsgetCachegetChild
getChildrengetChildrenCountgetClassName
getClipStylegetContentOrientationgetContentsArea
getContentsTransformgetCssgetCssClass
getCssClassesgetCssTransformgetData
getDataBindinggetDepthLimitsgetDepthScale
getDesiredHeightgetDesiredWidthgetDeviceLimits
getDeviceUnitgetExportElementgetFillStyle
getFootergetFooterTitlegetHeader
getHeaderTitlegetIdgetIndexUnit
getInfiniteModegetInvalidateMethodgetLayout
getLayoutStylegetLineStylegetLocalTransform
getManipulatorLayergetMarginsStylegetMarkerLayer
getModelLimitsgetNamegetOpacity
getOpacityBlendModegetOverlaygetOverlayAt
getOverlaysgetOverlaysCountgetPaddingStyle
getParentgetPreferredSizegetProperties
getPropertygetPropertyKeysgetRenderingFilter
getResponsiveStylegetRootgetScaleScrollStrategy
getSceneTransformgetSelectedTracksgetSelectedVisuals
getSelectiongetTaggetTitle
getToolgetToolByNamegetTrack
getTrackAtgetTrackIndexgetTrackOptions
getTracksgetTracksCountgetTracksSize
getVisiblegetVisibleDepthLimitsgetVisibleDeviceLimits
getVisibleModelLimitsgetWidthgetWorldTransform
getZIndexgetZoneLayerhasCssClass
hasEventListenerhighlightVisualindexOfBaseLayer
indexOfChildindexOfOverlayindexOfTrack
insertBaseLayerinsertChildinsertOverlay
insertTrackinvalidateinvalidateLayout
invalidateParentisClippingEnabledisDisposed
isEventPropagationEnabledisHorizontalFlipisLayoutInvalidated
isNavigationEnabledisNotificationEnabledisPickingChildrenEnabled
isSelectableisSilentisVerticalFlip
loadTemplatemoveTonotify
notifyRootoffon
onBoundsChangedonChildAddedonChildRemoved
onParentChangedonVisibilityChangedonVisibleDepthLimitsChanged
postRenderingpreRenderingrebuild
registerAnimationStyleremoveBaseLayerremoveChild
removeCssClassremoveInvalidateHandlerremoveOverlay
removeSelectionremoveTrackrender
renderAsyncrenderBackgroundrenderBaseLayers
renderBaseLayersAsyncrenderChildrenrenderChildrenAsync
renderContentrenderContentAsyncrenderOverlays
renderOverlaysAsyncresumeUpdaterotate
saveTemplatescalesetAnimationStyle
setAutoModelLimitsModesetAutoModelLimitsStrategysetBounds
setCachesetChildsetClipStyle
setContentOrientationsetCsssetCssClass
setCssTransformsetDatasetDataBinding
setDepthLimitssetDepthScalesetDesiredHeight
setDesiredWidthsetDeviceUnitsetFillStyle
setHorizontalFlipsetIdsetIndexUnit
setInfiniteModesetLayoutsetLayoutInvalidated
setLayoutStylesetLineStylesetLocalTransform
setMarginsStylesetModelLimitssetName
setNotificationsetOpacitysetPaddingStyle
setPropertiessetPropertysetRenderingFilter
setResponsiveStylesetScaleScrollStrategysetSelectable
setSilentsetTagsetTitle
setTrackOptionssetTrackWidthsetVerticalFlip
setVisiblesetVisibleDepthLimitssetVisibleModelLimits
setZIndexshearsuspendUpdate
toStringtranslateunregisterAnimationStyle
updateAdornmentsupdateLayoutupdateSceneTransformation
updateStateupdateSuspendedupdateTimeStamp
enableSceneGraphNotificationfindParentgetClassName
isSceneGraphNotificationEnabled
Css Properties
Name Type Description
automodellimitsmodebooleanAuto model limits mode
borderOptionsBorder
border-cssclassstringThe css class name of this node
border-idstring | numberId of the node, its a unique identifier
border-namestringName of the node. It is often used for debugging purposes or to simplify queries
border-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
border-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
border-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
border-z-indexnumberDefine node z-index
borderOptionsBorder
border-clipstyleClipStyleClipping style
border-clipstyle-evenoddbooleanTrue if evenodd mode is on ('nonzero' mode otherwise)
border-clipstyle-geometryGraphicsPathClipping geometry
border-clipstyle-geometry-boundsRectBounds
border-clipstyle-geometry-bounds-heightnumberHeight
border-clipstyle-geometry-bounds-readonlybooleanReadonly
border-clipstyle-geometry-bounds-widthnumberWidth
border-clipstyle-geometry-bounds-xnumberLeft
border-clipstyle-geometry-bounds-ynumberTop
border-clipstyleGraphicsPathClipping style
border-csscursorstringCSS cursor associated with node
border-cssstylestringCSS style to be applied to inserted elements
border-localtransformTransformationLocal transformation
border-localtransform-dxnumberX axis translation
border-localtransform-dynumberY axis translation
border-localtransform-xxnumberX scale
border-localtransform-xynumberXy skew
border-localtransform-yxnumberYx skew
border-localtransform-yynumberY scale
border-marginsnumber | stringIt has properties for specifying the margins for each side
border-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
border-opacityblendmodeBlendModeNode opacity mode to blend it
border-scalescrollstrategyScaleScrollStrategyScale scroll strategy
border-scalescrollstrategy-enabledbooleanEnable flag
border-transformstringAdditional CSS transformation applied to node or 'none'
border-transformTransformationAdditional CSS transformation applied to node or 'none'
borderOptionsBorder
border-fillstylestringStyle applied on fill
border-fillstyleFillStyleStyle applied on fill
border-fillstyle-colorstringColor in CSS form
border-fillstyle-evenoddmodebooleanEven-odd fill mode
border-fillstyle-fillpatternPatternPattern
border-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
border-fillstyle-fillpattern-patternnamestringName of this pattern for indexing
border-fillstyle-fillpattern-scalablebooleanFlag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported)
border-fillstyle-foregroundstringForeground color
border-fillstyle-patternPatternPattern
border-linestylestringStyle applied on outline
border-linestyleLineStyleStyle applied on outline
border-linestyle-colorstringColor in CSS form
border-linestyle-fillstringOptional fill style to be used to fill lines generated with this style
border-linestyle-fillFillStyleOptional fill style to be used to fill lines generated with this style
border-linestyle-linecapCapStyleThe line cap style
border-linestyle-linedashoffsetnumberLine dash offset of dashed line
border-linestyle-linejoinJoinStyleThe line join style
border-linestyle-pixelsnapmodebooleanPixel Snap Mode, default(
border-linestyle-scalablebooleanTrue if width should depend on transformation
border-linestyle-unitstringOptional unit for the width
border-linestyle-widthnumber | stringThe line thickness
borderOptionsBorder
border-bordersVisibleStyle applied on borders, by default is
border-borders-bottombooleanVisibility of bottom part
border-borders-leftbooleanVisibility of left part
border-borders-rightbooleanVisibility of right part
border-borders-topbooleanVisibility of top part
border-borderstyleBorderStyleStyle applied on borders
border-linestylesStylesObject with line styles
border-linestyles-bottomstringBottom border style
border-linestyles-bottomLineStyleBottom border style
border-linestyles-leftstringLeft border style
border-linestyles-leftLineStyleLeft border style
border-linestyles-rightstringRight border style
border-linestyles-rightLineStyleRight border style
border-linestyles-topstringTop border style
border-linestyles-topLineStyleTop border style
borderstrategyBorderStrategyBorder rendering strategy
boundsRectDefine position of the group in the parent
clippingbooleanEnable clipping, this does not consider the clipstyle, it is related to bounds-clipping
clipstyleClipStyleClipping style
clipstyleGraphicsPathClipping style
contentorientationOrientationContent orientation
cssclassstringThe css class name of this node
csscursorstringCSS cursor associated with node
cssstylestringCSS style to be applied to inserted elements
fillstylestringFill style
fillstyleFillStyleFill style
horizontalflipbooleanHorizontal axis goes from right to left
idstring | numberId of the node, its a unique identifier
idstring | numberWell id
infinitybooleanMode to render outside the model limits
layoutstyleLayoutStyleLayout style to be used for parent layout
layoutstyle-constraintSizeConstraintLayout constrains
layoutstyle-flexgrownumberNumber specifying how much the item will grow relative to the rest of the items inside the same container
layoutstyle-flexshrinknumberNumber specifying how much the item will shrink relative to the rest of the items inside the same container
layoutstyle-floatstringFloat position
layoutstyle-positionstringLayout position
layoutstyle-sizenumber | stringLayout size
linestylestringLine style
linestyleLineStyleLine style
localtransformTransformationLocal transformation
marginsnumber | stringIt has properties for specifying the margins for each side
modellimitsRectDefine inner model coordinates of the group
namestringName of the node. It is often used for debugging purposes or to simplify queries
opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
opacityblendmodeBlendModeNode opacity mode to blend it
paddingnumber | stringIt has properties for specifying the padding for each side
pickingchildrenbooleanEnable picking children
rangeRangePosition in container
range-highnumberUpper range boundary
range-lownumberLower range boundary
range-maxnumber
range-minnumber
scalescrollstrategyScaleScrollStrategyScale scroll strategy
selectablebooleanSelectable node, a boolean to determine if selection should consider this node
taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
titlestringWell track title
transformstringAdditional CSS transformation applied to node or 'none'
transformTransformationAdditional CSS transformation applied to node or 'none'
verticalflipbooleanVertical axis goes from bottom to top
viewcachebooleanView cache to cache child nodes
visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
welllogOptionsBaseOptions for well log
welllog-indentnumberIndent between tracks
welllog-verticalscrollableboolean
welllogOptionsOptions for well log
welllog-borderBorderOptionsDefines properties for widget outer border
welllog-border-bordersVisibleBorders visibility option
welllog-border-colorstringColor of border
welllog-border-linestylestringBorder line style
welllog-border-linestyleLineStyleBorder line style
welllog-border-visiblebooleanVisibility of the border
welllog-depthlimitsoptionsDepthLimitsOptionsDepth limits options
welllog-depthlimitsoptions-neatlimitsbooleanAuto neat depth limits
welllog-depthlimitsoptions-typeDepthLimitsTypesDepth limits type
welllog-deviceunitstringPrimary device unit
welllog-directionTrackRenderDirectionSet track render direction
welllog-gridlinestylestringGrid line style
welllog-gridlinestyleLineStyleGrid line style
welllog-horizontalscrollablebooleanDefines if plot displays horizontal scrollbars
welllog-indextypeIndexTypePrimary index types
welllog-indexunitstringPrimary index unit
welllog-markerMarkerOptionsMarker options
welllog-marker-datetimeformatOptionsDate time format in case if track container scale unit belongs to 'time'
welllog-marker-datetimeformat-formatstringDate time format
welllog-marker-datetimeformat-timezoneTimeZoneTime zone
welllog-marker-enabledinterpolatedvaluesbooleanDisplay symbol for interpolated values
welllog-marker-fillstylestringMarker shape fill style
welllog-marker-fillstyleFillStyleMarker shape fill style
welllog-marker-indexvisiblebooleanVisibility of the marker index value label
welllog-marker-labelvisiblebooleanVisibility of the marker shape label
welllog-marker-linestylestringMarker shape line style
welllog-marker-linestyleLineStyleMarker shape line style
welllog-marker-symbolSymbolShapeSymbol to use as depth index marker
welllog-marker-symbol-alignmentAnchorTypeAlignment according to the anchor point
welllog-marker-symbol-alignmentAnchorTypeAnchor type of symbol
welllog-marker-symbol-axnumberAnchor x position
welllog-marker-symbol-aynumberAnchor y position
welllog-marker-symbol-cachebooleanSet it to true if you want to cache complex geometry to raster
welllog-marker-symbol-clipstyleClipStyleClipping style
welllog-marker-symbol-clipstyleGraphicsPathClipping style
welllog-marker-symbol-cssclassstringThe css class name of this node
welllog-marker-symbol-csscursorstringCSS cursor associated with node
welllog-marker-symbol-cssstylestringCSS style to be applied to inserted elements
welllog-marker-symbol-fillstylestringStyle applied on fill
welllog-marker-symbol-fillstyleFillStyleStyle applied on fill
welllog-marker-symbol-heightnumberShape height
welllog-marker-symbol-idstring | numberId of the node, its a unique identifier
welllog-marker-symbol-ispointingupbooleanDefines whether the shape is always pointing up
welllog-marker-symbol-layoutstyleLayoutStyleLayout style to specify how to lay out shape
welllog-marker-symbol-linestylestringStyle applied on outline
welllog-marker-symbol-linestyleLineStyleStyle applied on outline
welllog-marker-symbol-localtransformTransformationLocal transformation
welllog-marker-symbol-marginsnumber | stringIt has properties for specifying the margins for each side
welllog-marker-symbol-maxdimensionDimensionMaximum size for rendering
welllog-marker-symbol-maxdimension-heightnumberHeight of dimension
welllog-marker-symbol-maxdimension-widthnumberWidth of dimension or properties
welllog-marker-symbol-mindimensionDimensionMinimum size for rendering
welllog-marker-symbol-namestringName of the node. It is often used for debugging purposes or to simplify queries
welllog-marker-symbol-opacitynumberNode opacity (from 0 to 1). If it is undefined or null it inherits property from the parent. It changes globalAlpha on the rendering context
welllog-marker-symbol-opacityblendmodeBlendModeNode opacity mode to blend it
welllog-marker-symbol-painterstringA function with has parameters: symbol, box, context
welllog-marker-symbol-painterpropertiesanySymbol's painter's properties
welllog-marker-symbol-preserveaspectratiobooleanPreserve aspect ratio of the anchored shape
welllog-marker-symbol-preservereadingorientationbooleanPreserve reading orientation for local transform
welllog-marker-symbol-preserverightanglebooleanPreserve right angle for local transformation
welllog-marker-symbol-rotationanglenumberRotation angle at anchor
welllog-marker-symbol-scalescrollstrategyScaleScrollStrategyScale scroll strategy
welllog-marker-symbol-selectablebooleanSelectable node, a boolean to determine if selection should consider this node
welllog-marker-symbol-sizeisindevicespacebooleanIs coordinate in device space
welllog-marker-symbol-taganyCustom information associated with node. It is a user object which can be used by client code to store information or attach an application object to the shape
welllog-marker-symbol-transformstringAdditional CSS transformation applied to node or 'none'
welllog-marker-symbol-transformTransformationAdditional CSS transformation applied to node or 'none'
welllog-marker-symbol-useminmaxdimensionsbooleanUse the min max dimensions to limit visual size
welllog-marker-symbol-visiblebooleanVisibility of the node, a boolean to determine if the node should be rendered or not
welllog-marker-symbol-widthnumberShape width
welllog-marker-symbol-z-indexnumberDefine node z-index
welllog-orientationOrientationSet orientation of the well log widget
welllog-rangeRangeMin and max depth range
welllog-timezoneTimeZoneTime zone for time axis
welllog-timezoneoffsetnumberTime zone offset for date time axis
welllog-verticalscrollablebooleanDefines if plot displays vertical scrollbars
welllog-viewcachebooleanDefine view cache for tracks
widthnumberWell width
z-indexnumberDefine node z-index

Contents

Constructors

new WellTrack(options)

new WellTrack(options?)

Creates well track

Parameters

Name Type Description
Optional optionsOptionsadditional options

Overrides

AbstractWellTrack.constructor

Methods

addBaseLayer

addBaseLayer(baseLayer): WellTrack

Add baseLayer to container

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer to be added

Returns

WellTrack

this

Inherited from

AbstractWellTrack.addBaseLayer


addChild

addChild(node): WellTrack

Add a child node

Parameters

Name Type Description
nodeNode | Iterator<Node> | Node[]the child node to be added

Returns

WellTrack

this

Inherited from

AbstractWellTrack.addChild


addCssClass

addCssClass(cssclass): WellTrack

Adds new css class to node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

WellTrack

this

Inherited from

AbstractWellTrack.addCssClass


addInvalidateHandler

addInvalidateHandler(handler): WellTrack

Add invalidate handler

Deprecated

since 4.0, use Node.on instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.addInvalidateHandler


addOverlay

addOverlay(overlay): WellTrack

Add overlay to container

Parameters

Name Type Description
overlayNode | Node[]overlay to be added

Returns

WellTrack

this

Inherited from

AbstractWellTrack.addOverlay


addTrack

addTrack(track): LogTrack

Add a track

Parameters

Name Type Description
trackInsertTracktrack to add or options to specify adding track

Returns

LogTrack

Implementation of

IWellTrack.addTrack


adjustPosition

adjustPosition(area?, vAlign?, hAlign?): WellTrack

Adjust position of node to specified area

Parameters

Name Type Description
Optional areaRectspecified area. Default to Parent Model Limits
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center". Defaults to "top".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center". Defaults to "left".

Returns

WellTrack

this

Inherited from

AbstractWellTrack.adjustPosition


applyOpacity

Protected applyOpacity(context): WellTrack

This method is called to apply opacity if it is specified on the rendering context. The default implementation sets global alpha on the rendering context

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

WellTrack

this

Inherited from

AbstractWellTrack.applyOpacity


applyResponsiveStyle

Protected applyResponsiveStyle(): void

Apply a responsive style rules it is exists

Returns

void

Inherited from

AbstractWellTrack.applyResponsiveStyle


asNode

asNode(): Node

Return track as Node instance

Returns

Node

Implementation of

IWellTrack.asNode

Inherited from

AbstractWellTrack.asNode


beginExport

beginExport(): WellTrack

Prepares object before exporting and saving state

Returns

WellTrack

this

Implementation of

IExportable.beginExport


changeBaseLayerOrder

changeBaseLayerOrder(overlay, order, anchor?): WellTrack

Changes the z-order of the baseLayer.

Parameters

Name Type Description
overlayNode
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.changeBaseLayerOrder


changeChildOrder

changeChildOrder(node, order, anchor?): WellTrack

changes the z-order of the nodes being rendered.

Parameters

Name Type Description
nodeNodeany child added in the Composite node
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.changeChildOrder


changeOverlayOrder

changeOverlayOrder(overlay, order, anchor?): WellTrack

Changes the z-order of the overlay.

Parameters

Name Type Description
overlayNodechild overlay
orderNodeOrderposition to be added
Optional anchorNodeanchor node to specify changeOrder with respect to this node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.changeOverlayOrder


changeTrackOrder

changeTrackOrder(track, order, anchor?): WellTrack

changes the layout order of the trakcs being rendered.

Parameters

Name Type Description
trackLogTrackchild track in the WellTrack
orderNodeOrderposition to be added
Optional anchorLogTrackanchor track to specify changeOrder with respect to this track

Returns

WellTrack

this


checkCollision

checkCollision(context): boolean

Check culling Returns true if object is inside of renderable area

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

true if node is collided

Inherited from

AbstractWellTrack.checkCollision


clearBaseLayers

clearBaseLayers(disposeBaseLayers?): WellTrack

Remove all child baseLayers from group

Parameters

Name Type Description
Optional disposeBaseLayersbooleanautomatically dispose baseLayers. If it is true then method dispose is called for each baseLayer, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.clearBaseLayers


clearCache

clearCache(): WellTrack

Clear cache

Returns

WellTrack

this

Inherited from

AbstractWellTrack.clearCache


clearChildren

clearChildren(disposeChildren?): WellTrack

Remove all child nodes from this composite group

Parameters

Name Type Description
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

WellTrack

this

Inherited from

AbstractWellTrack.clearChildren


clearOverlays

clearOverlays(disposeOverlays?): WellTrack

Remove all child overlays from group

Parameters

Name Type Description
Optional disposeOverlaysbooleanautomatically dispose overlays. If it is true then method dispose is called for each overlay, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.clearOverlays


clearTracks

clearTracks(disposeTracks?): WellTrack

Remove all tracks from this well track

Parameters

Name Type Description
Optional disposeTracksbooleanautomatically dispose tracks. If it is true then method dispose is called for each track.

Returns

WellTrack

this


clone

clone(): WellTrack

All subclasses should override copyConstructor or provide custom implementation for this method

Returns

WellTrack

clone

Overrides

AbstractWellTrack.clone


connectStyle

connectStyle(style, type, callback): WellTrack

Connects style.

This convenience method subscribes a listener to given style for the specified type.
And automatically un-subscribes listener if node is disposed to prevent memory leaks

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

WellTrack

this

Inherited from

AbstractWellTrack.connectStyle


connectTool

connectTool(tool): WellTrack

Connect a new tool with a toolname to the widget

Parameters

Name Type Description
toolAbstractTool | AbstractTool[]tool associated with the widget

Returns

WellTrack

this

Implementation of

IWellTrack.connectTool


convertDepthToBounds

Protected convertDepthToBounds(depth): number

Converts depth to position inside of the bounds

Parameters

Name Type Description
depthnumberdepth

Returns

number

vertical position inside of the bounds

Inherited from

AbstractWellTrack.convertDepthToBounds


copyConstructor

Protected copyConstructor(src, deepCopy?): WellTrack

Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.

Parameters

Name Type Description
srcWellTrackSource to copy from
Optional deepCopybooleandeep copy

Returns

WellTrack

this

Overrides

AbstractWellTrack.copyConstructor


disconnectStyle

disconnectStyle(style, type, callback): WellTrack

Disconnect style
This convenience method un-subscribes a listener to given style for the specified type.

Parameters

Name Type Description
styleEventDispatcherconnect style
typestringtype of event or property
callbackAttributeCallback<EventDispatcher>function to be called

Returns

WellTrack

this

Inherited from

AbstractWellTrack.disconnectStyle


disconnectTool

disconnectTool(tool): WellTrack

Disconnect the tool from the widget

Parameters

Name Type Description
toolAbstractTool | AbstractTool[]tool to disconnect

Returns

WellTrack

this

Implementation of

IWellTrack.disconnectTool


dispose

dispose(): void

Dispose node. Clear all listeners and disconnect style to avoid memory leaks

Returns

void

Inherited from

AbstractWellTrack.dispose


drawBorder

Protected drawBorder(localContext, bounds?): WellTrack

Draws a rectangle at the bounding box (in parent coordinates)

Parameters

Name Type Description
localContextRenderingContextThe local rendering context
Optional boundsRectgroup bounds

Returns

WellTrack

this

Inherited from

AbstractWellTrack.drawBorder


enableClipping

enableClipping(doClip): WellTrack

Enables or disables clipping of this node. If enabled, shapes will not be rendered outside of its bounds.

Parameters

Name Type Description
doClipbooleanenable clipping on this node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.enableClipping


enableEventPropagation

enableEventPropagation(enable): WellTrack

Enable event propagation from the node hierarchy from bottom to top

This option is similar to DOM Event bubbling, which allows to get any event from child node. By default it is disabled for better performance.

Example

import {Group} from '@int/geotoolkit/scene/Group';
import {Events as SceneEvents} from '@int/geotoolkit/scene/Node';
const parentGroup = new Group()
.setName('ParentGroup')
.enableEventPropagation(true);
const childGroup = new Group()
.setName('ChildGroup');

parentGroup.addChild(childGroup);
parentGroup.on(SceneEvents.Invalidate, (eventName, sender, args) => {
// Got notifications from all children of parent group
});
childGroup.invalidate();

Parameters

Name Type Description
enablebooleanenable

Returns

WellTrack

this

Inherited from

AbstractWellTrack.enableEventPropagation


enableNavigation

enableNavigation(enabled): WellTrack

Enable navigation tool after track instantiation. By default it is enabled

Parameters

Name Type Description
enabledbooleanflag to enable/disable navigation

Returns

WellTrack


enablePickingChildren

enablePickingChildren(enable): WellTrack

Enables or disables picking children

Parameters

Name Type Description
enablebooleanenable picking children

Returns

WellTrack

this

Inherited from

AbstractWellTrack.enablePickingChildren


endExport

endExport(): WellTrack

Used to restore object's state after exporting

Returns

WellTrack

this

Implementation of

IExportable.endExport


enumerateNodes

enumerateNodes(callback, target?): void

Executes a provided function once for each child node

Parameters

Name Type Description
callbackCallback<Node>provided function
Optional targetQueryBuilder<any>target to pass to callback as a second parameter

Returns

void

Inherited from

AbstractWellTrack.enumerateNodes


execute

execute(delegate): WellTrack

Executes delegate and return the result. It allows us to keep all initialization calls in one place,
and we do not need to scroll up or down in IDE to find how and where it was initialized.

Example

// All setters (.setName() for example) returns reference to the this.
// In order to modify inner object like LineStyle or Pattern, to get this object (property) we should call getter to get object reference.
// Then modify it as shown below in Option 1 or you can use execute methods shown in Option 2.
import {Group} from '@int/geotoolkit/scene/Group';
import {Rect} from '@int/geotoolkit/util/Rect';
// Option 1
const group = new Group()
.setName('MyGroup')
.setBounds(new Rect(0, 0, 42, 16))
.enableClipping(true)
.setTag({'type': 'sometype'});

group.getLineStyle().setPattern('pattern');
return group;

// Options 2 ( using execute method )
return group
.execute(function () {
this.getLineStyle()
.setPattern("pattern");
});

Parameters

Name Type Description
delegate(this: WellTrack) => voidFunction to execute

Returns

WellTrack

The result if any or this

Inherited from

AbstractWellTrack.execute

execute<T>(delegate): T

Type parameters

Name
T

Parameters

Name Type
delegate(this: WellTrack) => T

Returns

T

Inherited from

AbstractWellTrack.execute


filter

Protected filter(context): boolean

Filter node

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

boolean

flag filter flag ("true" to render node; "false" otherwise)

Inherited from

AbstractWellTrack.filter


fitToWidth

fitToWidth(): WellTrack

Resize tracks to fit width of the well

Returns

WellTrack

Implementation of

IWellTrack.fitToWidth


getAnimationStyle

getAnimationStyle(): AnimationStyle

Return animation style

Returns

AnimationStyle

animationStyle current animation style

Inherited from

AbstractWellTrack.getAnimationStyle


getAutoModelLimitsMode

getAutoModelLimitsMode(): boolean

Get Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds

Returns

boolean

mode

Inherited from

AbstractWellTrack.getAutoModelLimitsMode


getAutoModelLimitsStrategy

getAutoModelLimitsStrategy(): ModelLimitsStrategy

Get Model Limits Logics Strategy

Returns

ModelLimitsStrategy

strategy

Inherited from

AbstractWellTrack.getAutoModelLimitsStrategy


getBaseLayer

getBaseLayer(index): Node

Return baseLayer at specified index

Parameters

Name Type Description
indexnumberindex at which to get the baseLayer for

Returns

Node

track

Inherited from

AbstractWellTrack.getBaseLayer


getBaseLayers

getBaseLayers<S>(predicate, modify?): Iterator<Node>

Return iterator by baseLayers nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

AbstractWellTrack.getBaseLayers

getBaseLayers(filter?, modify?): Iterator<Node>

Returns an iterator for child baseLayers. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

AbstractWellTrack.getBaseLayers


getBaseLayersCount

getBaseLayersCount(): number

Returns amount of baseLayers

Returns

number

Inherited from

AbstractWellTrack.getBaseLayersCount


getBounds

getBounds(): Rect

Get the bounds in the parents model space. If bounds are not set, then parent model limits are used.

Returns

Rect

current bounds

Implementation of

IWellTrack.getBounds

Inherited from

AbstractWellTrack.getBounds


getCache

getCache(): Cache

Return cache strategy to be used to cache children nodes

Returns

Cache

cache

Inherited from

AbstractWellTrack.getCache


getChild

getChild(i): Node

Return node by index

Parameters

Name Type Description
inumberindex of the node

Returns

Node

Inherited from

AbstractWellTrack.getChild


getChildren

getChildren<S>(predicate, modify?): Iterator<S>

Return iterator by child nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<S>

Inherited from

AbstractWellTrack.getChildren

getChildren(filter?, modify?): Iterator<Node>

Returns an iterator for child nodes. The iterator does not support adding or deleting items from children by default. If it is necessary to modify a collection of children, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getChildren(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all nodes if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child nodes.

Inherited from

AbstractWellTrack.getChildren


getChildrenCount

getChildrenCount(): number

Return number of child nodes

Returns

number

Inherited from

AbstractWellTrack.getChildrenCount


getClassName

getClassName(): string

Returns

string

Implementation of

IExportable.getClassName

Inherited from

AbstractWellTrack.getClassName


getClipStyle

getClipStyle(): ClipStyle

Gets the current clipping style

Returns

ClipStyle

clipping style

Inherited from

AbstractWellTrack.getClipStyle


getContentOrientation

getContentOrientation(): Orientation

Return content orientation

Returns

Orientation

content orientation

Inherited from

AbstractWellTrack.getContentOrientation


getContentsArea

getContentsArea(transformation?): Rect

Return area without paddings. Model limits are mapped to content area, where children are layout.

Parameters

Name Type Description
Optional transformationTransformationscene transformation

Returns

Rect

Inherited from

AbstractWellTrack.getContentsArea


getContentsTransform

getContentsTransform(): Transformation

getContentsTransform() retrieves the world transformation of the node.

Returns

Transformation

transformation from model coordinates to bounds of the group

Inherited from

AbstractWellTrack.getContentsTransform


getCss

getCss(): CssStyle

Return CSS style

Returns

CssStyle

Inherited from

AbstractWellTrack.getCss


getCssClass

getCssClass(): string

Returns css class name to be used to apply CSS style

Returns

string

the css class name

Inherited from

AbstractWellTrack.getCssClass


getCssClasses

getCssClasses(): string[]

Gets list of css class names which applied to this node

Returns

string[]

Inherited from

AbstractWellTrack.getCssClasses


getCssTransform

getCssTransform(): string

Returns CSS transformation

Returns

string

Inherited from

AbstractWellTrack.getCssTransform


getData

getData(): AbstractDataTable | DataSource

Gets a data model

Returns

AbstractDataTable | DataSource

Implementation of

IWellTrack.getData

Overrides

AbstractWellTrack.getData


getDataBinding

getDataBinding(): DataBinding | DataBindingRegistry

Return the data binding

Returns

DataBinding | DataBindingRegistry

Implementation of

IWellTrack.getDataBinding

Overrides

AbstractWellTrack.getDataBinding


getDepthLimits

getDepthLimits(): Range

Retrieves the depth range associated with well track. The depth range defines the minimum and maximum depth values represented within the track

Returns

Range

Implementation of

IWellTrack.getDepthLimits

Overrides

AbstractWellTrack.getDepthLimits


getDepthScale

getDepthScale(scaleUnit?, deviceUnit?): number

Return scale to device. How many scale units in one device unit.

Example

//  to get the current depth scale of welllog widget.
const uf = UnitFactory.getInstance();
well.getDepthScale(uf.getUnit("cm"), uf.getUnit("cm"));

Parameters

Name Type Description
Optional scaleUnitstring | AbstractUnitscale unit of the display. if it is not specified then it takes from track container
Optional deviceUnitstring | AbstractUnitdevice unit of the display. if it is not specified then it takes from track container

Returns

number

a index scale to device or NaN if scale if not available

Implementation of

IWellTrack.getDepthScale

Overrides

AbstractWellTrack.getDepthScale


getDesiredHeight

getDesiredHeight(): string | number

Returns desired height of the group as a layoutable object This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired height ("undefined" by default)

Inherited from

AbstractWellTrack.getDesiredHeight


getDesiredWidth

getDesiredWidth(): string | number

Returns desired width of the group as a layoutable object. This method is a helper method to get access to getLayoutStyle()

Returns

string | number

desired width ("undefined" by default)

Inherited from

AbstractWellTrack.getDesiredWidth


getDeviceLimits

getDeviceLimits(): Rect

Return device limits

Returns

Rect

Inherited from

AbstractWellTrack.getDeviceLimits


getDeviceUnit

getDeviceUnit(): AbstractUnit

Gets device unit

Returns

AbstractUnit

unit


getExportElement

getExportElement(): AbstractDocumentElement

Returns exportable element

Returns

AbstractDocumentElement

return exportable element

Implementation of

IExportable.getExportElement


getFillStyle

getFillStyle(): FillStyle

Return fill style

Returns

FillStyle

fillStyle current fill style

Inherited from

AbstractWellTrack.getFillStyle


getFooter

getFooter(): WellTrackHeader

Return Well Footer

Returns

WellTrackHeader


getFooterTitle

getFooterTitle(): LogTrackVisualHeader<WellTrack>

Returns well footer title

Returns

LogTrackVisualHeader<WellTrack>

well footer title


getHeader

getHeader(): WellTrackHeader

Return Well Header

Returns

WellTrackHeader

Implementation of

IWellTrack.getHeader


getHeaderTitle

getHeaderTitle(): LogTrackVisualHeader<WellTrack>

Returns well header title

Returns

LogTrackVisualHeader<WellTrack>

well header title


getId

getId(): string | number

Returns the associated identifier of the node

Returns

string | number

The node's id

Inherited from

AbstractWellTrack.getId


getIndexUnit

getIndexUnit(): AbstractUnit

Gets index unit of the current well

Returns

AbstractUnit

unit


getInfiniteMode

getInfiniteMode(): boolean

Return infinity mode flag

Returns

boolean

flag

Inherited from

AbstractWellTrack.getInfiniteMode


getInvalidateMethod

Protected getInvalidateMethod(): AttributeCallback<EventDispatcher>

Gets invalidate method

Returns

AttributeCallback<EventDispatcher>

method to invalidate this object

Inherited from

AbstractWellTrack.getInvalidateMethod


getLayout

getLayout(): Layout

Returns layout associated with the group

Returns

Layout

layout

Inherited from

AbstractWellTrack.getLayout


getLayoutStyle

getLayoutStyle(): LayoutStyle<string | number>

return desired layout style

Returns

LayoutStyle<string | number>

Implementation of

IWellTrack.getLayoutStyle

Inherited from

AbstractWellTrack.getLayoutStyle


getLineStyle

getLineStyle(): LineStyle

Return border style

Returns

LineStyle

Inherited from

AbstractWellTrack.getLineStyle


getLocalTransform

getLocalTransform(): Transformation

Retrieves the transformation of bounds to parent

Returns

Transformation

transform the local transform.

Inherited from

AbstractWellTrack.getLocalTransform


getManipulatorLayer

getManipulatorLayer(): CompositeNode<Node>

Returns manipulator layer

Returns

CompositeNode<Node>

layer

Implementation of

IWellTrack.getManipulatorLayer

Overrides

AbstractWellTrack.getManipulatorLayer


getMarginsStyle

getMarginsStyle(): SpaceStyle<string | number>

Return margins style

Returns

SpaceStyle<string | number>

Inherited from

AbstractWellTrack.getMarginsStyle


getMarkerLayer

getMarkerLayer(): Layer<Node>

Return a layer to display markers

Returns

Layer<Node>

Implementation of

IWellTrack.getMarkerLayer

Overrides

AbstractWellTrack.getMarkerLayer


getModelLimits

getModelLimits(): Rect

Gets model limits, the limits of this groups inside space

Returns

Rect

the current model limits

Inherited from

AbstractWellTrack.getModelLimits


getName

getName(): string

Returns the node name

Returns

string

The node name

Inherited from

AbstractWellTrack.getName


getOpacity

getOpacity(): number

Returns current node opacity

Returns

number

opacity

Inherited from

AbstractWellTrack.getOpacity


getOpacityBlendMode

getOpacityBlendMode(): BlendMode

Returns current node opacity

Returns

BlendMode

opacity blend mode

Inherited from

AbstractWellTrack.getOpacityBlendMode


getOverlay

getOverlay(index): Node

Return overlay at specified index

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

AbstractWellTrack.getOverlay


getOverlayAt

getOverlayAt(index): Node

Return overlay at specified index

Deprecated

since 4.2 use getOverlay instead

Parameters

Name Type Description
indexnumberindex at which to get the overlay for

Returns

Node

track

Inherited from

AbstractWellTrack.getOverlayAt


getOverlays

getOverlays<S>(predicate, modify?): Iterator<Node>

Return iterator by overlays nodes

Type parameters

NameType
Sextends Node<S>

Parameters

Name Type Description
predicate(value: Node) => value is Sa filter function
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

Inherited from

AbstractWellTrack.getOverlays

getOverlays(filter?, modify?): Iterator<Node>

Returns an iterator for child overlays. The iterator does not support adding or deleting items from overlays by default. If it is necessary to modify a collection of overlays, pass true as the last parameter.

Example

// Gets a writable iterator
const it = node.getOverlays(null, true);

Parameters

Name Type Description
Optional filter(node: Node) => booleanA filter function. Returns all overlays if null.
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<Node>

An iterator for child overlays.

Inherited from

AbstractWellTrack.getOverlays


getOverlaysCount

getOverlaysCount(): number

Returns amount of overlays

Returns

number

Inherited from

AbstractWellTrack.getOverlaysCount


getPaddingStyle

getPaddingStyle(): SpaceStyle<string | number>

Return padding style

Returns

SpaceStyle<string | number>

padding

Inherited from

AbstractWellTrack.getPaddingStyle


getParent

getParent(): Node

Return parent node

Returns

Node

parent node

Inherited from

AbstractWellTrack.getParent


getPreferredSize

getPreferredSize(): Rect

Return preferred size to layout children

Returns

Rect

Inherited from

AbstractWellTrack.getPreferredSize


getProperties

getProperties(): OptionsOut

Gets all the properties pertaining to this object

See

WellLogWidget

Returns

OptionsOut

properties object

Overrides

AbstractWellTrack.getProperties


getProperty

getProperty(name): any

Gets dynamic property by name. These properties can be used as a property bags

Parameters

Name Type Description
namestringproperty name

Returns

any

Inherited from

AbstractWellTrack.getProperty


getPropertyKeys

getPropertyKeys(): string[]

Returns known properties keys

Returns

string[]

Inherited from

AbstractWellTrack.getPropertyKeys


getRenderingFilter

getRenderingFilter(): IFilter

Return filter to be used for rendering and picking

Returns

IFilter

current filter

Inherited from

AbstractWellTrack.getRenderingFilter


getResponsiveStyle

getResponsiveStyle(): ResponsiveStyle

Return responsive style

Returns

ResponsiveStyle

Inherited from

AbstractWellTrack.getResponsiveStyle


getRoot

getRoot(): Node

Returns root node.
If node doesn't have parent then it returns itself.

Returns

Node

the root node

Inherited from

AbstractWellTrack.getRoot


getScaleScrollStrategy

getScaleScrollStrategy(): Delegate

Gets scale scroll strategy

Returns

Delegate

scale scroll strategy

Inherited from

AbstractWellTrack.getScaleScrollStrategy


getSceneTransform

getSceneTransform(): Transformation

Returns transformation from node to root scene

Returns

Transformation

a transformation from node to root scene

Inherited from

AbstractWellTrack.getSceneTransform


getSelectedTracks

getSelectedTracks(): LogTrack[]

Return selected track collection

Returns

LogTrack[]


getSelectedVisuals

getSelectedVisuals(track?): Node[]

Return an array of the selected visuals for the specified track. if track is not specified then all selected visuals are returned. This method is a helper method and uses selected visuals from 'pick' tool. The code below shows how to get access to all selected tracks and visuals instead

Parameters

Name Type Description
Optional trackLogTracktrack to return selected visuals specified by node filter

Returns

Node[]


getSelection

getSelection(): Node[]

Return the currently selected items

Returns

Node[]

array of selected object

Overrides

AbstractWellTrack.getSelection


getTag

getTag(): any

Returns the object associated with the node by user.

Returns

any

The node's user-object

Implementation of

IWellTrack.getTag

Inherited from

AbstractWellTrack.getTag


getTitle

getTitle(): string

Return title

Returns

string

well title

Implementation of

IWellTrack.getTitle

Inherited from

AbstractWellTrack.getTitle


getTool

getTool(): CompositeTool

Returns root tool associated to this widget

Returns

CompositeTool

Implementation of

IWellTrack.getTool


getToolByName

getToolByName<Name>(toolName): Tools[Name]

Returns the tool matching the given name.
This function also accepts tool 'path' instead of absolute name.
For example:
getToolByName("compositeTool.panningTools.trackPanning.TrackPanning")
Would return the same tool than
getToolByName("TrackPanning")
As long as there is only one tool named "TrackPanning" in this composite
See listToolsNames()

Type parameters

NameType
Nameextends string

Parameters

Name Type Description
toolNameNameThe tool name or path

Returns

Tools[Name]

Implementation of

IWellTrack.getToolByName


getTrack

getTrack(index): LogTrack

Returns LogTrack at specified index

Parameters

Name Type Description
indexnumberindex to return track at

Returns

LogTrack


getTrackAt

getTrackAt(index): LogTrack

Returns LogTrack at specified index

Deprecated

since 4.2 use getTrack instead

Parameters

Name Type Description
indexnumberindex to return track at

Returns

LogTrack

Implementation of

IWellTrack.getTrackAt


getTrackIndex

getTrackIndex(track): number

Return index of track

Deprecated

since 4.2 use indexOfTrack instead

Parameters

Name Type Description
trackLogTrackto get index

Returns

number

index of the track

Implementation of

IWellTrack.getTrackIndex


getTrackOptions

getTrackOptions(track): TrackOptionsOut

Returns track options

Parameters

Name Type Description
trackLogTracktrack to get options

Returns

TrackOptionsOut

track options


getTracks

getTracks(filter?, modify?): Iterator<LogTrack>

Return iterator by child tracks

Parameters

Name Type Description
Optional filter(node: LogTrack) => booleana filter function. Returns all tracks if null
Optional modifybooleanAn option to specify if the iterator supports adding/removing items from the collection. false by default.

Returns

Iterator<LogTrack>


getTracksCount

getTracksCount(): number

Returns amount of tracks

Returns

number

amount of tracks

Implementation of

IWellTrack.getTracksCount


getTracksSize

getTracksSize(): number

Calculate a real size of tracks

Returns

number

total width of the tracks


getVisible

getVisible(): boolean

Return visibility of the node

Returns

boolean

true if node is visible

Implementation of

IWellTrack.getVisible

Inherited from

AbstractWellTrack.getVisible


getVisibleDepthLimits

getVisibleDepthLimits(): Range

Return a depth range, which is visible now

Returns

Range

Implementation of

IWellTrack.getVisibleDepthLimits

Overrides

AbstractWellTrack.getVisibleDepthLimits


getVisibleDeviceLimits

getVisibleDeviceLimits(ignoreModelLimits?): Rect

Return visible device limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

AbstractWellTrack.getVisibleDeviceLimits


getVisibleModelLimits

getVisibleModelLimits(ignoreModelLimits?): Rect

Return visible model limits

Parameters

Name Type Description
Optional ignoreModelLimitsbooleanflag defines whether to ignore ModelLimits or not

Returns

Rect

Inherited from

AbstractWellTrack.getVisibleModelLimits


getWidth

getWidth(): number

Returns well track width

Returns

number


getWorldTransform

getWorldTransform(): Transformation

Retrieves the local transformation of the node which represents multiplication of parent to bounds and contents transformations.

Returns

Transformation

Inherited from

AbstractWellTrack.getWorldTransform


getZIndex

getZIndex(): number

Returns node z-index (null if not set)

Returns

number

Inherited from

AbstractWellTrack.getZIndex


getZoneLayer

getZoneLayer(): Layer<Node>

Return a layer to display zones

Returns

Layer<Node>


hasCssClass

hasCssClass(cssClass): boolean

Check if node has specified css class

Parameters

Name Type Description
cssClassstringcss class name

Returns

boolean

Inherited from

AbstractWellTrack.hasCssClass


hasEventListener

hasEventListener(type, callback?): boolean

Check if a list of event listeners for this type contains this listener

Parameters

Name Type Description
typestringtype of event or property
Optional callbackFunctionto be called, if null, check if any callback is registered

Returns

boolean

Inherited from

AbstractWellTrack.hasEventListener


highlightVisual

highlightVisual(visual, highlight): WellTrack

Highlights a visual or track. Called whenever a visual is selected to highlight it.
If user selects a curve and the track, the curve,track and header are highlighted. Programmatically deselecting a track doesn't automatically deselect curves.
Deselect all selected tracks and visuals using the example shown below.

Example

well.highlightVisual(visual, false);

Parameters

Name Type Description
visualLogAbstractVisual | LogTrackThe visual to highlight
highlightbooleanthe status of the highlight

Returns

WellTrack

this


indexOfBaseLayer

indexOfBaseLayer(baseLayer): number

Return index of overlay ( index of the specified child or -1 if baseLayer is not found)

Parameters

Name Type Description
baseLayerNodebaseLayer to check index

Returns

number

Inherited from

AbstractWellTrack.indexOfBaseLayer


indexOfChild

indexOfChild(node): number

Return index of child ( index of the specified child or -1 if node is not found)

Parameters

Name Type Description
nodeNodenode to check index

Returns

number

Inherited from

AbstractWellTrack.indexOfChild


indexOfOverlay

indexOfOverlay(overlay): number

Return index of overlay ( index of the specified child or -1 if overlay is not found)

Parameters

Name Type Description
overlayNodeoverlay to check index

Returns

number

Inherited from

AbstractWellTrack.indexOfOverlay


indexOfTrack

indexOfTrack(track): number

Return index of track

Parameters

Name Type Description
trackLogTrackto get index

Returns

number

index of the track


insertBaseLayer

insertBaseLayer(index, baseLayer): WellTrack

Insert child baseLayer at specified index

Parameters

Name Type Description
indexnumberspecified index
baseLayerNodea baseLayer to add

Returns

WellTrack

this

Inherited from

AbstractWellTrack.insertBaseLayer


insertChild

insertChild(index, node): WellTrack

Insert child node at specified index

Parameters

Name Type Description
indexnumberspecified index
nodeNodea child node to add

Returns

WellTrack

this

Inherited from

AbstractWellTrack.insertChild


insertOverlay

insertOverlay(index, overlay): WellTrack

Insert child overlay at specified index

Parameters

Name Type Description
indexnumberspecified index
overlayNodea overlay to add

Returns

WellTrack

this

Inherited from

AbstractWellTrack.insertOverlay


insertTrack

insertTrack(index, track): LogTrack

Insert track to the container at specified index

Example

// The code below shows how to create a well track with position from 0 to 300 in the model coordinates and depth range from 500 to 1000
const well = widget.insertTrack(1, {
'type': LogTrack
'width': 400
});

Parameters

Name Type Description
indexnumberindex of the track
trackInsertTracktrack to add or options to specify adding track

Returns

LogTrack

Implementation of

IWellTrack.insertTrack


invalidate

invalidate(bounds?, force?): WellTrack

Invalidate node

Parameters

Name Type Description
Optional boundsRectoptional rectangular area to be invalidated, or force flag if rectangle is empty
Optional forcebooleanoptional boolean parameter that can force invalidation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.invalidate


invalidateLayout

invalidateLayout(propagate?): WellTrack

Notify that layout is invalidated. Send event Events.LayoutInvalidated

Parameters

Name Type Description
Optional propagatebooleanpropagate invalidate layout to parent

Returns

WellTrack

this

Inherited from

AbstractWellTrack.invalidateLayout


invalidateParent

invalidateParent(bounds?, force?): WellTrack

Invalidate parent area

Parameters

Name Type Description
Optional boundsRectarea to invalidate
Optional forcebooleanforce

Returns

WellTrack

this

Inherited from

AbstractWellTrack.invalidateParent


isClippingEnabled

isClippingEnabled(): boolean

Returns if clipping is enabled or not for this node.

Returns

boolean

Inherited from

AbstractWellTrack.isClippingEnabled


isDisposed

isDisposed(): boolean

Returns whether this object has been disposed

Returns

boolean

Inherited from

AbstractWellTrack.isDisposed


isEventPropagationEnabled

isEventPropagationEnabled(): boolean

Return true if event propagation is enabled from child to parent

Returns

boolean

Inherited from

AbstractWellTrack.isEventPropagationEnabled


isHorizontalFlip

isHorizontalFlip(): boolean

Return true if the representation is flipped horizontally

Returns

boolean

flip

Inherited from

AbstractWellTrack.isHorizontalFlip


isLayoutInvalidated

isLayoutInvalidated(): boolean

Return true if layout is invalid

Returns

boolean

Inherited from

AbstractWellTrack.isLayoutInvalidated


isNavigationEnabled

isNavigationEnabled(): boolean

Return status of navigation tool after track instantiation

Returns

boolean


isNotificationEnabled

isNotificationEnabled(): boolean

return state of notification

Returns

boolean

current notification state

Inherited from

AbstractWellTrack.isNotificationEnabled


isPickingChildrenEnabled

isPickingChildrenEnabled(): boolean

Returns if picking children is enabled or not for this node.

Returns

boolean

pickingChildren

Inherited from

AbstractWellTrack.isPickingChildrenEnabled


isSelectable

isSelectable(): boolean

Returns true if node can be picked/selected.

Returns

boolean

The selectable flag

Inherited from

AbstractWellTrack.isSelectable


isSilent

isSilent(): boolean

Return true if the event dispatcher doesn't notify any events

Returns

boolean

Inherited from

AbstractWellTrack.isSilent


isVerticalFlip

isVerticalFlip(): boolean

Return true if the representation is flipped vertically

Returns

boolean

flip

Inherited from

AbstractWellTrack.isVerticalFlip


loadTemplate

loadTemplate(template, registry?): WellTrack

Load template

Parameters

Name Type Description
templatestring | WellTracktemplate to be applied to the track
Optional registryRegistryregistry

Returns

WellTrack

this

Implementation of

IWellTrack.loadTemplate


moveTo

moveTo(area, vAlign?, hAlign?): WellTrack

MoveTo position of node to specified area

Parameters

Name Type Description
areaRectspecified area
Optional vAlignstringvertical alignment. It can be "top", "bottom", "center".
Optional hAlignstringhorizontal alignment It can be "left", "right", "center".

Returns

WellTrack

this

Inherited from

AbstractWellTrack.moveTo


notify

notify<E>(type, source, args?): WellTrack

Notify listeners of the Node

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event
sourceWellTracksource who called the event
Optional argsEventMap[E]event arguments

Returns

WellTrack

this

Overrides

AbstractWellTrack.notify


notifyRoot

Protected notifyRoot(event, source, args?): Node

Notify an even to root node

Parameters

Name Type Description
eventstringtype of event
sourceNodesource who called the event
Optional argsanyevent arguments

Returns

Node

this

Inherited from

AbstractWellTrack.notifyRoot


off

off<E>(type?, callback?): WellTrack

Detach listener on event. Calling .off() with no arguments removes all attached listeners. Calling .off(type) with no callback removes all attached listeners for specific type.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
Optional typeEtype of the event
Optional callback(eventType: E, sender: WellTrack, args: EventMap[E]) => voidfunction to be called

Returns

WellTrack

this

Overrides

AbstractWellTrack.off


on

on<E>(type, callback): WellTrack

Attach listener on event that will be called whenever the specified event is delivered to the target

If the callback function is already in the list of event listeners for this target, the function is not added a second time.

If a particular anonymous function is in the list of event listeners registered for a certain target, and then later in the code, an identical anonymous function is given in an "on" call, the second function will also be added to the list of event listeners for that target.

Type parameters

NameType
Eextends string

Parameters

Name Type Description
typeEtype of event or property
callback(eventType: E, sender: WellTrack, args: EventMap[E]) => voidto be called

Returns

WellTrack

this

Overrides

AbstractWellTrack.on


onBoundsChanged

Protected onBoundsChanged(bounds): WellTrack

Occurs when bounds has been changed

Parameters

Name Type Description
boundsRectbound of the node in the parent coordinates

Returns

WellTrack

this

Inherited from

AbstractWellTrack.onBoundsChanged


onChildAdded

Protected onChildAdded(child): void

This method is called it child or children are added

Parameters

Name Type Description
childNode | Iterator<Node>added child

Returns

void

Inherited from

AbstractWellTrack.onChildAdded


onChildRemoved

Protected onChildRemoved(child): void

This method is called it child or children are removed

Parameters

Name Type Description
childNoderemoved child

Returns

void

Inherited from

AbstractWellTrack.onChildRemoved


onParentChanged

Protected onParentChanged(node): WellTrack

This method is called when parent changes. Do not call it directly.

Parameters

Name Type Description
nodeNodenode to change parent

Returns

WellTrack

this

Inherited from

AbstractWellTrack.onParentChanged


onVisibilityChanged

Protected onVisibilityChanged(): void

This method is called if visibility is changed. Send event Events.VisibilityChanged

Returns

void

Inherited from

AbstractWellTrack.onVisibilityChanged


onVisibleDepthLimitsChanged

Protected onVisibleDepthLimitsChanged(oldLimits, newLimits, visible): WellTrack

Raising an event 'visibleDepthLimitsChanged' eventName : (geotoolkit.welllog.widgets.Events.VisibleDepthLimitsChanged)

Parameters

Name Type Description
oldLimitsRangeold visible limits
newLimitsRangevisible limits
visiblebooleanvisibility

Returns

WellTrack

Inherited from

AbstractWellTrack.onVisibleDepthLimitsChanged


postRendering

Protected postRendering(context, callback?): void

To be called after rendering, used for PDF output

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering

Returns

void

Inherited from

AbstractWellTrack.postRendering


preRendering

Protected preRendering(context, callback?): void

Occurs before child rendering

Parameters

Name Type Description
contextRenderingContextRendering Context
Optional callback() => voidcallback to be called after rendering of geometry

Returns

void

Inherited from

AbstractWellTrack.preRendering


rebuild

rebuild(force?, changes?): WellTrack

Rebuild node. This method resets state, cache, and invalidate node.

Parameters

Name Type Description
Optional forcebooleanoptional boolean parameter that can force invalidation
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

WellTrack

this

Inherited from

AbstractWellTrack.rebuild


registerAnimationStyle

registerAnimationStyle(root): void

Register animation style.

Parameters

Name Type Description
rootNoderoot node for node

Returns

void

Inherited from

AbstractWellTrack.registerAnimationStyle


removeBaseLayer

removeBaseLayer(baseLayer): WellTrack

Remove child baseLayer

Parameters

Name Type Description
baseLayerNode | Node[]baseLayer or array of nodes to be removed

Returns

WellTrack

this

Inherited from

AbstractWellTrack.removeBaseLayer


removeChild

removeChild(node, disposeChildren?): WellTrack

Remove child node

Parameters

Name Type Description
nodeNode | Node[]node or array of nodes to be removed
Optional disposeChildrenbooleanautomatically dispose children. If it is true then method dispose is called for each child.

Returns

WellTrack

this

Inherited from

AbstractWellTrack.removeChild


removeCssClass

removeCssClass(cssclass): WellTrack

Removes css class from node

Parameters

Name Type Description
cssclassstring | string[]css class name('s)

Returns

WellTrack

this

Inherited from

AbstractWellTrack.removeCssClass


removeInvalidateHandler

removeInvalidateHandler(handler): WellTrack

Remove invalidate handler

Deprecated

since 4.0, use Node.off instead

Parameters

Name Type Description
handlerFunctionhandler to be notified about invalidation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.removeInvalidateHandler


removeOverlay

removeOverlay(overlay): WellTrack

Remove child overlay

Parameters

Name Type Description
overlayNode | Node[]overlay or array of nodes to be removed

Returns

WellTrack

this

Inherited from

AbstractWellTrack.removeOverlay


removeSelection

removeSelection(): WellTrack

Remove selection if it exists

Returns

WellTrack

this

Overrides

AbstractWellTrack.removeSelection


removeTrack

removeTrack(track, disposeTrack?): WellTrack

Remove the track with headers and footers

Parameters

Name Type Description
trackLogTracktrack to remove
Optional disposeTrackbooleanautomatically dispose track. If it is true then method dispose is called for track.

Returns

WellTrack

Implementation of

IWellTrack.removeTrack


render

render(context): void

Render group

Parameters

Name Type Description
contextRenderingContextcontext to render group

Returns

void

Inherited from

AbstractWellTrack.render


renderAsync

renderAsync(context, callback): void

Render node in asynchronous mode. This implementation doesn't support cache for now.

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function

Returns

void

Inherited from

AbstractWellTrack.renderAsync


renderBackground

Protected renderBackground(context, bounds): WellTrack

Render background

Parameters

Name Type Description
contextRenderingContextcontext to render background
boundsRectgroup bounds

Returns

WellTrack

this

Inherited from

AbstractWellTrack.renderBackground


renderBaseLayers

Protected renderBaseLayers(context): WellTrack

Render baseLayers on bottom of cache. This method does nothing, but can be implemented to render graphics on bottom of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render baseLayers

Returns

WellTrack

this

Inherited from

AbstractWellTrack.renderBaseLayers


renderBaseLayersAsync

Protected renderBaseLayersAsync(context, callback): void

Render baseLayers on bottom of cache in asynchronous mode. This method calls renderBaseLayers

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

AbstractWellTrack.renderBaseLayersAsync


renderChildren

Protected renderChildren(context): void

Render children

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

AbstractWellTrack.renderChildren


renderChildrenAsync

Protected renderChildrenAsync(context, callback): void

Render children async

Parameters

Name Type Description
contextRenderingContextRendering Context
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

AbstractWellTrack.renderChildrenAsync


renderContent

Protected renderContent(context): void

render to specified context. This method calls preRendering, renderChildren, postRendering

Parameters

Name Type Description
contextRenderingContextRendering Context

Returns

void

Inherited from

AbstractWellTrack.renderContent


renderContentAsync

Protected renderContentAsync(context, callback): void

Render children in asynchronous mode

Parameters

Name Type Description
contextRenderingContextThe rendering context to be used to draw the node
callback() => voidcallback function to be called then all children are rendered

Returns

void

Inherited from

AbstractWellTrack.renderContentAsync


renderOverlays

Protected renderOverlays(context): WellTrack

Render overlays on top of cache. This method does nothing, but can be implemented to render graphics on top of cache and between borders

Parameters

Name Type Description
contextRenderingContextcontext to render overlays

Returns

WellTrack

this

Inherited from

AbstractWellTrack.renderOverlays


renderOverlaysAsync

Protected renderOverlaysAsync(context, callback): void

Render overlays on top of cache in asynchronous mode. This method calls renderOverlays

Parameters

Name Type Description
contextRenderingContextcontext to render overlays
callback() => voidcallback function

Returns

void

Inherited from

AbstractWellTrack.renderOverlaysAsync


resumeUpdate

resumeUpdate(rebuild?, changes?): WellTrack

Resume auto update

Parameters

Name Type Description
Optional rebuildbooleanforce rebuild
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

WellTrack

this

Inherited from

AbstractWellTrack.resumeUpdate


rotate

rotate(theta, x, y): WellTrack

Rotate bounds around a given coordinate

Parameters

Name Type Description
thetanumberangle to rotate node, in radians
xnumberx coordinate to rotate around
ynumbery coordinate to rotate around

Returns

WellTrack

this

Inherited from

AbstractWellTrack.rotate


saveTemplate

saveTemplate(registry?): string

Save template

Parameters

Name Type Description
Optional registryRegistryregistry

Returns

string

return template as a string

Implementation of

IWellTrack.saveTemplate


scale

scale(xx, yy): WellTrack

Scale node

Parameters

Name Type Description
xxnumberx scale factor
yynumbery scale factor

Returns

WellTrack

this

Inherited from

AbstractWellTrack.scale


setAnimationStyle

setAnimationStyle(animationStyle): WellTrack

Sets animation style

Parameters

Name Type Description
animationStyleTypeanimation style

Returns

WellTrack

Inherited from

AbstractWellTrack.setAnimationStyle


setAutoModelLimitsMode

setAutoModelLimitsMode(mode): WellTrack

Set Model Limits Logics to use when no Model Limits have been set set to true: will use parents width and height, starting at 0 set to false: will use parents bounds. This is convenient method. It creates AutoModelLimitsStrategy

Parameters

Name Type Description
modebooleanModel Limits Logics to be used

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setAutoModelLimitsMode


setAutoModelLimitsStrategy

setAutoModelLimitsStrategy(strategy): WellTrack

Set Model Limits Logics Strategy

Parameters

Name Type Description
strategyModelLimitsStrategyModel Limits logic strategy to use

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setAutoModelLimitsStrategy


setBounds

setBounds(bounds): WellTrack

Set bounds of the well

Parameters

Name Type Description
boundsRecttrack bounds

Returns

WellTrack

Implementation of

IWellTrack.setBounds

Overrides

AbstractWellTrack.setBounds


setCache

setCache(cache, rebuild?): WellTrack

Sets cache to be used to cache

Parameters

Name Type Description
cacheCachecache to be used
Optional rebuildbooleanrebuild cache

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setCache


setChild

setChild(index, node): WellTrack

Replace child node by index

Parameters

Name Type Description
indexnumberindex of the node
nodeNodenode

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setChild


setClipStyle

setClipStyle(style): WellTrack

Sets a new clipping style

Parameters

Name Type Description
styleGraphicsPath | ClipStyle | Optionsa new clipping style

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setClipStyle


setContentOrientation

setContentOrientation(orientation): WellTrack

Set content orientation

Parameters

Name Type Description
orientationOrientationcontent orientation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setContentOrientation


setCss

setCss(style, merge?): WellTrack

Sets CSS style. This style will be applied for all inserted elements

Parameters

Name Type Description
styleTypeCSS style to be applied to inserted elements
Optional mergebooleanmerge flag

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setCss


setCssClass

setCssClass(name): WellTrack

Sets css class name of the node to be used to apply CSS style

Parameters

Name Type Description
namestringcss class name of the node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setCssClass


setCssTransform

setCssTransform(transform): WellTrack

Set CSS transformation

Parameters

Name Type Description
transformstring | Transformationtransformation css transformation instruction or Transformation instance

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setCssTransform


setData

setData(data): WellTrack

Sets a new data source

Parameters

Name Type Description
dataAbstractDataTable | DataSourcedata source

Returns

WellTrack

this

Implementation of

IWellTrack.setData


setDataBinding

setDataBinding(binding, silent?): WellTrack

Sets the data binding

Parameters

Name Type Description
bindingDataBinding | DataBindingRegistrydata binding
Optional silentbooleansilent mode to forbid

Returns

WellTrack

this

Implementation of

IWellTrack.setDataBinding


setDepthLimits

setDepthLimits(minIndex, maxIndex): WellTrack

Sets depth limits for all tracks

Example

// full depth limits or scrollable limits of your widget can be set as follows:
widget.setDepthLimits(minDepth, maxDepth);

Parameters

Name Type Description
minIndexnumbermin index limit
maxIndexnumbermax index limit

Returns

WellTrack

Implementation of

IWellTrack.setDepthLimits

setDepthLimits(range): WellTrack

Sets depth limits for all tracks

Parameters

Name Type Description
rangeRangedepth range

Returns

WellTrack

Implementation of

IWellTrack.setDepthLimits


setDepthScale

setDepthScale(scale, scaleUnit?, deviceUnit?): WellTrack

Sets a depth scale factor.

Throws

Will throw an error if the current scale is NaN

Example

//  To set depth scale range as a ratio, you can use units as follows
const unitFactory = UnitFactory.getInstance();
well.setDepthScale(30, unitFactory.getUnit("feet"), unitFactory.getUnit("inch")); //1 inch == 30 feet

Parameters

Name Type Description
scalenumberA number of depth units in device unit.
Optional scaleUnitAbstractUnitscale unit of the display. if it is not specified then it takes from track container
Optional deviceUnitAbstractUnitdevice unit of the display. if it is not specified then it takes from track container

Returns

WellTrack

this

Implementation of

IWellTrack.setDepthScale

Inherited from

AbstractWellTrack.setDepthScale


setDesiredHeight

setDesiredHeight(value, silent?): WellTrack

Sets desired height of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired height to set, use 'auto' for automatic desired height
Optional silentbooleansilent setting

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setDesiredHeight


setDesiredWidth

setDesiredWidth(value, silent?): WellTrack

Sets desired width of the group as a layoutable object

Parameters

Name Type Description
valuestring | numberdesired width to set
Optional silentbooleansilent setting

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setDesiredWidth


setDeviceUnit

setDeviceUnit(unit): WellTrack

Sets device unit of the current well

Parameters

Name Type Description
unitstring | AbstractUnitdevice unit

Returns

WellTrack

this


setFillStyle

setFillStyle(fillStyle, merge?): WellTrack

Sets fill style

Parameters

Name Type Description
fillStyleTypea new fill style
Optional mergebooleantrue if you want to merge fillStyle with existing attribute, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setFillStyle


setHorizontalFlip

setHorizontalFlip(enable): WellTrack

Set horizontal flip of the representation

Parameters

Name Type Description
enablebooleanenable flip

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setHorizontalFlip


setId

setId(id): WellTrack

Allows the user to associate any identifier

Parameters

Name Type Description
idstring | numberobject id

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setId


setIndexUnit

setIndexUnit(unit): WellTrack

Sets index unit

Parameters

Name Type Description
unitstring | AbstractUnitindex unit

Returns

WellTrack

this


setInfiniteMode

setInfiniteMode(infinityMode): WellTrack

Set infinity mode flag to draw composite without collision check

Parameters

Name Type Description
infinityModebooleaninfinity mode flag

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setInfiniteMode


setLayout

setLayout(layout): WellTrack

Associate layout with a group.

Parameters

Name Type Description
layoutRecord<string, any> | Layoutlayout instance to be set or layout properties to apply

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setLayout


setLayoutInvalidated

Protected setLayoutInvalidated(invalidated): void

Set invalidation status

Parameters

Name Type Description
invalidatedbooleaninvalidated layout

Returns

void

Inherited from

AbstractWellTrack.setLayoutInvalidated


setLayoutStyle

setLayoutStyle(layoutStyle, silent?, merge?): WellTrack

specify desired layout style

Parameters

Name Type Description
layoutStyleLayoutStyle<string | number> | Options<string | number>desired layout style
Optional silentbooleansilent setting
Optional mergebooleantrue if you want to merge layoutStyle with existing attribute, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setLayoutStyle


setLineStyle

setLineStyle(lineStyle, merge?): WellTrack

Sets border color Returns this

Parameters

Name Type Description
lineStyleTypeline style or options
Optional mergebooleantrue if you want to merge lineStyle with existing attribute, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setLineStyle


setLocalTransform

setLocalTransform(localTransform, force?): WellTrack

Sets local transformation to be used to transform from local to parent coordinate

Parameters

Name Type Description
localTransformTransformationlocal transformation for this node
Optional forcebooleanboolean flag to force update event if transformations are equal, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setLocalTransform


setMarginsStyle

setMarginsStyle(margins, merge?): WellTrack

Sets margins style

Parameters

Name Type Description
marginsType<string | number>margins style
Optional mergebooleantrue if you want to merge marginsStyle with existing attribute, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setMarginsStyle


setModelLimits

setModelLimits(modelLimits): WellTrack

Sets inner model limits

Throws

Well Track model limits is fixed

Parameters

Name Type Description
modelLimitsRectinner limits

Returns

WellTrack

this

Overrides

AbstractWellTrack.setModelLimits


setName

setName(name): WellTrack

Sets name of the node

Parameters

Name Type Description
namestringThe node name

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setName


setNotification

setNotification(notify, force?): WellTrack

set notification state

Parameters

Name Type Description
notifybooleanflag set to invalidate parent or not
Optional forcebooleantrue if parent should be invalidated immediately

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setNotification


setOpacity

setOpacity(opacity, blendMode?): WellTrack

Sets node opacity

Parameters

Name Type Description
opacitynumbernode opacity from 0 to 1
Optional blendModeBlendModeopacity blend mode. If it is normal, opacity will be replaced.

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setOpacity


setPaddingStyle

setPaddingStyle(paddingStyle, merge?): WellTrack

Sets padding style

Parameters

Name Type Description
paddingStyleType<string | number>padding style
Optional mergebooleantrue if you want to merge paddingStyle with existing attribute, false by default

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setPaddingStyle


setProperties

setProperties(properties?): WellTrack

Sets all the properties pertaining to this object

See

WellLogWidget

Parameters

Name Type Description
Optional propertiesOptionsAn object containing the properties to set

Returns

WellTrack

this

Overrides

AbstractWellTrack.setProperties


setProperty

setProperty(name, value): WellTrack

Sets dynamic property by name

Parameters

Name Type Description
namestringproperty name
valueanyproperty value

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setProperty


setRenderingFilter

setRenderingFilter(filter): WellTrack

Sets filter to be applied before rendering and picking

Parameters

Name Type Description
filterIFilterfilter to set

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setRenderingFilter


setResponsiveStyle

setResponsiveStyle(style): WellTrack

Sets responsive style.

Parameters

Name Type Description
styleOptions | ResponsiveStyleresponsive style

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setResponsiveStyle


setScaleScrollStrategy

setScaleScrollStrategy(strategy?): WellTrack

Sets scale scroll strategy

Parameters

Name Type Description
Optional strategyDelegatescale scroll strategy

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setScaleScrollStrategy


setSelectable

setSelectable(selectable): WellTrack

Allows to select node. If node is not selectable then child node is not selectable.

Parameters

Name Type Description
selectablebooleanflag to allow node selection

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setSelectable


setSilent

setSilent(bool): WellTrack

Set silent mode

Parameters

Name Type Description
boolbooleanflag to enable silent mode

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setSilent


setTag

setTag(tag): WellTrack

Allows the user to associate any arbitrary object with the node.

Parameters

Name Type Description
taganyThe object to be associated with the node.

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setTag


setTitle

setTitle(title): WellTrack

Sets well title

Parameters

Name Type Description
titlestringwell title

Returns

WellTrack

this

Implementation of

IWellTrack.setTitle

Inherited from

AbstractWellTrack.setTitle


setTrackOptions

setTrackOptions(track, options): LogTrack

Sets track options

Example

//The code to configure the gridlines in a log track, specify logdecades and generate multiple logticks
import {TrackType} from '@int/geotoolkit/welllog/TrackType';
well.setTrackOptions(track, {
'type:': TrackType.LogTrack,
'value': {
'logstart': 0.2,
'logdecades': 4
}
});

Parameters

Name Type Description
trackLogTracklog track
optionsTrackOptionstrack options

Returns

LogTrack


setTrackWidth

setTrackWidth(width, track?): WellTrack

Set track width and layout remains track

Parameters

Name Type Description
widthnumbertrack width
Optional trackLogTrackif track is not defined then width is set for all tracks

Returns

WellTrack

this


setVerticalFlip

setVerticalFlip(flip): WellTrack

Set vertical flip of the representation

Parameters

Name Type Description
flipbooleanflag to set the vertical flip of the representation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setVerticalFlip


setVisible

setVisible(value): WellTrack

Sets visibility of the node. Send event Events.VisibilityChanged

Parameters

Name Type Description
valuebooleanflag specifying visibility of the node

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setVisible


setVisibleDepthLimits

setVisibleDepthLimits(fromIndex, toIndex?): WellTrack

Sets visible depth limits

Example

// Set visible limits to fit visible area of container
well.setVisibleDepthLimits(limits, true);

Parameters

Name Type Description
fromIndexRangedepth range
Optional toIndexbooleanoption to fit to container visible limits

Returns

WellTrack

Implementation of

IWellTrack.setVisibleDepthLimits

Inherited from

AbstractWellTrack.setVisibleDepthLimits

setVisibleDepthLimits(fromIndex, toIndex, fitHeight?): WellTrack

Sets visible depth limits By default it tries to fit depth based on the current visible limits of the well. If container limits should be used then specify the last parameter to true

Parameters

Name Type Description
fromIndexnumberstart depth
toIndexnumberend range
Optional fitHeightbooleanoption to fit to container visible limits

Returns

WellTrack

Implementation of

IWellTrack.setVisibleDepthLimits

Inherited from

AbstractWellTrack.setVisibleDepthLimits


setVisibleModelLimits

setVisibleModelLimits(visibleModelBounds, deviceBounds?): WellTrack

Set visible model limits

Parameters

Name Type Description
visibleModelBoundsRectvisible model limits or bounds
Optional deviceBoundsRectdevice bounds

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setVisibleModelLimits


setZIndex

setZIndex(value): WellTrack

Sets z-index for node (set null for default)

Parameters

Name Type Description
valuenumberindex determining node z-position

Returns

WellTrack

this

Inherited from

AbstractWellTrack.setZIndex


shear

shear(shx, shy): WellTrack

Shear this node's bounds

Parameters

Name Type Description
shxnumberx-axis shear
shynumbery-axis shear

Returns

WellTrack

this

Inherited from

AbstractWellTrack.shear


suspendUpdate

suspendUpdate(): WellTrack

Suspend auto update

Returns

WellTrack

this

Inherited from

AbstractWellTrack.suspendUpdate


toString

toString(): string

Returns a string representation of this object (generally the classname)

Returns

string

A string representation

Inherited from

AbstractWellTrack.toString


translate

translate(tx, ty): WellTrack

Translate bounds

Parameters

Name Type Description
txnumberx translation
tynumbery translation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.translate


unregisterAnimationStyle

unregisterAnimationStyle(root): void

Unregister animation style.

Parameters

Name Type Description
rootAnimatedNoderoot node for node

Returns

void

Inherited from

AbstractWellTrack.unregisterAnimationStyle


updateAdornments

updateAdornments(): void

Update adornments

Returns

void


updateLayout

updateLayout(targets?): WellTrack

Updates layout(s)

Fires

Events.LayoutUpdated

Parameters

Name Type Description
Optional targetsILayoutable[]optional parameter about which element to layout

Returns

WellTrack

this

Inherited from

AbstractWellTrack.updateLayout


updateSceneTransformation

updateSceneTransformation(): WellTrack

Update scene transformation

Returns

WellTrack

this

Inherited from

AbstractWellTrack.updateSceneTransformation


updateState

updateState(regions?, changes?): WellTrack

Mark this group to be updated.

Parameters

Name Type Description
Optional regionsRect[]optional array to return invalid rectangles
Optional changesStateChangesoptional parameter to specify a reason of changes

Returns

WellTrack

this

Overrides

AbstractWellTrack.updateState


updateSuspended

updateSuspended(): boolean

Return state of suspend state

Returns

boolean

state of update

Inherited from

AbstractWellTrack.updateSuspended


updateTimeStamp

Protected updateTimeStamp(): WellTrack

Update time stamp to indicate that Node or Children has been changed.

Returns

WellTrack

this

Inherited from

AbstractWellTrack.updateTimeStamp


enableSceneGraphNotification

Static enableSceneGraphNotification(enabled): void

Enable / disable all notifications

Parameters

Name Type Description
enabledbooleansets if this object sends notifications

Returns

void

Inherited from

AbstractWellTrack.enableSceneGraphNotification


findParent

Static findParent<T>(node, classType, filter?): InstanceType<T>

Find root of the node with specified type

Type parameters

NameType
Textends Constructor<any>

Parameters

Name Type Description
nodeNodenode to start search
classTypeTtype of the class to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

InstanceType<T>

Inherited from

AbstractWellTrack.findParent

Static findParent(node, classType, filter?): Node

Find root of the node with specified type

Parameters

Name Type Description
nodeNodenode to start search
classTypestringinterface name to search for
Optional filter(node: Node) => booleanadditional filter to apply

Returns

Node

Inherited from

AbstractWellTrack.findParent


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractWellTrack.getClassName


isSceneGraphNotificationEnabled

Static isSceneGraphNotificationEnabled(): boolean

Return status of the global notification for all nodes.

Returns

boolean

Inherited from

AbstractWellTrack.isSceneGraphNotificationEnabled