Class: CUI.DataField

Defined in: base/DataField/DataField.coffee
Inherits: CUI.DOMElement

Direct Known Subclasses

CUI.DataFieldInput CUI.DataFieldProxy CUI.SimpleForm CUI.MultiOutput CUI.Options CUI.Slider

Variables Summary

changed_marker_css_class =
"cui-data-field-changed-marker"
defaults =
{
  undo_and_changed_support: false
}

Variable inherited from CUI.DOMElement

defaults uniqueId

Class Method Summary

Instance Method Summary

Inherited Method Summary

Methods inherited from CUI.DOMElement

#initOpts #registerTemplate #getDOMElementClasses #registerDOMElement #getElementForLayer #unregisterDOMElement #__assertDOMElement #__assertTemplateElement #addClass #setAria #removeClass #hide #show #hasClass #isDestroyed #empty #replace #append #prepend #text #get #getFlexHandle #destroy #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOpts #readOptsFromAttr #proxy .getOptKeys

Class Method Details

. (void) new(field, delete_keys = [], default_data = {})

Constructor Details

# (void) constructor(opts = {})

Instance Method Details

# (void) initOpts()

# (void) readOpts()

# (void) maximizeAddClasses()

# (void) getUniqueIdForLabel()

# (void) initTemplate()

# (void) getTemplate()

# (void) isResizable()

# (void) init()

# (void) debug()

# (void) toString()

# (void) reload()

# (void) remove()

# (void) getNameOpt()

# (void) registerLabel(lbl)

# (void) getLabel()

# (void) setForm(form)

# (void) getFormDepth()

# (void) setFormDepth()

# (void) getFormPath(include_self = false, path = [], call = 0)

# (void) getForm()

# (void) getOtherField(name)

short-cut to get other field

# (void) getRootForm()

# (void) __initDisabled()

# (void) enable()

# (void) disable()

# (void) isDisabled()

# (void) isHidden()

# (void) isShown()

# (void) updateData(data)

# (void) setData(data, init_data = true)

# (void) setDataOnOthers()

# (void) hide(trigger_event = false)

# (void) show(trigger_event = false)

# (void) isRendered()

# (void) render()

# (void) displayValue()

# (void) start()

# (void) getAllDataFields(all = false)

# (void) getDataFields(all = false, data_fields = [])

# (void) renderAsBlock()

# (void) isDataField()

# (void) callOnOthers(func, args...)

calls method on all DataFields inside the "right" side

# (void) getData()

# (void) hasData()

# (void) hasUserData(data)

# (void) getArrayFromOpt(opt, event, allowDeferred = false)

# (void) getName()

# (void) getDefaultValue()

data field needs to return the empty value to init data

# (void) getValue()

get the current value of the data field

# (void) checkValue()

# (void) setValue(v, flags = {})

# (void) getInitValue()

# (void) getLastValue()

# (void) reset()

# (void) undo()

# (void) redo()

# (void) goto(idx)

# (void) initData()

data fields need to initialise the data array

# (void) initValue()

# (void) setCheckChangedValue(value)

# (void) getCheckChangedValue()

# (void) getUndo()

# (void) storeValue(value, flags = {})

stores a user changed value and manages old and new values

# (void) triggerDataChanged(info = {})

# (void) isChanged()

# (void) checkChanged()

# (void) getChangedMarker()

# (void) destroy()

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: