Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BboxLabelView<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns BboxLabelView

  • Parameters

    Returns BboxLabelView

Properties

context

context: any

props

props: Readonly<LabelProps & BboxLabelProps> & Readonly<object>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

Static Optional contextType

contextType: Context<any>

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void
  • Returns void

Optional UNSAFE_componentWillReceiveProps

  • Parameters

    Returns void

Optional UNSAFE_componentWillUpdate

  • Parameters

    Returns void

Optional componentDidCatch

  • componentDidCatch(error: Error, errorInfo: ErrorInfo): void
  • Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

Optional componentDidMount

  • componentDidMount(): void
  • Returns void

Optional componentDidUpdate

  • Parameters

    Returns void

Optional componentWillMount

  • componentWillMount(): void
  • Returns void

Optional componentWillReceiveProps

  • Parameters

    Returns void

Optional componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

  • Parameters

    Returns void

forceUpdate

  • forceUpdate(callback: undefined | function): void
  • Parameters

    • Optional callback: undefined | function

    Returns void

Optional getSnapshotBeforeUpdate

  • Parameters

    Returns SS | null

make_interval

onKeyDown

  • onKeyDown(key: string): void

onKeyUp

  • onKeyUp(key: string): void

onMouseDown

  • onMouseDown(x: number, y: number): void

onMouseLeave

  • onMouseLeave(): void

onMouseMove

  • onMouseMove(x: number, y: number): void

onMouseUp

  • onMouseUp(x: number, y: number): void

render

  • render(): Element

reset_state

  • reset_state(): void

setState

  • setState<K>(state: function | null | S | object, callback: undefined | function): void
  • Type parameters

    • K: keyof BboxLabelState

    Parameters

    • state: function | null | S | object
    • Optional callback: undefined | function

    Returns void

Optional shouldComponentUpdate

  • Parameters

    Returns boolean

Object literals

state

state: object

mousedown_point

mousedown_point: null = null

mousemove_point

mousemove_point: null = null

shift_held

shift_held: false = false

Generated using TypeDoc