SpectAcoular documentation

factory

«  spectacoular.bokehview.add_bokeh_attr   ::   Reference Manual   ::   spectacoular.factory.get_widgets  »

factory

Implements factory for trait to widget translation.

get_widgets(self[, trait_widget_mapper, ...])

Creates a mapping between several class trait attributes and Bokeh widgets.

set_widgets(self, **kwargs)

Set instances of Bokeh widgets to certain trait attributes

BaseSpectacoular

Base class for any class defined in the SpectAcoular module.

NumericInputMapper(obj, traitname)

Factory that creates NumericInput widget from a class trait attribute of type Int.

ToggleMapper(obj, traitname)

Factory that creates Toggle widget from a class trait attribute of type Bool.

TextInputMapper(obj, traitname)

Factory that creates TextInput widget from a class trait attribute.

SelectMapper(obj, traitname)

Factory that creates Select widget from a class trait attribute.

SliderMapper(obj, traitname)

Factory that creates Slider widget from a class trait attribute.

DataTableMapper(obj, traitname)

Factory that creates DataTable widget from a class trait attribute.

«  spectacoular.bokehview.add_bokeh_attr   ::   Reference Manual   ::   spectacoular.factory.get_widgets  »