Class/Object

almond.interpreter.api

OutputHandler

Related Docs: object OutputHandler | package api

Permalink

abstract class OutputHandler extends UpdateDisplay with Helpers with UpdateHelpers

Sends output to the Jupyter UI.

Can send stdout and stderr messages straightaway to the UI, short-circuiting the java.io.PrintStreams of println and the like.

Can also send more evolved messages, made of HTML, JS, etc.

Instances of OutputHandler are typically available to users in the implicit scope of code run via the kernel, and can publish stuff in the current cell *while it is running*.

If no cell is currently running, no new elements can be pushed to the UI, but previous ones can still be updated.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutputHandler
  2. UpdateHelpers
  3. Helpers
  4. UpdateDisplay
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OutputHandler()

    Permalink

Abstract Value Members

  1. abstract def display(displayData: DisplayData): Unit

    Permalink

    Sends DisplayData element to the Jupyter UI.

    Sends DisplayData element to the Jupyter UI.

    If idOpt in the data is non-empty, the corresponding output can be updated (see OutputHandler.UpdateDisplay).

  2. abstract def stderr(s: String): Unit

    Permalink

    Sends stderr output the the Jupyter UI

  3. abstract def stdout(s: String): Unit

    Permalink

    Sends stdout output the the Jupyter UI

  4. abstract def updateDisplay(displayData: DisplayData): Unit

    Permalink

    Updates a previously published element.

    Updates a previously published element.

    Definition Classes
    UpdateDisplay

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def html(html0: String, id: String): Unit

    Permalink
    Definition Classes
    Helpers
  12. final def html(html0: String): Unit

    Permalink
    Definition Classes
    Helpers
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def js(js0: String, id: String): Unit

    Permalink
    Definition Classes
    Helpers
  15. final def js(js0: String): Unit

    Permalink
    Definition Classes
    Helpers
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def updateHtml(html0: String, id: String): Unit

    Permalink
    Definition Classes
    UpdateHelpers
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UpdateHelpers

Inherited from Helpers

Inherited from UpdateDisplay

Inherited from AnyRef

Inherited from Any

Ungrouped