Class: CUI.Input
Defined in: | elements/Input/Input.coffee |
Inherits: | CUI.DataFieldInput |
Overview
- coffeescript-ui - Coffeescript User Interface System (CUI)
- Copyright (c) 2013 - 2016 Programmfabrik GmbH
- MIT Licence
- https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
Direct Known Subclasses
CUI.DateTime CUI.EmailInput CUI.NumberInput CUI.MapInput CUI.MarkdownInput CUI.MultiInputInput CUI.Password
Variables Summary
- uniqueId =
-
0
Variable inherited from CUI.DataFieldInput
changed_marker_css_class defaults uniqueId
Instance Method Summary
- # (void) initOpts()
- # (void) readOpts()
- # (void) __checkInputRegexp(value)
- # (void) setSpellcheck(spellcheck)
- # (void) setPlaceholder(placeholder)
- # (void) getPlaceholder()
- # (void) __createElement(input_type = "text")
- # (void) __setCursor(ev)
- # (void) getValueForStore(value)
- # (void) storeValue(value, flags = {})
- # (void) handleSelectionChange()
- # (void) getElement()
- # (void) getUniqueIdForLabel()
- # (void) markBlock(ev, bl)
- # (void) remove()
- # (void) __focusShadowInput()
- # (void) __unfocusShadowInput()
- # (void) hasShadowFocus()
- # (void) setContentSize()
- # (void) __initContentSize()
- # (void) __setContentSize()
- # (void) checkBlocks(blocks)
- # (void) getInputBlocks()
- # (void) __getInputBlocks(v)
- # (void) __overwriteBlocks(v)
- # (void) getMarkedBlock() returns the currently exactly marked block if no block is found, returns null
- # (void) getSelection()
- # (void) setSelection(selection)
- # (void) selectAll()
- # (void) updateSelection(txt = "")
- # (void) setValue(v, flags = {})
- # (void) incNumberBounds(ev)
- # (void) __removeContentSize()
- # (void) __removeShadowInput()
- # (void) preventInvalidInput()
- # (void) __initShadowInput()
- # (void) __shadowInput(ev)
- # (void) checkValue(v)
- # (void) render()
- # (void) getTemplateKeyForRender()
- # (void) isRequired()
- # (void) updateInputState(__inputState = @__inputState)
- # (void) getInputState()
- # (void) leaveInput()
- # (void) enterInput()
- # (void) hasUserInput()
- # (void) checkInput(value)
- # (void) __checkInputInternal(value = @__input)
- # (void) setInputHint(txt)
- # (void) setInvalidHint(txt)
- # (void) setValidHint(txt)
- # (void) displayValue()
- # (void) getValueForDisplay()
- # (void) getValueForInput()
- # (void) correctValueForInput(value)
- # (void) getDefaultValue()
- # (void) getValue()
- # (void) enable()
- # (void) disable()
- # (void) focus()
- # (void) getCursorBlocks()
- # (void) findBlock(blocks, idx, cut)
- # (void) initCursor(ev)
- # (void) showCursor(ev)
- # (void) checkSelectionChange()
- # (void) getRangeFromCursor()
- # (void) moveCursor(ev)
- # (void) destroy()
Inherited Method Summary
Methods inherited from
CUI.DataFieldInput
#initOpts #getGroup #isResizable #readOpts #maximizeAddClasses #getUniqueIdForLabel #initTemplate #getTemplate #init #debug #reload #remove #getNameOpt #registerLabel #getLabel #setForm #getFormDepth #setFormDepth #getFormPath #getForm #getOtherField #getRootForm #__initDisabled #enable #disable #isDisabled #isHidden #isShown #updateData #setData #setDataOnOthers #hide #show #isRendered #render #displayValue #start #getAllDataFields #getDataFields #renderAsBlock #isDataField #callOnOthers #getData #hasData #hasUserData #getArrayFromOpt #getName #getDefaultValue #getValue #checkValue #setValue #getInitValue #getLastValue #reset #undo #redo #goto #initData #initValue #setCheckChangedValue #getCheckChangedValue #getUndo #storeValue #triggerDataChanged #isChanged #checkChanged #getChangedMarker #destroy .new #registerTemplate #getDOMElementClasses #registerDOMElement #getElementForLayer #unregisterDOMElement #__assertDOMElement #__assertTemplateElement #addClass #setAria #removeClass #hasClass #isDestroyed #empty #replace #append #prepend #text #get #getFlexHandle #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOptsFromAttr #proxy .getOptKeys
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
initOpts()
#
(void)
readOpts()
#
(void)
__checkInputRegexp(value)
#
(void)
setSpellcheck(spellcheck)
#
(void)
setPlaceholder(placeholder)
#
(void)
getPlaceholder()
#
(void)
__createElement(input_type = "text")
#
(void)
__setCursor(ev)
#
(void)
getValueForStore(value)
#
(void)
storeValue(value, flags = {})
#
(void)
handleSelectionChange()
#
(void)
getElement()
#
(void)
getUniqueIdForLabel()
#
(void)
markBlock(ev, bl)
#
(void)
remove()
#
(void)
__focusShadowInput()
#
(void)
__unfocusShadowInput()
#
(void)
hasShadowFocus()
#
(void)
setContentSize()
#
(void)
__initContentSize()
#
(void)
__setContentSize()
#
(void)
checkBlocks(blocks)
#
(void)
getInputBlocks()
#
(void)
__getInputBlocks(v)
#
(void)
__overwriteBlocks(v)
#
(void)
getMarkedBlock()
returns the currently exactly marked block if no block is found, returns null
#
(void)
getSelection()
#
(void)
setSelection(selection)
#
(void)
selectAll()
#
(void)
updateSelection(txt = "")
#
(void)
setValue(v, flags = {})
#
(void)
incNumberBounds(ev)
#
(void)
__removeContentSize()
#
(void)
__removeShadowInput()
#
(void)
preventInvalidInput()
#
(void)
__initShadowInput()
#
(void)
__shadowInput(ev)
#
(void)
checkValue(v)
#
(void)
render()
#
(void)
getTemplateKeyForRender()
#
(void)
isRequired()
#
(void)
updateInputState(__inputState = @__inputState)
#
(void)
getInputState()
#
(void)
leaveInput()
#
(void)
enterInput()
#
(void)
hasUserInput()
#
(void)
checkInput(value)
#
(void)
__checkInputInternal(value = @__input)
#
(void)
setInputHint(txt)
#
(void)
setInvalidHint(txt)
#
(void)
setValidHint(txt)
#
(void)
displayValue()
#
(void)
getValueForDisplay()
#
(void)
getValueForInput()
#
(void)
correctValueForInput(value)
#
(void)
getDefaultValue()
#
(void)
getValue()
#
(void)
enable()
#
(void)
disable()
#
(void)
focus()
#
(void)
getCursorBlocks()
#
(void)
findBlock(blocks, idx, cut)
#
(void)
initCursor(ev)
#
(void)
showCursor(ev)
#
(void)
checkSelectionChange()
#
(void)
getRangeFromCursor()
#
(void)
moveCursor(ev)
#
(void)
destroy()