Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • mxTooltipHandler

Index

Constructors

constructor

Properties

delay

delay: number

Variable: delay

Delay to show the tooltip in milliseconds. Default is 500.

destroyed

destroyed: boolean

Variable: destroyed

True if this handler was destroyed using .

enabled

enabled: boolean

Variable: enabled

Specifies if events are handled. Default is true.

graph

graph: mxGraph

Variable: graph

Reference to the enclosing .

hideOnHover

hideOnHover: boolean

Variable: hideOnHover

Specifies if the tooltip should be hidden if the mouse is moved over the current cell. Default is false.

ignoreTouchEvents

ignoreTouchEvents: boolean

Variable: ignoreTouchEvents

Specifies if touch and pen events should be ignored. Default is true.

zIndex

zIndex: number

Variable: zIndex

Specifies the zIndex for the tooltip and its shadow. Default is 10005.

Methods

destroy

  • destroy(): void

getStateForEvent

hide

  • hide(): void

hideTooltip

  • hideTooltip(): void

init

  • init(): void

isEnabled

  • isEnabled(): boolean

isHideOnHover

  • isHideOnHover(): boolean

mouseDown

  • Function: mouseDown

    Handles the event by initiating a rubberband selection. By consuming the event all subsequent events of the gesture are redirected to this handler.

    Parameters

    Returns void

mouseMove

mouseUp

reset

resetTimer

  • resetTimer(): void

setEnabled

  • setEnabled(enabled: boolean): void
  • Function: setEnabled

    Enables or disables event handling. This implementation updates .

    Parameters

    • enabled: boolean

    Returns void

setHideOnHover

  • setHideOnHover(value: boolean): void

show

  • show(tip: string, x: number, y: number): void
  • Function: show

    Shows the tooltip for the specified cell and optional index at the specified location (with a vertical offset of 10 pixels).

    Parameters

    • tip: string
    • x: number
    • y: number

    Returns void

Generated using TypeDoc