Class: CUI.Element
Defined in: | base/Element.coffee |
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.CSSLoader CUI.CSVData CUI.DOMElement CUI.DragDropSelect CUI.Event CUI.Events CUI.Listener CUI.FlexHandle CUI.Icon CUI.Template CUI.XHR CUI.DocumentBrowser CUI.DocumentBrowser.NodeMatch CUI.DocumentBrowser.SearchMatch CUI.DocumentBrowser.SearchQuery CUI.FileUpload CUI.FileUploadFile CUI.InputBlock CUI.ListViewColumn CUI.ListViewRow CUI.MultiInputControl CUI.StickyHeaderControl
Variables Summary
- uniqueId =
-
0
Class Method Summary
- . (void) getOptKeys() this is a hackery function to return just the opts keys for a given class
- . (void) readOpts(opts, cls, check_map, map_values)
Instance Method Summary
- # (void) getElementClass()
- # (void) getUniqueId()
- # (void) getOpts()
- # (void) getOpt(key)
- # (void) hasOpt(key)
- # (void) getSetOpt(key)
- # (void) hasSetOpt(key)
- # (void) initOpts()
- # (void) copy() create a new instance from the same opts
- # (void) mergeOpt(key, check_map = {}) returns the merged opt
- # (void) removeOpt(key)
- # (void) addOpt(key, check_map, fn = "addOpt")
- # (void) addOpts(map)
- # (void) mergeOpts(map)
- # (void) __getCheckMap()
- # (void) readOpts(opts = @opts, cls = @__cls, check_map = @__check_map)
- # (void) readOptsFromAttr(str) read "style" like opts for layout
- # (void) proxy(element, methods) proxy given methods to given element
- # (void) destroy()
- # (void) isDestroyed()
Class Method Details
.
(void)
getOptKeys()
this is a hackery function to return just the opts keys for a given class
.
(void)
readOpts(opts, cls, check_map, map_values)
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
getElementClass()
#
(void)
getUniqueId()
#
(void)
getOpts()
#
(void)
getOpt(key)
#
(void)
hasOpt(key)
#
(void)
getSetOpt(key)
#
(void)
hasSetOpt(key)
#
(void)
initOpts()
#
(void)
copy()
create a new instance from the same opts
#
(void)
mergeOpt(key, check_map = {})
returns the merged opt
#
(void)
removeOpt(key)
#
(void)
addOpt(key, check_map, fn = "addOpt")
#
(void)
addOpts(map)
#
(void)
mergeOpts(map)
#
(void)
__getCheckMap()
#
(void)
readOpts(opts = @opts, cls = @__cls, check_map = @__check_map)
#
(void)
readOptsFromAttr(str)
read "style" like opts for layout
#
(void)
proxy(element, methods)
proxy given methods to given element
#
(void)
destroy()
#
(void)
isDestroyed()