Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default
    • TaggleRenderer

Index

Constructors

Properties

EVENT_DIALOG_CLOSED: "dialogClosed" = EngineRenderer.EVENT_DIALOG_CLOSED
EVENT_DIALOG_OPENED: "dialogOpened" = EngineRenderer.EVENT_DIALOG_OPENED
EVENT_HIGHLIGHT_CHANGED: "highlightChanged" = EngineRenderer.EVENT_HIGHLIGHT_CHANGED

Accessors

  • get style(): default

Methods

  • createEventList(): string[]
  • destroy(): void
  • enableHighlightListening(enable: boolean): void
  • fire(type: string | string[], ...args: any[]): void
  • forward(from: IEventHandler, ...types: string[]): void
  • forwards one or more events from a given dispatcher to the current one i.e. when one of the given events is fired in 'from' it will be forwarded to all my listeners

    Parameters

    • from: IEventHandler

      the event dispatcher to forward from

    • Rest ...types: string[]

      the event types to forward

    Returns void

  • getHighlight(): number
  • listenersChanged(_type: string, _active: boolean): void
  • helper function that will be called upon a listener has changed

    Parameters

    • _type: string

      event type

    • _active: boolean

      registered or de registered

    Returns void

  • Parameters

    • type: "highlightChanged"
    • listener: (dataIndex: number) => void
        • (dataIndex: number): void
        • emitted when the highlight changes

          asmemberof

          TaggleRenderer

          Parameters

          • dataIndex: number

            the highlighted data index or -1 for none

          Returns void

    Returns TaggleRenderer

  • Parameters

    • type: "dialogOpened"
    • listener: (dialog: ADialog) => void
        • emitted a dialog is opened

          asmemberof

          TaggleRenderer

          Parameters

          Returns void

    Returns TaggleRenderer

  • Parameters

    • type: "dialogClosed"
    • listener: (dialog: ADialog, action: "cancel" | "confirm") => void
        • (dialog: ADialog, action: "cancel" | "confirm"): void
        • emitted a dialog is closed

          asmemberof

          TaggleRenderer

          Parameters

          • dialog: ADialog

            the closed dialog

          • action: "cancel" | "confirm"

            the action how the dialog was closed

          Returns void

    Returns TaggleRenderer

  • Parameters

    • type: string | string[]
    • listener: IEventListener

    Returns TaggleRenderer

  • setHighlight(dataIndex: number, scrollIntoView: boolean): boolean
  • switchRule(rule: IRule): void
  • unforward(from: IEventHandler, ...types: string[]): void
  • removes the forwarding declarations

    Parameters

    • from: IEventHandler

      the originated dispatcher

    • Rest ...types: string[]

      event types to forward

    Returns void

  • update(): void
  • zoomIn(): void
  • zoomOut(): void