flare.viur.bones.boolean

Module Contents

Classes

BooleanEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

BooleanViewWidget

Base class for a bone-compliant view widget implementation using a div.

BooleanBone

class flare.viur.bones.boolean.BooleanEditWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseEditWidget

Base class for a bone-compliant edit widget implementation using an input field.

This widget defines the general interface of a bone edit control.

style = ['flr-value', 'flr-value--boolean']
createWidget(self)

Function for creating the Widget or multiple Widgets that represent the bone.

updateWidget(self)

Function for updating the Widget or multiple Widgets that represent the bone.

unserialize(self, value=None)

Unserialize the widget value.

serialize(self)

Serialize the widget value.

class flare.viur.bones.boolean.BooleanViewWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseViewWidget

Base class for a bone-compliant view widget implementation using a div.

unserialize(self, value=None)

Unserialize the widget value.

class flare.viur.bones.boolean.BooleanBone(moduleName, boneName, skelStructure, errors=None, errorQueue=None, *args, **kwargs)

Bases: flare.viur.bones.base.BaseBone

editWidgetFactory
viewWidgetFactory
static checkFor(moduleName, boneName, skelStructure, *args, **kwargs)