Packages

class InteractiveProgressBar extends ProgressBar

A progress bar that renders updates at a fixed duration interval until it's canceled.

Linear Supertypes
ProgressBar, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InteractiveProgressBar
  2. ProgressBar
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InteractiveProgressBar(out: Writer, renderer: ProgressRenderer, intervalDuration: Duration = Duration.ofMillis(16), terminal: Terminals = new Terminals(Tput.system), reportFailure: (Throwable) => Unit = e => e.printStackTrace(System.out), isDynamicPartEnabled: Boolean = true)

    out

    the output stream to emit the progress bar to. This progress bar should have exclusive access to the output stream between the start()/stop() methods. There are no guarantees what happens if this output stream is used concurrently while this progress bar is running.

    renderer

    pretty-printer for this progress bar. The renderStep() method runs on a single thread and should not take longer than the intervalDuration time to complete.

    intervalDuration

    the duration for which

    terminal

    the active part of the progress bar is truncated by the screen width/height constraints to avoid wonky output.

    reportFailure

    callback in case of any errors, by default prints the stack trace to System.out.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def isActive(): Boolean
  12. def isAfterStop(): Boolean
  13. def isBeforeStart(): Boolean
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def start(): Unit
    Definition Classes
    InteractiveProgressBarProgressBar
  19. def stop(): Unit
    Definition Classes
    InteractiveProgressBarProgressBar
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ProgressBar

Inherited from AnyRef

Inherited from Any

Ungrouped