flare.viur.bones.color

Module Contents

Classes

ColorEditWidget

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

ColorViewWidget

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

ColorBone

class flare.viur.bones.color.ColorEditWidget(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--color']
createWidget()

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

updateWidget()

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

onUnsetBtnClick()
serialize()

Serialize the widget value.

class flare.viur.bones.color.ColorViewWidget(bone, **kwargs)

Bases: flare.viur.bones.base.BaseViewWidget

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

unserialize(value=None)

Unserialize the widget value.

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

Bases: flare.viur.bones.base.BaseBone

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