RenderersProcessor

RenderersProcessor is responsible for rendering objects. You may use it to render values exactly like notebook renders results, and also register new renderers in runtime.

Functions

Link copied to clipboard
Link copied to clipboard

Adds new renderer for this notebook. Don't turn on the optimizations for PrecompiledRendererTypeHandler

abstract fun registerWithoutOptimizing(renderer: RendererFieldHandler, priority: Int)
Link copied to clipboard
abstract fun renderValue(host: ExecutionHost, value: Any?): Any?

Renders value in context of this execution host

Link copied to clipboard
abstract fun unregister(renderer: RendererFieldHandler)
Link copied to clipboard
abstract fun unregisterAll()