Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DetailedTimerComponentState

The state object describes the information to visualize for this component.

Hierarchy

Index

Constructors

constructor

Properties

ptr

ptr: number

Methods

comparison1Name

  • comparison1Name(): string

comparison1Time

  • comparison1Time(): string

comparison1Visible

  • comparison1Visible(): boolean

comparison2Name

  • comparison2Name(): string

comparison2Time

  • comparison2Time(): string

comparison2Visible

  • comparison2Visible(): boolean

dispose

  • dispose(): void
  • Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.

    Returns void

iconChangeLen

  • iconChangeLen(): number

iconChangePtr

  • iconChangePtr(): number
  • The data of the segment's icon. This value is only specified whenever the icon changes. If you explicitly want to query this value, remount the component. The buffer itself may be empty. This indicates that there is no icon.

    Returns number

segmentName

  • segmentName(): string

segmentTimerFraction

  • segmentTimerFraction(): string

segmentTimerTime

  • segmentTimerTime(): string

timerFraction

  • timerFraction(): string

timerSemanticColor

  • timerSemanticColor(): string

timerTime

  • timerTime(): string

with

  • Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.

    Type parameters

    • T

    Parameters

    Returns T

Generated using TypeDoc