Last updated

API / geotoolkit3d / shapes / GridIntersection2DTooltip / GridIntersection2DTooltip

Class: GridIntersection2DTooltip

shapes.GridIntersection2DTooltip.GridIntersection2DTooltip

A tooltip utility class for 2D grid intersection results.

Hierarchy

Table of contents

Constructors
Methods
Css Properties
Name Type Description
enabledbooleanEnabled state
formatToolTipFormatTooltip formaters
format-visualformatstringFormat of tooltip over visual visual.symbol - visual symbol visual.name - visual name visual.value - visual value visual.unit - visual unit (for curve) visual.columnnumber - column number (for log2d visual)

Contents

Constructors

new GridIntersection2DTooltip(format)

new GridIntersection2DTooltip(format?)

Parameters

Name Type
Optional formatstring | ToolTipFormatter

Overrides

NodeTooltip.constructor

Methods

clone

clone(): NodeTooltip<Node>

Create clone

Returns

NodeTooltip<Node>

clone

Inherited from

NodeTooltip.clone


formatSymbol

Protected formatSymbol(fillStyle, lineStyle?, symbolClass?): string

format symbol string

Parameters

Name Type Description
fillStylestring | ColoredStylesymbol fill style
Optional lineStylestring | ColoredStylesymbol line style
Optional symbolClassstringsymbol css class

Returns

string

Inherited from

NodeTooltip.formatSymbol


getClassName

getClassName(): string

Returns

string

Inherited from

NodeTooltip.getClassName


getFormat

getFormat(): string | ToolTipFormatter

return tooltip format options

Returns

string | ToolTipFormatter

Inherited from

NodeTooltip.getFormat


getProperties

getProperties(): PropertiesOut

Returns all the properties pertaining to this object

Returns

PropertiesOut

An object containing the properties

Inherited from

NodeTooltip.getProperties


getRadius

Protected getRadius(): number

Returns radius of selection

Returns

number

radius of selection

Inherited from

NodeTooltip.getRadius


getTooltip

getTooltip(visual, pt, registry, options?): string

Return formatted string from information which can be collected at specific screen coordinates

Parameters

Name Type Description
visualPanelsIntersection2Dor visual header
ptPointpoint in canvas model limits
registryToolTipRegistrytool tip registry
Optional optionsRecord<string, any>additional options

Returns

string

Overrides

NodeTooltip.getTooltip


hitTest

hitTest(visual, pt, registry?, options?): ToolTipInfo

Parameters

Name Type
visualPanelsIntersection2D
ptPoint
Optional registryToolTipRegistry
Optional optionsRecord<string, any>

Returns

ToolTipInfo


isEnabled

isEnabled(): boolean

returns enable state

Returns

boolean

state

Inherited from

NodeTooltip.isEnabled


setEnabled

setEnabled(enabled): GridIntersection2DTooltip

set enable state

Parameters

Name Type Description
enabledbooleansets the enabled state

Returns

GridIntersection2DTooltip

this

Inherited from

NodeTooltip.setEnabled


setFormat

setFormat(format?): GridIntersection2DTooltip

Set tool tip format options

Parameters

Name Type Description
Optional formatstring | ToolTipFormattertooltip format options

Returns

GridIntersection2DTooltip

Inherited from

NodeTooltip.setFormat


setProperties

setProperties(properties?): GridIntersection2DTooltip

Sets all the properties pertaining to this object

Parameters

Name Type Description
Optional propertiesPropertiesAn object containing the properties to set

Returns

GridIntersection2DTooltip

this

Inherited from

NodeTooltip.setProperties


getClassName

Static getClassName(): string

Returns

string

Inherited from

NodeTooltip.getClassName