Options
All
  • Public
  • Public/Protected
  • All
Menu

Progress bar UI element

Hierarchy

Index

Methods

getOwningObject

getParent

  • Return the widget that contains this widget, for example a border that wraps a check box. Returns undefined if this object has no parent.

    Returns Widget

getProgress

  • getProgress(): number
  • Return the currently displayed progress (0 to 1)

    Returns number

getText

  • getText(): string
  • Return the currently displayed text

    Returns string

setProgress

  • Set the displayed progressed. 0 is not progress, 1 shows the full bar

    Parameters

    • progress: number

    Returns ProgressBar

setText

  • Set the displayed text. Can include "\n" to indicate new lines.

    Parameters

    • text: string

    Returns ProgressBar