From f348ca6543c774d7d0fc85a25092d6229eadba96 Mon Sep 17 00:00:00 2001 From: gnovos Date: Thu, 23 Jul 2015 19:49:56 -0700 Subject: [PATCH 1/5] Mostly working but mounting examples is still WIP --- compositions/smoke/plugin.dre | 16 ++++ core/compositionserver.js | 21 ++++- core/dreemcompiler.js | 16 +++- core/pluginloader.js | 171 ++++++++++++++++++++++++++++++++++ core/teemserver.js | 4 + define.js | 21 ++++- server.js | 15 ++- 7 files changed, 253 insertions(+), 11 deletions(-) create mode 100644 compositions/smoke/plugin.dre create mode 100644 core/pluginloader.js diff --git a/compositions/smoke/plugin.dre b/compositions/smoke/plugin.dre new file mode 100644 index 0000000..015fdee --- /dev/null +++ b/compositions/smoke/plugin.dre @@ -0,0 +1,16 @@ + + + + + + + + + + + + + console.log('COMPOSITION SERVER IS RUNNING'); + + + \ No newline at end of file diff --git a/core/compositionserver.js b/core/compositionserver.js index 669d4d3..2f066ae 100644 --- a/core/compositionserver.js +++ b/core/compositionserver.js @@ -18,6 +18,7 @@ define(function(require, exports, module) { FileWatcher = require('./filewatcher'), HTMLParser = require('./htmlparser'), DreemError = require('./dreemerror'), + PluginLoader = require('./pluginloader'), dreemCompiler = require('./dreemcompiler'); /** @@ -30,7 +31,8 @@ define(function(require, exports, module) { this.teemserver = teemserver; this.args = args; this.name = name; - + + this.pluginLoader = new PluginLoader(this.args, this.name, this); this.busserver = new BusServer(); this.watcher = new FileWatcher(); this.watcher.onChange = function(file) { @@ -233,7 +235,19 @@ define(function(require, exports, module) { var htmlParser = new HTMLParser(), source = data.toString(), jsobj = htmlParser.parse(source); - + + if (jsobj.tag == '$root' && jsobj.child) { + + var children = jsobj.child; + var composition; + for (var i=0;i for the server + * Manages all iOT objects and the BusServer for each Plugin + */ +define(function(require, exports, module) { + module.exports = PluginLoader; + + var path = require('path'), + fs = require('fs'), + + ExternalApps = require('./externalapps'), + BusServer = require('./busserver'), + FileWatcher = require('./filewatcher'), + HTMLParser = require('./htmlparser'), + DreemError = require('./dreemerror'), + dreemCompiler = require('./dreemcompiler'); + + function PluginLoader(args, name, compositionserver, teemserver) { + this.compositionServer = compositionserver; + this.teemServer = teemserver; + this.args = args; + this.name = name; + this.plugins = []; + + this.__findPlugins(); + } + + body.call(PluginLoader.prototype); + + function body() { + + this.__findPlugins = function() { + var pluginDirs = this.args['-plugin']; + if (!Array.isArray(pluginDirs)) { + pluginDirs = [pluginDirs] + } + + var errors = []; + for (var i=0;i=0;i--) { + var obj = this.extractedObjects[i]; + + var matchingTag = undefined; + for (var j=0;j 0) { + var children = root[0].child; + for (var j=0;j Date: Fri, 24 Jul 2015 13:41:30 -0700 Subject: [PATCH 2/5] Server plugins/foo/examples/composition.dre automatically --- compositions/smoke/plugin.dre | 16 ---------------- core/compositionserver.js | 22 ++++++++++++++++------ core/pluginloader.js | 30 ++++++++---------------------- core/teemserver.js | 15 +++++++-------- define.js | 7 +++++++ 5 files changed, 38 insertions(+), 52 deletions(-) delete mode 100644 compositions/smoke/plugin.dre diff --git a/compositions/smoke/plugin.dre b/compositions/smoke/plugin.dre deleted file mode 100644 index 015fdee..0000000 --- a/compositions/smoke/plugin.dre +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - console.log('COMPOSITION SERVER IS RUNNING'); - - - \ No newline at end of file diff --git a/core/compositionserver.js b/core/compositionserver.js index 2f066ae..33a25a7 100644 --- a/core/compositionserver.js +++ b/core/compositionserver.js @@ -18,7 +18,6 @@ define(function(require, exports, module) { FileWatcher = require('./filewatcher'), HTMLParser = require('./htmlparser'), DreemError = require('./dreemerror'), - PluginLoader = require('./pluginloader'), dreemCompiler = require('./dreemcompiler'); /** @@ -32,7 +31,6 @@ define(function(require, exports, module) { this.args = args; this.name = name; - this.pluginLoader = new PluginLoader(this.args, this.name, this); this.busserver = new BusServer(); this.watcher = new FileWatcher(); this.watcher.onChange = function(file) { @@ -168,7 +166,7 @@ define(function(require, exports, module) { } } else { res.writeHead(404, {"Content-Type":"text/html"}); - res.write('NOT FOUND'); + res.write('NO SCREENS FOUND'); res.end(); } } @@ -243,7 +241,7 @@ define(function(require, exports, module) { for (var i=0;i 0) { var children = root[0].child; @@ -122,6 +117,7 @@ define(function(require, exports, module) { var htmlParser = new HTMLParser(); var source = data.toString(); var plugin = htmlParser.parse(source); + plugin.rootDir = dir; // forward the parser errors if (htmlParser.errors.length) { @@ -148,13 +144,7 @@ define(function(require, exports, module) { this.__originate(plugin, plugin.pkg.name); - this.plugins.push(plugin); - - var examplesDir = dir + '/examples'; - if (fs.existsSync(examplesDir)) { - this.teemServer.mount(examplesDir); - } - + this.plugins[plugin.pkg.name] = plugin; } catch(e) { errors.push(new DreemError("Error during readFileSync in __loadPlugin: " + e.toString())); @@ -162,10 +152,6 @@ define(function(require, exports, module) { }; - //mounted examples - //require Just Works - - } }); \ No newline at end of file diff --git a/core/teemserver.js b/core/teemserver.js index 61dd0a6..b6ffd94 100644 --- a/core/teemserver.js +++ b/core/teemserver.js @@ -19,6 +19,7 @@ define(function(require, exports, module) { ExternalApps = require('$CORE/externalapps'), BusServer = require('$CORE/busserver'), CompositionServer = require('$CORE/compositionserver'), + PluginLoader = require('./pluginloader'), NodeWebSocket = require('$CORE/nodewebsocket'), SauceRunner = require('$CORE/saucerunner'); @@ -103,6 +104,8 @@ define(function(require, exports, module) { if (this.args['-web']) this.__getComposition(this.args['-web']); this.saucerunner = new SauceRunner(); + + this.pluginLoader = new PluginLoader(this.args, this.name, this); } body.call(TeemServer.prototype) @@ -129,7 +132,7 @@ define(function(require, exports, module) { // Strip Query var queryIndex = url.indexOf('?'); if (queryIndex !== -1) url = url.substring(0, queryIndex); - + if (url.endsWith(define.DREEM_EXTENSION)) { url = url.substring(0, url.length - define.DREEM_EXTENSION.length); @@ -149,11 +152,7 @@ define(function(require, exports, module) { } }; - this.mount = function(dir) { - console.log('MOUNTING', dir) - }; - - /** + /** * Handle protocol upgrade to WebSocket * @param {Request} req * @param {Socket} sock @@ -204,7 +203,7 @@ define(function(require, exports, module) { res.end(); } else { res.writeHead(404); - res.write('NOT FOUND'); + res.write('FILE NOT FOUND'); res.end(); console.color('~br~Error~y~ ' + filePath + '~~ In teemserver.js request handling. File not found, returning 404\n'); } @@ -236,4 +235,4 @@ define(function(require, exports, module) { } }; } -}) +}); diff --git a/define.js b/define.js index f370da6..a8d430c 100644 --- a/define.js +++ b/define.js @@ -88,6 +88,13 @@ function(all, lut) { if (lut in define) { if (lut == 'PLUGIN') { + + //FIXME: there is probably a better way to do this but by this point + // there's no information as to where the str came from, so we can't + // tell which plugin is asking for it's library. So just iterate + // through all the plugin directories and use the first match. + // This will cause problems someday. + if (!define.__FS) { define.__FS = require('fs'); } From aa334a273eba394701fc8187d7bb03a128661548 Mon Sep 17 00:00:00 2001 From: gnovos Date: Mon, 27 Jul 2015 14:48:44 -0700 Subject: [PATCH 3/5] update docs --- .../data-4a543d7d078c3f954b43376d15934fb1.js | 1 + .../data-ab1b8e3c387bdacd5b73b0388808e963.js | 1 - docs/api/guides/plugins/README.js | 1 + docs/api/guides/plugins/README.md | 61 ++ docs/api/guides/plugins/icon.png | Bin 0 -> 13215 bytes docs/api/index.html | 21 +- docs/api/output/BusServer.js | 2 +- docs/api/output/Compiler.js | 2 +- docs/api/output/PluginLoader.js | 1 + docs/api/output/dr.alignlayout.js | 2 +- docs/api/output/dr.bitmap.js | 2 +- docs/api/output/dr.buttonbase.js | 2 +- docs/api/output/dr.checkbutton.js | 2 +- docs/api/output/dr.dropdown.js | 1 + docs/api/output/dr.dropdownfont.js | 1 + docs/api/output/dr.editor.attrundoable.js | 1 + docs/api/output/dr.editor.compoundundoable.js | 1 + docs/api/output/dr.editor.createundoable.js | 1 + docs/api/output/dr.editor.deleteundoable.js | 1 + docs/api/output/dr.editor.orderundoable.js | 1 + docs/api/output/dr.editor.undoable.js | 1 + docs/api/output/dr.editor.undostack.js | 1 + docs/api/output/dr.fontdetect.js | 1 + docs/api/output/dr.indicator.js | 2 +- docs/api/output/dr.inputtext.js | 2 +- docs/api/output/dr.labelbutton.js | 2 +- docs/api/output/dr.labeltoggle.js | 2 +- docs/api/output/dr.markup.js | 2 +- docs/api/output/dr.node.js | 2 +- docs/api/output/dr.rangeslider.js | 2 +- docs/api/output/dr.replicator.js | 2 +- docs/api/output/dr.resizelayout.js | 2 +- docs/api/output/dr.slider.js | 2 +- docs/api/output/dr.spacedlayout.js | 2 +- docs/api/output/dr.text.js | 2 +- docs/api/output/dr.textlistbox.js | 1 + docs/api/output/dr.textlistboxitem.js | 1 + docs/api/output/dr.variablelayout.js | 2 +- docs/api/output/dr.videoplayer.js | 2 +- docs/api/output/dr.view.js | 2 +- docs/api/output/dr.webpage.js | 2 +- docs/api/output/dr.wrappinglayout.js | 2 +- docs/api/output/global.js | 2 +- docs/api/source/AccessorSupport.html | 24 +- docs/api/source/Activateable.html | 210 +++++- docs/api/source/AnimBase.html | 10 +- docs/api/source/Disableable.html | 305 ++++++-- docs/api/source/GlobalError.html | 7 +- docs/api/source/GlobalKeys.html | 7 + docs/api/source/GlobalKeys2.html | 25 +- docs/api/source/GlobalMouse.html | 9 +- docs/api/source/GlobalRequestor.html | 2 +- docs/api/source/KeyActivation.html | 644 ++++++++++++----- docs/api/source/MouseDown.html | 543 ++++++++++---- docs/api/source/MouseOver.html | 495 ++++++++++--- docs/api/source/MouseOverAndDown.html | 187 ++++- docs/api/source/Observer.html | 2 +- docs/api/source/PlatformObserver.html | 11 + docs/api/source/UpdateableUI.html | 255 +++++-- docs/api/source/View3.html | 109 ++- docs/api/source/alignlayout.html | 2 +- docs/api/source/attrundoable.html | 422 +++++++++++ docs/api/source/bitmap.html | 14 + docs/api/source/bitmap3.html | 5 + docs/api/source/button.html | 260 ++++++- docs/api/source/button2.html | 21 - docs/api/source/buttonbase.html | 6 +- docs/api/source/checkbutton.html | 2 +- docs/api/source/compositionserver.html | 239 ++++++- docs/api/source/compoundundoable.html | 354 ++++++++++ docs/api/source/createundoable.html | 332 +++++++++ docs/api/source/datapath.html | 6 +- docs/api/source/deleteundoable.html | 326 +++++++++ docs/api/source/dr.html | 30 + docs/api/source/draggable.html | 528 +++++++++++++- docs/api/source/draggable2.html | 21 - docs/api/source/dreemMaker.html | 74 +- docs/api/source/dreemcompiler.html | 54 +- docs/api/source/dropdown.html | 338 +++++++++ docs/api/source/dropdownfont.html | 274 ++++++++ docs/api/source/fontdetect.html | 294 ++++++++ docs/api/source/htmlparser.html | 38 +- docs/api/source/labelbutton.html | 6 +- docs/api/source/listboxtext.html | 412 +++++++++++ docs/api/source/listboxtextitem.html | 232 ++++++ docs/api/source/orderundoable.html | 276 ++++++++ docs/api/source/pluginloader.html | 176 +++++ docs/api/source/replicator.html | 102 +-- docs/api/source/resizelayout.html | 2 +- docs/api/source/saucerunner.html | 66 ++ docs/api/source/spacedlayout.html | 10 +- docs/api/source/sprite.html | 4 +- docs/api/source/teemserver.html | 38 +- docs/api/source/text.html | 22 + docs/api/source/text3.html | 5 + docs/api/source/undoable.html | 356 ++++++++++ docs/api/source/undostack.html | 664 ++++++++++++++++++ docs/api/source/variablelayout.html | 10 +- docs/api/source/wrappinglayout.html | 2 +- docs/categories.json | 2 +- docs/classdocs/activateable.js | 10 + docs/classdocs/attrundoable.js | 64 ++ docs/classdocs/bitmap.js | 5 + docs/classdocs/button.js | 43 +- docs/classdocs/buttonbase.js | 6 +- docs/classdocs/compoundundoable.js | 31 + docs/classdocs/createundoable.js | 23 + docs/classdocs/deleteundoable.js | 23 + docs/classdocs/disableable.js | 19 + docs/classdocs/draggable.js | 83 ++- docs/classdocs/dropdown.js | 21 + docs/classdocs/dropdownfont.js | 5 + docs/classdocs/fontdetect.js | 17 + docs/classdocs/keyactivation.js | 57 ++ docs/classdocs/labelbutton.js | 2 +- docs/classdocs/listboxtext.js | 37 + docs/classdocs/listboxtextitem.js | 6 + docs/classdocs/mousedown.js | 47 ++ docs/classdocs/mouseover.js | 39 + docs/classdocs/mouseoveranddown.js | 4 + docs/classdocs/orderundoable.js | 17 + docs/classdocs/replicator.js | 8 - docs/classdocs/text.js | 5 + docs/classdocs/undoable.js | 62 ++ docs/classdocs/undostack.js | 117 +++ docs/classdocs/updateableui.js | 12 + docs/classdocs/variablelayout.js | 5 +- docs/guides.json | 2 +- docs/guides/plugins/README.md | 61 ++ 129 files changed, 8982 insertions(+), 865 deletions(-) create mode 100644 docs/api/data-4a543d7d078c3f954b43376d15934fb1.js delete mode 100644 docs/api/data-ab1b8e3c387bdacd5b73b0388808e963.js create mode 100644 docs/api/guides/plugins/README.js create mode 100644 docs/api/guides/plugins/README.md create mode 100644 docs/api/guides/plugins/icon.png create mode 100644 docs/api/output/PluginLoader.js create mode 100644 docs/api/output/dr.dropdown.js create mode 100644 docs/api/output/dr.dropdownfont.js create mode 100644 docs/api/output/dr.editor.attrundoable.js create mode 100644 docs/api/output/dr.editor.compoundundoable.js create mode 100644 docs/api/output/dr.editor.createundoable.js create mode 100644 docs/api/output/dr.editor.deleteundoable.js create mode 100644 docs/api/output/dr.editor.orderundoable.js create mode 100644 docs/api/output/dr.editor.undoable.js create mode 100644 docs/api/output/dr.editor.undostack.js create mode 100644 docs/api/output/dr.fontdetect.js create mode 100644 docs/api/output/dr.textlistbox.js create mode 100644 docs/api/output/dr.textlistboxitem.js create mode 100644 docs/api/source/attrundoable.html delete mode 100644 docs/api/source/button2.html create mode 100644 docs/api/source/compoundundoable.html create mode 100644 docs/api/source/createundoable.html create mode 100644 docs/api/source/deleteundoable.html delete mode 100644 docs/api/source/draggable2.html create mode 100644 docs/api/source/dropdown.html create mode 100644 docs/api/source/dropdownfont.html create mode 100644 docs/api/source/fontdetect.html create mode 100644 docs/api/source/listboxtext.html create mode 100644 docs/api/source/listboxtextitem.html create mode 100644 docs/api/source/orderundoable.html create mode 100644 docs/api/source/pluginloader.html create mode 100644 docs/api/source/saucerunner.html create mode 100644 docs/api/source/undoable.html create mode 100644 docs/api/source/undostack.html create mode 100644 docs/classdocs/activateable.js create mode 100644 docs/classdocs/attrundoable.js create mode 100644 docs/classdocs/compoundundoable.js create mode 100644 docs/classdocs/createundoable.js create mode 100644 docs/classdocs/deleteundoable.js create mode 100644 docs/classdocs/disableable.js create mode 100644 docs/classdocs/dropdown.js create mode 100644 docs/classdocs/dropdownfont.js create mode 100644 docs/classdocs/fontdetect.js create mode 100644 docs/classdocs/keyactivation.js create mode 100644 docs/classdocs/listboxtext.js create mode 100644 docs/classdocs/listboxtextitem.js create mode 100644 docs/classdocs/mousedown.js create mode 100644 docs/classdocs/mouseover.js create mode 100644 docs/classdocs/mouseoveranddown.js create mode 100644 docs/classdocs/orderundoable.js create mode 100644 docs/classdocs/undoable.js create mode 100644 docs/classdocs/undostack.js create mode 100644 docs/classdocs/updateableui.js create mode 100644 docs/guides/plugins/README.md diff --git a/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js b/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js new file mode 100644 index 0000000..db9e705 --- /dev/null +++ b/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js @@ -0,0 +1 @@ +Docs = {"data":{"classes":[{"name":"BusClient","extends":null,"private":null,"icon":"icon-class"},{"name":"BusServer","extends":null,"private":null,"icon":"icon-class"},{"name":"CompositionServer","extends":null,"private":null,"icon":"icon-class"},{"name":"DaliGen","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemCompiler","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemError","extends":null,"private":null,"icon":"icon-class"},{"name":"FileWatcher","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.HTMLParser","extends":null,"private":null,"icon":"icon-class"},{"name":"NodeWebSocket","extends":null,"private":null,"icon":"icon-class"},{"name":"PluginLoader","extends":null,"private":null,"icon":"icon-class"},{"name":"RunMonitor","extends":null,"private":null,"icon":"icon-class"},{"name":"TeemServer","extends":null,"private":null,"icon":"icon-class"},{"name":"Eventable","extends":"Module","private":null,"icon":"icon-class"},{"name":"dr.node","extends":"Eventable","private":null,"icon":"icon-class"},{"name":"parser.Error","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.Animator.DEFAULT_MOTION","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.layout","extends":"dr.baselayout","private":null,"icon":"icon-class"},{"name":"dr.view","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.alignlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.editor.attrundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.bitmap","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.buttonbase","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.checkbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.editor.compoundundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.constantlayout","extends":"dr.layout","private":null,"icon":"icon-class"},{"name":"dr.editor.createundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.datapath","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.dataset","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.editor.deleteundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.dropdown","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.dropdownfont","extends":"dr.dropdown","private":null,"icon":"icon-class"},{"name":"dr.expectedoutput","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.fontdetect","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.indicator","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.inputtext","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.labelbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.labeltoggle","extends":"dr.labelbutton","private":null,"icon":"icon-class"},{"name":"dr.textlistbox","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.textlistboxitem","extends":"dr.text","private":null,"icon":"icon-class"},{"name":"dr.markup","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.orderundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.rangeslider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.replicator","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.resizelayout","extends":"dr.spacedlayout","private":null,"icon":"icon-class"},{"name":"dr.sizetoplatform","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.slider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.spacedlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.style","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.testingtimer","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.text","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.undoable","extends":"dr.eventable","private":null,"icon":"icon-class"},{"name":"dr.editor.undostack","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.variablelayout","extends":"dr.constantlayout","private":null,"icon":"icon-class"},{"name":"dr.videoplayer","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.webpage","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.wrappinglayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"global","extends":null,"private":null,"icon":"icon-class"}],"guides":[{"title":"Dreem Guides","items":[{"name":"constraints","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints/README.md"},{"name":"debug","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem ","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug/README.md"},{"name":"packages","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages/README.md"},{"name":"plugins","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins","title":"Dreem Plugin Guide","description":"This introduction to building plugins in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins/README.md"},{"name":"startingwithdreem","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem/README.md"},{"name":"subclassing","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing/README.md"}]}],"videos":[],"examples":[],"search":[{"name":"BusClient","fullName":"BusClient","icon":"icon-class","url":"#!/api/BusClient","meta":{},"sort":1},{"name":"__reconnect","fullName":"BusClient.__reconnect","icon":"icon-method","url":"#!/api/BusClient-method-__reconnect","meta":{},"sort":3},{"name":"send","fullName":"BusClient.send","icon":"icon-method","url":"#!/api/BusClient-method-send","meta":{},"sort":3},{"name":"onMessage","fullName":"BusClient.onMessage","icon":"icon-event","url":"#!/api/BusClient-event-onMessage","meta":{},"sort":3},{"name":"BusServer","fullName":"BusServer","icon":"icon-class","url":"#!/api/BusServer","meta":{},"sort":1},{"name":"addWebSocket","fullName":"BusServer.addWebSocket","icon":"icon-method","url":"#!/api/BusServer-method-addWebSocket","meta":{},"sort":3},{"name":"onMessage","fullName":"BusServer.onMessage","icon":"icon-event","url":"#!/api/BusServer-event-onMessage","meta":{},"sort":3},{"name":"onConnect","fullName":"BusServer.onConnect","icon":"icon-event","url":"#!/api/BusServer-event-onConnect","meta":{},"sort":3},{"name":"broadcast","fullName":"BusServer.broadcast","icon":"icon-method","url":"#!/api/BusServer-method-broadcast","meta":{},"sort":3},{"name":"getHTML","fullName":"BusServer.getHTML","icon":"icon-method","url":"#!/api/BusServer-method-getHTML","meta":{},"sort":3},{"name":"CompositionServer","fullName":"CompositionServer","icon":"icon-class","url":"#!/api/CompositionServer","meta":{},"sort":1},{"name":"request","fullName":"CompositionServer.request","icon":"icon-method","url":"#!/api/CompositionServer-method-request","meta":{},"sort":3},{"name":"onChange","fullName":"CompositionServer.onChange","icon":"icon-event","url":"#!/api/CompositionServer-event-onChange","meta":{},"sort":3},{"name":"__buildScreenPath","fullName":"CompositionServer.__buildScreenPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildScreenPath","meta":{"private":true},"sort":3},{"name":"__buildPath","fullName":"CompositionServer.__buildPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildPath","meta":{"private":true},"sort":3},{"name":"__showErrors","fullName":"CompositionServer.__showErrors","icon":"icon-method","url":"#!/api/CompositionServer-method-__showErrors","meta":{"private":true},"sort":3},{"name":"__parseDreSync","fullName":"CompositionServer.__parseDreSync","icon":"icon-method","url":"#!/api/CompositionServer-method-__parseDreSync","meta":{"private":true},"sort":3},{"name":"__makeLocalDeps","fullName":"CompositionServer.__makeLocalDeps","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeLocalDeps","meta":{"private":true},"sort":3},{"name":"__lookupDep","fullName":"CompositionServer.__lookupDep","icon":"icon-method","url":"#!/api/CompositionServer-method-__lookupDep","meta":{"private":true},"sort":3},{"name":"__compileAndWriteDreToJS","fullName":"CompositionServer.__compileAndWriteDreToJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileAndWriteDreToJS","meta":{},"sort":3},{"name":"__compileLocalClass","fullName":"CompositionServer.__compileLocalClass","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileLocalClass","meta":{"private":true},"sort":3},{"name":"__handleInclude","fullName":"CompositionServer.__handleInclude","icon":"icon-method","url":"#!/api/CompositionServer-method-__handleInclude","meta":{"private":true},"sort":3},{"name":"__getCompositionPath","fullName":"CompositionServer.__getCompositionPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__getCompositionPath","meta":{"private":true},"sort":3},{"name":"__reloadComposition","fullName":"CompositionServer.__reloadComposition","icon":"icon-method","url":"#!/api/CompositionServer-method-__reloadComposition","meta":{"private":true},"sort":3},{"name":"__makeComponentJS","fullName":"CompositionServer.__makeComponentJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeComponentJS","meta":{"private":true},"sort":3},{"name":"__makeScreenJS","fullName":"CompositionServer.__makeScreenJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeScreenJS","meta":{"private":true},"sort":3},{"name":"__packageDali","fullName":"CompositionServer.__packageDali","icon":"icon-method","url":"#!/api/CompositionServer-method-__packageDali","meta":{},"sort":3},{"name":"__renderHTMLTemplate","fullName":"CompositionServer.__renderHTMLTemplate","icon":"icon-method","url":"#!/api/CompositionServer-method-__renderHTMLTemplate","meta":{},"sort":3},{"name":"__mkdirParent","fullName":"CompositionServer.__mkdirParent","icon":"icon-method","url":"#!/api/CompositionServer-method-__mkdirParent","meta":{},"sort":3},{"name":"__writeFileIfChanged","fullName":"CompositionServer.__writeFileIfChanged","icon":"icon-method","url":"#!/api/CompositionServer-method-__writeFileIfChanged","meta":{},"sort":3},{"name":"DaliGen","fullName":"DaliGen","icon":"icon-class","url":"#!/api/DaliGen","meta":{},"sort":1},{"name":"DreemCompiler","fullName":"DreemCompiler","icon":"icon-class","url":"#!/api/DreemCompiler","meta":{},"sort":1},{"name":"DreemError","fullName":"DreemError","icon":"icon-class","url":"#!/api/DreemError","meta":{},"sort":1},{"name":"FileWatcher","fullName":"FileWatcher","icon":"icon-class","url":"#!/api/FileWatcher","meta":{},"sort":1},{"name":"onChange","fullName":"FileWatcher.onChange","icon":"icon-event","url":"#!/api/FileWatcher-event-onChange","meta":{},"sort":3},{"name":"watch","fullName":"FileWatcher.watch","icon":"icon-method","url":"#!/api/FileWatcher-method-watch","meta":{},"sort":3},{"name":"HTMLParser","fullName":"parser.HTMLParser","icon":"icon-class","url":"#!/api/parser.HTMLParser","meta":{},"sort":1},{"name":"reserialize","fullName":"parser.HTMLParser.reserialize","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-reserialize","meta":{},"sort":3},{"name":"parse","fullName":"parser.HTMLParser.parse","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-parse","meta":{},"sort":3},{"name":"NodeWebSocket","fullName":"NodeWebSocket","icon":"icon-class","url":"#!/api/NodeWebSocket","meta":{},"sort":1},{"name":"onMessage","fullName":"NodeWebSocket.onMessage","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onMessage","meta":{},"sort":3},{"name":"onClose","fullName":"NodeWebSocket.onClose","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onClose","meta":{},"sort":3},{"name":"onError","fullName":"NodeWebSocket.onError","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onError","meta":{},"sort":3},{"name":"send","fullName":"NodeWebSocket.send","icon":"icon-method","url":"#!/api/NodeWebSocket-method-send","meta":{},"sort":3},{"name":"close","fullName":"NodeWebSocket.close","icon":"icon-method","url":"#!/api/NodeWebSocket-method-close","meta":{},"sort":3},{"name":"PluginLoader","fullName":"PluginLoader","icon":"icon-class","url":"#!/api/PluginLoader","meta":{},"sort":1},{"name":"RunMonitor","fullName":"RunMonitor","icon":"icon-class","url":"#!/api/RunMonitor","meta":{},"sort":1},{"name":"restart_delay","fullName":"RunMonitor.restart_delay","icon":"icon-attribute","url":"#!/api/RunMonitor-attribute-restart_delay","meta":{},"sort":3},{"name":"TeemServer","fullName":"TeemServer","icon":"icon-class","url":"#!/api/TeemServer","meta":{},"sort":1},{"name":"broadcast","fullName":"TeemServer.broadcast","icon":"icon-method","url":"#!/api/TeemServer-method-broadcast","meta":{},"sort":3},{"name":"","fullName":"TeemServer.","icon":"icon-method","url":"#!/api/TeemServer-method-","meta":{},"sort":3},{"name":"__upgrade","fullName":"TeemServer.__upgrade","icon":"icon-method","url":"#!/api/TeemServer-method-__upgrade","meta":{},"sort":3},{"name":"request","fullName":"TeemServer.request","icon":"icon-method","url":"#!/api/TeemServer-method-request","meta":{},"sort":3},{"name":"Eventable","fullName":"Eventable","icon":"icon-class","url":"#!/api/Eventable","meta":{},"sort":1},{"name":"initing","fullName":"Eventable.initing","icon":"icon-attribute","url":"#!/api/Eventable-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"Eventable.inited","icon":"icon-attribute","url":"#!/api/Eventable-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"initialize","fullName":"Eventable.initialize","icon":"icon-method","url":"#!/api/Eventable-method-initialize","meta":{},"sort":3},{"name":"init","fullName":"Eventable.init","icon":"icon-method","url":"#!/api/Eventable-method-init","meta":{},"sort":3},{"name":"destroy","fullName":"Eventable.destroy","icon":"icon-method","url":"#!/api/Eventable-method-destroy","meta":{},"sort":3},{"name":"node","fullName":"dr.node","icon":"icon-class","url":"#!/api/dr.node","meta":{},"sort":1},{"name":"parent","fullName":"dr.node.parent","icon":"icon-event","url":"#!/api/dr.node-event-parent","meta":{},"sort":3},{"name":"parent","fullName":"dr.node.parent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-parent","meta":{},"sort":3},{"name":"$textcontent","fullName":"dr.node.$textcontent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-S-textcontent","meta":{},"sort":3},{"name":"initing","fullName":"dr.node.initing","icon":"icon-attribute","url":"#!/api/dr.node-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"dr.node.inited","icon":"icon-attribute","url":"#!/api/dr.node-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"isBeingDestroyed","fullName":"dr.node.isBeingDestroyed","icon":"icon-attribute","url":"#!/api/dr.node-attribute-isBeingDestroyed","meta":{"readonly":true},"sort":3},{"name":"placement","fullName":"dr.node.placement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-placement","meta":{},"sort":3},{"name":"defaultplacement","fullName":"dr.node.defaultplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-defaultplacement","meta":{},"sort":3},{"name":"ignoreplacement","fullName":"dr.node.ignoreplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-ignoreplacement","meta":{},"sort":3},{"name":"__disallowPlacement","fullName":"dr.node.__disallowPlacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__disallowPlacement","meta":{},"sort":3},{"name":"__animPool","fullName":"dr.node.__animPool","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__animPool","meta":{"private":true},"sort":3},{"name":"subnodes","fullName":"dr.node.subnodes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-subnodes","meta":{},"sort":3},{"name":"name","fullName":"dr.node.name","icon":"icon-attribute","url":"#!/api/dr.node-attribute-name","meta":{},"sort":3},{"name":"id","fullName":"dr.node.id","icon":"icon-attribute","url":"#!/api/dr.node-attribute-id","meta":{},"sort":3},{"name":"scriptincludes","fullName":"dr.node.scriptincludes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludes","meta":{},"sort":3},{"name":"scriptincludeserror","fullName":"dr.node.scriptincludeserror","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludeserror","meta":{},"sort":3},{"name":"getMatchingAncestorOrSelf","fullName":"dr.node.getMatchingAncestorOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestorOrSelf","meta":{},"sort":3},{"name":"getMatchingAncestor","fullName":"dr.node.getMatchingAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestor","meta":{},"sort":3},{"name":"initialize","fullName":"dr.node.initialize","icon":"icon-method","url":"#!/api/dr.node-method-initialize","meta":{},"sort":3},{"name":"initNode","fullName":"dr.node.initNode","icon":"icon-method","url":"#!/api/dr.node-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.node.notifyReady","icon":"icon-method","url":"#!/api/dr.node-method-notifyReady","meta":{},"sort":3},{"name":"doBeforeAdoption","fullName":"dr.node.doBeforeAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doBeforeAdoption","meta":{},"sort":3},{"name":"doAfterAdoption","fullName":"dr.node.doAfterAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doAfterAdoption","meta":{},"sort":3},{"name":"__makeChildren","fullName":"dr.node.__makeChildren","icon":"icon-method","url":"#!/api/dr.node-method-__makeChildren","meta":{"private":true},"sort":3},{"name":"__registerHandlers","fullName":"dr.node.__registerHandlers","icon":"icon-method","url":"#!/api/dr.node-method-__registerHandlers","meta":{"private":true},"sort":3},{"name":"destroy","fullName":"dr.node.destroy","icon":"icon-method","url":"#!/api/dr.node-method-destroy","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.node.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.node.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"set_parent","fullName":"dr.node.set_parent","icon":"icon-method","url":"#!/api/dr.node-method-set_parent","meta":{},"sort":3},{"name":"set_name","fullName":"dr.node.set_name","icon":"icon-method","url":"#!/api/dr.node-method-set_name","meta":{},"sort":3},{"name":"set_id","fullName":"dr.node.set_id","icon":"icon-method","url":"#!/api/dr.node-method-set_id","meta":{},"sort":3},{"name":"getSubnodes","fullName":"dr.node.getSubnodes","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodes","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.node.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.node-method-getTypeForAttrName","meta":{},"sort":3},{"name":"createChild","fullName":"dr.node.createChild","icon":"icon-method","url":"#!/api/dr.node-method-createChild","meta":{},"sort":3},{"name":"determinePlacement","fullName":"dr.node.determinePlacement","icon":"icon-method","url":"#!/api/dr.node-method-determinePlacement","meta":{},"sort":3},{"name":"__addNameRef","fullName":"dr.node.__addNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__addNameRef","meta":{"private":true},"sort":3},{"name":"__removeNameRef","fullName":"dr.node.__removeNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__removeNameRef","meta":{"private":true},"sort":3},{"name":"getRoot","fullName":"dr.node.getRoot","icon":"icon-method","url":"#!/api/dr.node-method-getRoot","meta":{},"sort":3},{"name":"isRoot","fullName":"dr.node.isRoot","icon":"icon-method","url":"#!/api/dr.node-method-isRoot","meta":{},"sort":3},{"name":"isDescendantOf","fullName":"dr.node.isDescendantOf","icon":"icon-method","url":"#!/api/dr.node-method-isDescendantOf","meta":{},"sort":3},{"name":"isAncestorOf","fullName":"dr.node.isAncestorOf","icon":"icon-method","url":"#!/api/dr.node-method-isAncestorOf","meta":{},"sort":3},{"name":"getLeastCommonAncestor","fullName":"dr.node.getLeastCommonAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getLeastCommonAncestor","meta":{},"sort":3},{"name":"searchAncestorsForClass","fullName":"dr.node.searchAncestorsForClass","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsForClass","meta":{},"sort":3},{"name":"getAncestorWithProperty","fullName":"dr.node.getAncestorWithProperty","icon":"icon-method","url":"#!/api/dr.node-method-getAncestorWithProperty","meta":{},"sort":3},{"name":"searchAncestors","fullName":"dr.node.searchAncestors","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestors","meta":{},"sort":3},{"name":"searchAncestorsOrSelf","fullName":"dr.node.searchAncestorsOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsOrSelf","meta":{},"sort":3},{"name":"getAncestors","fullName":"dr.node.getAncestors","icon":"icon-method","url":"#!/api/dr.node-method-getAncestors","meta":{},"sort":3},{"name":"walk","fullName":"dr.node.walk","icon":"icon-method","url":"#!/api/dr.node-method-walk","meta":{"chainable":true},"sort":3},{"name":"hasSubnode","fullName":"dr.node.hasSubnode","icon":"icon-method","url":"#!/api/dr.node-method-hasSubnode","meta":{},"sort":3},{"name":"getSubnodeIndex","fullName":"dr.node.getSubnodeIndex","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodeIndex","meta":{},"sort":3},{"name":"addSubnode","fullName":"dr.node.addSubnode","icon":"icon-method","url":"#!/api/dr.node-method-addSubnode","meta":{"chainable":true},"sort":3},{"name":"removeSubnode","fullName":"dr.node.removeSubnode","icon":"icon-method","url":"#!/api/dr.node-method-removeSubnode","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.node.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.node.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"animateMultiple","fullName":"dr.node.animateMultiple","icon":"icon-method","url":"#!/api/dr.node-method-animateMultiple","meta":{"chainable":true},"sort":3},{"name":"animate","fullName":"dr.node.animate","icon":"icon-method","url":"#!/api/dr.node-method-animate","meta":{},"sort":3},{"name":"getActiveAnimators","fullName":"dr.node.getActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-getActiveAnimators","meta":{},"sort":3},{"name":"stopActiveAnimators","fullName":"dr.node.stopActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-stopActiveAnimators","meta":{"chainable":true},"sort":3},{"name":"__getAnimPool","fullName":"dr.node.__getAnimPool","icon":"icon-method","url":"#!/api/dr.node-method-__getAnimPool","meta":{"private":true},"sort":3},{"name":"Error","fullName":"parser.Error","icon":"icon-class","url":"#!/api/parser.Error","meta":{},"sort":1},{"name":"Compiler","fullName":"parser.Compiler","icon":"icon-class","url":"#!/api/parser.Compiler","meta":{},"sort":1},{"name":"Compiler","fullName":"Compiler","icon":"icon-class","url":"#!/api/Compiler","meta":{},"sort":1},{"name":"languages","fullName":"Compiler.languages","icon":"icon-property","url":"#!/api/Compiler-property-languages","meta":{},"sort":3},{"name":"execute","fullName":"Compiler.execute","icon":"icon-method","url":"#!/api/Compiler-method-execute","meta":{},"sort":3},{"name":"builtin","fullName":"Compiler.builtin","icon":"icon-property","url":"#!/api/Compiler-property-builtin","meta":{},"sort":3},{"name":"Animator.DEFAULT_MOTION","fullName":"dr.Animator.DEFAULT_MOTION","icon":"icon-class","url":"#!/api/dr.Animator.DEFAULT_MOTION","meta":{},"sort":1},{"name":"layout","fullName":"dr.layout","icon":"icon-class","url":"#!/api/dr.layout","meta":{},"sort":1},{"name":"__notifyReady","fullName":"dr.layout.__notifyReady","icon":"icon-method","url":"#!/api/dr.layout-method-__notifyReady","meta":{"private":true},"sort":3},{"name":"addSubview","fullName":"dr.layout.addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-addSubview","meta":{},"sort":3},{"name":"__addSubview","fullName":"dr.layout.__addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__addSubview","meta":{"private":true},"sort":3},{"name":"removeSubview","fullName":"dr.layout.removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-removeSubview","meta":{},"sort":3},{"name":"__removeSubview","fullName":"dr.layout.__removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__removeSubview","meta":{"private":true},"sort":3},{"name":"startMonitoringSubviewForIgnore","fullName":"dr.layout.startMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"stopMonitoringSubviewForIgnore","fullName":"dr.layout.stopMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"ignore","fullName":"dr.layout.ignore","icon":"icon-method","url":"#!/api/dr.layout-method-ignore","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.layout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"startMonitoringAllSubviews","fullName":"dr.layout.startMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringAllSubviews","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.layout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringAllSubviews","fullName":"dr.layout.stopMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringAllSubviews","meta":{},"sort":3},{"name":"canUpdate","fullName":"dr.layout.canUpdate","icon":"icon-method","url":"#!/api/dr.layout-method-canUpdate","meta":{},"sort":3},{"name":"update","fullName":"dr.layout.update","icon":"icon-method","url":"#!/api/dr.layout-method-update","meta":{},"sort":3},{"name":"view","fullName":"dr.view","icon":"icon-class","url":"#!/api/dr.view","meta":{},"sort":1},{"name":"onsubviewadded","fullName":"dr.view.onsubviewadded","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewadded","meta":{},"sort":3},{"name":"onsubviewremoved","fullName":"dr.view.onsubviewremoved","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewremoved","meta":{},"sort":3},{"name":"onlayoutadded","fullName":"dr.view.onlayoutadded","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutadded","meta":{},"sort":3},{"name":"onlayoutremoved","fullName":"dr.view.onlayoutremoved","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutremoved","meta":{},"sort":3},{"name":"focustrap","fullName":"dr.view.focustrap","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focustrap","meta":{},"sort":3},{"name":"focuscage","fullName":"dr.view.focuscage","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focuscage","meta":{},"sort":3},{"name":"maskfocus","fullName":"dr.view.maskfocus","icon":"icon-attribute","url":"#!/api/dr.view-attribute-maskfocus","meta":{},"sort":3},{"name":"focusable","fullName":"dr.view.focusable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusable","meta":{},"sort":3},{"name":"focused","fullName":"dr.view.focused","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focused","meta":{},"sort":3},{"name":"focusembellishment","fullName":"dr.view.focusembellishment","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusembellishment","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"gradient","fullName":"dr.view.gradient","icon":"icon-attribute","url":"#!/api/dr.view-attribute-gradient","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{},"sort":3},{"name":"__fullBorderPaddingWidth","fullName":"dr.view.__fullBorderPaddingWidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingWidth","meta":{"private":true},"sort":3},{"name":"__fullBorderPaddingHeight","fullName":"dr.view.__fullBorderPaddingHeight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingHeight","meta":{"private":true},"sort":3},{"name":"__autoLayoutwidth","fullName":"dr.view.__autoLayoutwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutwidth","meta":{"private":true},"sort":3},{"name":"__autoLayoutheight","fullName":"dr.view.__autoLayoutheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutheight","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_x","fullName":"dr.view.__isPercentConstraint_x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_x","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_y","fullName":"dr.view.__isPercentConstraint_y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_y","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_width","fullName":"dr.view.__isPercentConstraint_width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_width","meta":{},"sort":3},{"name":"__isPercentConstraint_height","fullName":"dr.view.__isPercentConstraint_height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_height","meta":{},"sort":3},{"name":"__lockRecalc","fullName":"dr.view.__lockRecalc","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__lockRecalc","meta":{},"sort":3},{"name":"x","fullName":"dr.view.x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-x","meta":{},"sort":3},{"name":"y","fullName":"dr.view.y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-y","meta":{},"sort":3},{"name":"width","fullName":"dr.view.width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-width","meta":{},"sort":3},{"name":"height","fullName":"dr.view.height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-height","meta":{},"sort":3},{"name":"isaligned","fullName":"dr.view.isaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isaligned","meta":{"readonly":true},"sort":3},{"name":"isvaligned","fullName":"dr.view.isvaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isvaligned","meta":{"readonly":true},"sort":3},{"name":"innerwidth","fullName":"dr.view.innerwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerwidth","meta":{"readonly":true},"sort":3},{"name":"innerheight","fullName":"dr.view.innerheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerheight","meta":{"readonly":true},"sort":3},{"name":"boundsx","fullName":"dr.view.boundsx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsx","meta":{"readonly":true},"sort":3},{"name":"boundsy","fullName":"dr.view.boundsy","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsy","meta":{"readonly":true},"sort":3},{"name":"boundsxdiff","fullName":"dr.view.boundsxdiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsxdiff","meta":{"readonly":true},"sort":3},{"name":"boundsydiff","fullName":"dr.view.boundsydiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsydiff","meta":{"readonly":true},"sort":3},{"name":"boundswidth","fullName":"dr.view.boundswidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundswidth","meta":{"readonly":true},"sort":3},{"name":"boundsheight","fullName":"dr.view.boundsheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsheight","meta":{"readonly":true},"sort":3},{"name":"clickable","fullName":"dr.view.clickable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clickable","meta":{},"sort":3},{"name":"clip","fullName":"dr.view.clip","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clip","meta":{},"sort":3},{"name":"scrollable","fullName":"dr.view.scrollable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollable","meta":{},"sort":3},{"name":"scrollbars","fullName":"dr.view.scrollbars","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollbars","meta":{},"sort":3},{"name":"visible","fullName":"dr.view.visible","icon":"icon-attribute","url":"#!/api/dr.view-attribute-visible","meta":{},"sort":3},{"name":"bgcolor","fullName":"dr.view.bgcolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bgcolor","meta":{},"sort":3},{"name":"bordercolor","fullName":"dr.view.bordercolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bordercolor","meta":{},"sort":3},{"name":"borderstyle","fullName":"dr.view.borderstyle","icon":"icon-attribute","url":"#!/api/dr.view-attribute-borderstyle","meta":{},"sort":3},{"name":"border","fullName":"dr.view.border","icon":"icon-attribute","url":"#!/api/dr.view-attribute-border","meta":{},"sort":3},{"name":"padding","fullName":"dr.view.padding","icon":"icon-attribute","url":"#!/api/dr.view-attribute-padding","meta":{},"sort":3},{"name":"xscale","fullName":"dr.view.xscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xscale","meta":{},"sort":3},{"name":"yscale","fullName":"dr.view.yscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yscale","meta":{},"sort":3},{"name":"z","fullName":"dr.view.z","icon":"icon-attribute","url":"#!/api/dr.view-attribute-z","meta":{},"sort":3},{"name":"rotation","fullName":"dr.view.rotation","icon":"icon-attribute","url":"#!/api/dr.view-attribute-rotation","meta":{},"sort":3},{"name":"perspective","fullName":"dr.view.perspective","icon":"icon-attribute","url":"#!/api/dr.view-attribute-perspective","meta":{},"sort":3},{"name":"opacity","fullName":"dr.view.opacity","icon":"icon-attribute","url":"#!/api/dr.view-attribute-opacity","meta":{},"sort":3},{"name":"scrollx","fullName":"dr.view.scrollx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollx","meta":{},"sort":3},{"name":"scrolly","fullName":"dr.view.scrolly","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrolly","meta":{},"sort":3},{"name":"xanchor","fullName":"dr.view.xanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xanchor","meta":{},"sort":3},{"name":"yanchor","fullName":"dr.view.yanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yanchor","meta":{},"sort":3},{"name":"zanchor","fullName":"dr.view.zanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-zanchor","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"ignorelayout","fullName":"dr.view.ignorelayout","icon":"icon-attribute","url":"#!/api/dr.view-attribute-ignorelayout","meta":{},"sort":3},{"name":"layouthint","fullName":"dr.view.layouthint","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouthint","meta":{},"sort":3},{"name":"onclick","fullName":"dr.view.onclick","icon":"icon-event","url":"#!/api/dr.view-event-onclick","meta":{},"sort":3},{"name":"onmouseover","fullName":"dr.view.onmouseover","icon":"icon-event","url":"#!/api/dr.view-event-onmouseover","meta":{},"sort":3},{"name":"onmouseout","fullName":"dr.view.onmouseout","icon":"icon-event","url":"#!/api/dr.view-event-onmouseout","meta":{},"sort":3},{"name":"onmousedown","fullName":"dr.view.onmousedown","icon":"icon-event","url":"#!/api/dr.view-event-onmousedown","meta":{},"sort":3},{"name":"onmouseup","fullName":"dr.view.onmouseup","icon":"icon-event","url":"#!/api/dr.view-event-onmouseup","meta":{},"sort":3},{"name":"onscroll","fullName":"dr.view.onscroll","icon":"icon-event","url":"#!/api/dr.view-event-onscroll","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{"readonly":true},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{"readonly":true},"sort":3},{"name":"initNode","fullName":"dr.view.initNode","icon":"icon-method","url":"#!/api/dr.view-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.view.notifyReady","icon":"icon-method","url":"#!/api/dr.view-method-notifyReady","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.view.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.view.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"__setupAlignConstraint","fullName":"dr.view.__setupAlignConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAlignConstraint","meta":{},"sort":3},{"name":"__setupPercentConstraint","fullName":"dr.view.__setupPercentConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupPercentConstraint","meta":{},"sort":3},{"name":"__setupAutoConstraint","fullName":"dr.view.__setupAutoConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAutoConstraint","meta":{"private":true},"sort":3},{"name":"getSiblingViews","fullName":"dr.view.getSiblingViews","icon":"icon-method","url":"#!/api/dr.view-method-getSiblingViews","meta":{},"sort":3},{"name":"getLayouts","fullName":"dr.view.getLayouts","icon":"icon-method","url":"#!/api/dr.view-method-getLayouts","meta":{},"sort":3},{"name":"__handleScroll","fullName":"dr.view.__handleScroll","icon":"icon-method","url":"#!/api/dr.view-method-__handleScroll","meta":{"private":true},"sort":3},{"name":"__setBP","fullName":"dr.view.__setBP","icon":"icon-method","url":"#!/api/dr.view-method-__setBP","meta":{"private":true},"sort":3},{"name":"__updateBP","fullName":"dr.view.__updateBP","icon":"icon-method","url":"#!/api/dr.view-method-__updateBP","meta":{"private":true},"sort":3},{"name":"__updateInnerWidth","fullName":"dr.view.__updateInnerWidth","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerWidth","meta":{"private":true},"sort":3},{"name":"__updateInnerHeight","fullName":"dr.view.__updateInnerHeight","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerHeight","meta":{"private":true},"sort":3},{"name":"__updateCornerRadius","fullName":"dr.view.__updateCornerRadius","icon":"icon-method","url":"#!/api/dr.view-method-__updateCornerRadius","meta":{"private":true},"sort":3},{"name":"__updateTransform","fullName":"dr.view.__updateTransform","icon":"icon-method","url":"#!/api/dr.view-method-__updateTransform","meta":{"private":true},"sort":3},{"name":"__updateBounds","fullName":"dr.view.__updateBounds","icon":"icon-method","url":"#!/api/dr.view-method-__updateBounds","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.view.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.view-method-getTypeForAttrName","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"dr.view.getAbsolutePosition","icon":"icon-method","url":"#!/api/dr.view-method-getAbsolutePosition","meta":{},"sort":3},{"name":"isVisible","fullName":"dr.view.isVisible","icon":"icon-method","url":"#!/api/dr.view-method-isVisible","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.view.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.view.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"dr.view.getNextSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getNextSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"dr.view.getLastSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getLastSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"dr.view.getPrevSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"dr.view.getFirstSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getFirstSiblingView","meta":{},"sort":3},{"name":"hasSubview","fullName":"dr.view.hasSubview","icon":"icon-method","url":"#!/api/dr.view-method-hasSubview","meta":{},"sort":3},{"name":"getSubviewIndex","fullName":"dr.view.getSubviewIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewIndex","meta":{},"sort":3},{"name":"getSubviewAtIndex","fullName":"dr.view.getSubviewAtIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewAtIndex","meta":{},"sort":3},{"name":"doSubviewAdded","fullName":"dr.view.doSubviewAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewAdded","meta":{},"sort":3},{"name":"doSubviewRemoved","fullName":"dr.view.doSubviewRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewRemoved","meta":{},"sort":3},{"name":"hasLayout","fullName":"dr.view.hasLayout","icon":"icon-method","url":"#!/api/dr.view-method-hasLayout","meta":{},"sort":3},{"name":"getLayoutIndex","fullName":"dr.view.getLayoutIndex","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutIndex","meta":{},"sort":3},{"name":"doLayoutAdded","fullName":"dr.view.doLayoutAdded","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutAdded","meta":{},"sort":3},{"name":"doLayoutRemoved","fullName":"dr.view.doLayoutRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutRemoved","meta":{},"sort":3},{"name":"getLayoutHint","fullName":"dr.view.getLayoutHint","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutHint","meta":{},"sort":3},{"name":"getFocusTrap","fullName":"dr.view.getFocusTrap","icon":"icon-method","url":"#!/api/dr.view-method-getFocusTrap","meta":{},"sort":3},{"name":"isFocusable","fullName":"dr.view.isFocusable","icon":"icon-method","url":"#!/api/dr.view-method-isFocusable","meta":{},"sort":3},{"name":"giveAwayFocus","fullName":"dr.view.giveAwayFocus","icon":"icon-method","url":"#!/api/dr.view-method-giveAwayFocus","meta":{},"sort":3},{"name":"__handleFocus","fullName":"dr.view.__handleFocus","icon":"icon-method","url":"#!/api/dr.view-method-__handleFocus","meta":{"private":true},"sort":3},{"name":"__handleBlur","fullName":"dr.view.__handleBlur","icon":"icon-method","url":"#!/api/dr.view-method-__handleBlur","meta":{"private":true},"sort":3},{"name":"focus","fullName":"dr.view.focus","icon":"icon-method","url":"#!/api/dr.view-method-focus","meta":{},"sort":3},{"name":"blur","fullName":"dr.view.blur","icon":"icon-method","url":"#!/api/dr.view-method-blur","meta":{},"sort":3},{"name":"getNextFocus","fullName":"dr.view.getNextFocus","icon":"icon-method","url":"#!/api/dr.view-method-getNextFocus","meta":{},"sort":3},{"name":"getPrevFocus","fullName":"dr.view.getPrevFocus","icon":"icon-method","url":"#!/api/dr.view-method-getPrevFocus","meta":{},"sort":3},{"name":"isBehind","fullName":"dr.view.isBehind","icon":"icon-method","url":"#!/api/dr.view-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"dr.view.isInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-isInFrontOf","meta":{},"sort":3},{"name":"moveToFront","fullName":"dr.view.moveToFront","icon":"icon-method","url":"#!/api/dr.view-method-moveToFront","meta":{"chainable":true},"sort":3},{"name":"moveToBack","fullName":"dr.view.moveToBack","icon":"icon-method","url":"#!/api/dr.view-method-moveToBack","meta":{"chainable":true},"sort":3},{"name":"moveInFrontOf","fullName":"dr.view.moveInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-moveInFrontOf","meta":{"chainable":true},"sort":3},{"name":"moveBehind","fullName":"dr.view.moveBehind","icon":"icon-method","url":"#!/api/dr.view-method-moveBehind","meta":{"chainable":true},"sort":3},{"name":"alignlayout","fullName":"dr.alignlayout","icon":"icon-class","url":"#!/api/dr.alignlayout","meta":{},"sort":1},{"name":"align","fullName":"dr.alignlayout.align","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-align","meta":{},"sort":3},{"name":"inset","fullName":"dr.alignlayout.inset","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-inset","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.alignlayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.alignlayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"attrundoable","fullName":"dr.editor.attrundoable","icon":"icon-class","url":"#!/api/dr.editor.attrundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.attrundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-target","meta":{},"sort":3},{"name":"attribute","fullName":"dr.editor.attrundoable.attribute","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-attribute","meta":{},"sort":3},{"name":"oldvalue","fullName":"dr.editor.attrundoable.oldvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-oldvalue","meta":{},"sort":3},{"name":"newvalue","fullName":"dr.editor.attrundoable.newvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-newvalue","meta":{},"sort":3},{"name":"setAttribute","fullName":"dr.editor.attrundoable.setAttribute","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-setAttribute","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.attrundoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.attrundoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getRedoDescription","meta":{},"sort":3},{"name":"__getDescription","fullName":"dr.editor.attrundoable.__getDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-__getDescription","meta":{"private":true},"sort":3},{"name":"undo","fullName":"dr.editor.attrundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.attrundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-redo","meta":{},"sort":3},{"name":"bitmap","fullName":"dr.bitmap","icon":"icon-class","url":"#!/api/dr.bitmap","meta":{},"sort":1},{"name":"src","fullName":"dr.bitmap.src","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-src","meta":{},"sort":3},{"name":"onload","fullName":"dr.bitmap.onload","icon":"icon-event","url":"#!/api/dr.bitmap-event-onload","meta":{},"sort":3},{"name":"onerror","fullName":"dr.bitmap.onerror","icon":"icon-event","url":"#!/api/dr.bitmap-event-onerror","meta":{},"sort":3},{"name":"stretches","fullName":"dr.bitmap.stretches","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-stretches","meta":{},"sort":3},{"name":"naturalsize","fullName":"dr.bitmap.naturalsize","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-naturalsize","meta":{},"sort":3},{"name":"repeat","fullName":"dr.bitmap.repeat","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-repeat","meta":{},"sort":3},{"name":"window","fullName":"dr.bitmap.window","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-window","meta":{},"sort":3},{"name":"buttonbase","fullName":"dr.buttonbase","icon":"icon-class","url":"#!/api/dr.buttonbase","meta":{},"sort":1},{"name":"defaultcolor","fullName":"dr.buttonbase.defaultcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-defaultcolor","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.buttonbase.selectcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selectcolor","meta":{},"sort":3},{"name":"selected","fullName":"dr.buttonbase.selected","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selected","meta":{},"sort":3},{"name":"onselected","fullName":"dr.buttonbase.onselected","icon":"icon-event","url":"#!/api/dr.buttonbase-event-onselected","meta":{},"sort":3},{"name":"text","fullName":"dr.buttonbase.text","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-text","meta":{},"sort":3},{"name":"checkbutton","fullName":"dr.checkbutton","icon":"icon-class","url":"#!/api/dr.checkbutton","meta":{},"sort":1},{"name":"compoundundoable","fullName":"dr.editor.compoundundoable","icon":"icon-class","url":"#!/api/dr.editor.compoundundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.compoundundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-destroy","meta":{},"sort":3},{"name":"add","fullName":"dr.editor.compoundundoable.add","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-add","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"constantlayout","fullName":"dr.constantlayout","icon":"icon-class","url":"#!/api/dr.constantlayout","meta":{},"sort":1},{"name":"attribute","fullName":"dr.constantlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-attribute","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"update","fullName":"dr.constantlayout.update","icon":"icon-method","url":"#!/api/dr.constantlayout-method-update","meta":{},"sort":3},{"name":"createundoable","fullName":"dr.editor.createundoable","icon":"icon-class","url":"#!/api/dr.editor.createundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.createundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.createundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.createundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.createundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.createundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-redo","meta":{},"sort":3},{"name":"datapath","fullName":"dr.datapath","icon":"icon-class","url":"#!/api/dr.datapath","meta":{},"sort":1},{"name":"data","fullName":"dr.datapath.data","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-data","meta":{},"sort":3},{"name":"result","fullName":"dr.datapath.result","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-result","meta":{},"sort":3},{"name":"path","fullName":"dr.datapath.path","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-path","meta":{},"sort":3},{"name":"sortpath","fullName":"dr.datapath.sortpath","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortpath","meta":{},"sort":3},{"name":"sortasc","fullName":"dr.datapath.sortasc","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortasc","meta":{},"sort":3},{"name":"filterexpression","fullName":"dr.datapath.filterexpression","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-filterexpression","meta":{},"sort":3},{"name":"filterfunction","fullName":"dr.datapath.filterfunction","icon":"icon-method","url":"#!/api/dr.datapath-method-filterfunction","meta":{"abstract":true},"sort":3},{"name":"refresh","fullName":"dr.datapath.refresh","icon":"icon-method","url":"#!/api/dr.datapath-method-refresh","meta":{},"sort":3},{"name":"dataset","fullName":"dr.dataset","icon":"icon-class","url":"#!/api/dr.dataset","meta":{},"sort":1},{"name":"name","fullName":"dr.dataset.name","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-name","meta":{"required":true},"sort":3},{"name":"data","fullName":"dr.dataset.data","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-data","meta":{},"sort":3},{"name":"url","fullName":"dr.dataset.url","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-url","meta":{},"sort":3},{"name":"async","fullName":"dr.dataset.async","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-async","meta":{},"sort":3},{"name":"","fullName":"dr.dataset.","icon":"icon-property","url":"#!/api/dr.dataset-property-","meta":{"private":true},"sort":3},{"name":"deleteundoable","fullName":"dr.editor.deleteundoable","icon":"icon-class","url":"#!/api/dr.editor.deleteundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.deleteundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.deleteundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.deleteundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.deleteundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.deleteundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-redo","meta":{},"sort":3},{"name":"dropdown","fullName":"dr.dropdown","icon":"icon-class","url":"#!/api/dr.dropdown","meta":{},"sort":1},{"name":"expanded","fullName":"dr.dropdown.expanded","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-expanded","meta":{},"sort":3},{"name":"selected","fullName":"dr.dropdown.selected","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selected","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.dropdown.selectcolor","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selectcolor","meta":{},"sort":3},{"name":"dropdownsize","fullName":"dr.dropdown.dropdownsize","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-dropdownsize","meta":{},"sort":3},{"name":"dropdownfont","fullName":"dr.dropdownfont","icon":"icon-class","url":"#!/api/dr.dropdownfont","meta":{},"sort":1},{"name":"expectedoutput","fullName":"dr.expectedoutput","icon":"icon-class","url":"#!/api/dr.expectedoutput","meta":{},"sort":1},{"name":"fontdetect","fullName":"dr.fontdetect","icon":"icon-class","url":"#!/api/dr.fontdetect","meta":{},"sort":1},{"name":"fonts","fullName":"dr.fontdetect.fonts","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-fonts","meta":{},"sort":3},{"name":"additional","fullName":"dr.fontdetect.additional","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-additional","meta":{},"sort":3},{"name":"detect","fullName":"dr.fontdetect.detect","icon":"icon-method","url":"#!/api/dr.fontdetect-method-detect","meta":{},"sort":3},{"name":"indicator","fullName":"dr.indicator","icon":"icon-class","url":"#!/api/dr.indicator","meta":{},"sort":1},{"name":"fill","fullName":"dr.indicator.fill","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-fill","meta":{},"sort":3},{"name":"inset","fullName":"dr.indicator.inset","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-inset","meta":{},"sort":3},{"name":"size","fullName":"dr.indicator.size","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-size","meta":{},"sort":3},{"name":"inputtext","fullName":"dr.inputtext","icon":"icon-class","url":"#!/api/dr.inputtext","meta":{},"sort":1},{"name":"onselect","fullName":"dr.inputtext.onselect","icon":"icon-event","url":"#!/api/dr.inputtext-event-onselect","meta":{},"sort":3},{"name":"labelbutton","fullName":"dr.labelbutton","icon":"icon-class","url":"#!/api/dr.labelbutton","meta":{},"sort":1},{"name":"labeltoggle","fullName":"dr.labeltoggle","icon":"icon-class","url":"#!/api/dr.labeltoggle","meta":{},"sort":1},{"name":"textlistbox","fullName":"dr.textlistbox","icon":"icon-class","url":"#!/api/dr.textlistbox","meta":{},"sort":1},{"name":"selectcolor","fullName":"dr.textlistbox.selectcolor","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-selectcolor","meta":{},"sort":3},{"name":"maxwidth","fullName":"dr.textlistbox.maxwidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxwidth","meta":{},"sort":3},{"name":"maxheight","fullName":"dr.textlistbox.maxheight","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxheight","meta":{},"sort":3},{"name":"safewidth","fullName":"dr.textlistbox.safewidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-safewidth","meta":{},"sort":3},{"name":"spacing","fullName":"dr.textlistbox.spacing","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-spacing","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-method","url":"#!/api/dr.textlistbox-method-","meta":{},"sort":3},{"name":"findSize","fullName":"dr.textlistbox.findSize","icon":"icon-method","url":"#!/api/dr.textlistbox-method-findSize","meta":{},"sort":3},{"name":"textlistboxitem","fullName":"dr.textlistboxitem","icon":"icon-class","url":"#!/api/dr.textlistboxitem","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup","icon":"icon-class","url":"#!/api/dr.markup","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup.markup","icon":"icon-attribute","url":"#!/api/dr.markup-attribute-markup","meta":{},"sort":3},{"name":"unescape","fullName":"dr.markup.unescape","icon":"icon-method","url":"#!/api/dr.markup-method-unescape","meta":{"private":true},"sort":3},{"name":"orderundoable","fullName":"dr.editor.orderundoable","icon":"icon-class","url":"#!/api/dr.editor.orderundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.orderundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-target","meta":{},"sort":3},{"name":"oldprevsibling","fullName":"dr.editor.orderundoable.oldprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-oldprevsibling","meta":{},"sort":3},{"name":"newprevsibling","fullName":"dr.editor.orderundoable.newprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-newprevsibling","meta":{},"sort":3},{"name":"rangeslider","fullName":"dr.rangeslider","icon":"icon-class","url":"#!/api/dr.rangeslider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.rangeslider.minvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-minvalue","meta":{},"sort":3},{"name":"maxlowvalue","fullName":"dr.rangeslider.maxlowvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxlowvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.rangeslider.axis","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.rangeslider.invert","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.rangeslider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-selectcolor","meta":{},"sort":3},{"name":"lowprogresscolor","fullName":"dr.rangeslider.lowprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-lowprogresscolor","meta":{},"sort":3},{"name":"highprogresscolor","fullName":"dr.rangeslider.highprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-highprogresscolor","meta":{},"sort":3},{"name":"replicator","fullName":"dr.replicator","icon":"icon-class","url":"#!/api/dr.replicator","meta":{},"sort":1},{"name":"pooling","fullName":"dr.replicator.pooling","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-pooling","meta":{},"sort":3},{"name":"data","fullName":"dr.replicator.data","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-data","meta":{},"sort":3},{"name":"path","fullName":"dr.replicator.path","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-path","meta":{},"sort":3},{"name":"classname","fullName":"dr.replicator.classname","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-classname","meta":{"required":true},"sort":3},{"name":"onreplicated","fullName":"dr.replicator.onreplicated","icon":"icon-event","url":"#!/api/dr.replicator-event-onreplicated","meta":{},"sort":3},{"name":"resizelayout","fullName":"dr.resizelayout","icon":"icon-class","url":"#!/api/dr.resizelayout","meta":{},"sort":1},{"name":"sizetoplatform","fullName":"dr.sizetoplatform","icon":"icon-class","url":"#!/api/dr.sizetoplatform","meta":{},"sort":1},{"name":"sizeToPlatform","fullName":"dr.sizetoplatform.sizeToPlatform","icon":"icon-method","url":"#!/api/dr.sizetoplatform-method-sizeToPlatform","meta":{},"sort":3},{"name":"slider","fullName":"dr.slider","icon":"icon-class","url":"#!/api/dr.slider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.slider.minvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-minvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.slider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.slider.value","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.slider.axis","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.slider.invert","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.slider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-selectcolor","meta":{},"sort":3},{"name":"progresscolor","fullName":"dr.slider.progresscolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-progresscolor","meta":{},"sort":3},{"name":"spacedlayout","fullName":"dr.spacedlayout","icon":"icon-class","url":"#!/api/dr.spacedlayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.spacedlayout.spacing","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.spacedlayout.outset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.spacedlayout.inset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-inset","meta":{},"sort":3},{"name":"axis","fullName":"dr.spacedlayout.axis","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.spacedlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"style","fullName":"dr.style","icon":"icon-class","url":"#!/api/dr.style","meta":{},"sort":1},{"name":"testingtimer","fullName":"dr.testingtimer","icon":"icon-class","url":"#!/api/dr.testingtimer","meta":{},"sort":1},{"name":"text","fullName":"dr.text","icon":"icon-class","url":"#!/api/dr.text","meta":{},"sort":1},{"name":"fontsize","fullName":"dr.text.fontsize","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontsize","meta":{},"sort":3},{"name":"fontfamily","fullName":"dr.text.fontfamily","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontfamily","meta":{},"sort":3},{"name":"textalign","fullName":"dr.text.textalign","icon":"icon-attribute","url":"#!/api/dr.text-attribute-textalign","meta":{},"sort":3},{"name":"bold","fullName":"dr.text.bold","icon":"icon-attribute","url":"#!/api/dr.text-attribute-bold","meta":{},"sort":3},{"name":"italic","fullName":"dr.text.italic","icon":"icon-attribute","url":"#!/api/dr.text-attribute-italic","meta":{},"sort":3},{"name":"smallcaps","fullName":"dr.text.smallcaps","icon":"icon-attribute","url":"#!/api/dr.text-attribute-smallcaps","meta":{},"sort":3},{"name":"underline","fullName":"dr.text.underline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-underline","meta":{},"sort":3},{"name":"strike","fullName":"dr.text.strike","icon":"icon-attribute","url":"#!/api/dr.text-attribute-strike","meta":{},"sort":3},{"name":"multiline","fullName":"dr.text.multiline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-multiline","meta":{},"sort":3},{"name":"ellipsis","fullName":"dr.text.ellipsis","icon":"icon-attribute","url":"#!/api/dr.text-attribute-ellipsis","meta":{},"sort":3},{"name":"text","fullName":"dr.text.text","icon":"icon-attribute","url":"#!/api/dr.text-attribute-text","meta":{},"sort":3},{"name":"format","fullName":"dr.text.format","icon":"icon-method","url":"#!/api/dr.text-method-format","meta":{},"sort":3},{"name":"undoable","fullName":"dr.editor.undoable","icon":"icon-class","url":"#!/api/dr.editor.undoable","meta":{"abstract":true},"sort":1},{"name":"done","fullName":"dr.editor.undoable.done","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-done","meta":{"readonly":true},"sort":3},{"name":"undodescription","fullName":"dr.editor.undoable.undodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-undodescription","meta":{},"sort":3},{"name":"redodescription","fullName":"dr.editor.undoable.redodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-redodescription","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getRedoDescription","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undostack","fullName":"dr.editor.undostack","icon":"icon-class","url":"#!/api/dr.editor.undostack","meta":{},"sort":1},{"name":"initNode","fullName":"dr.editor.undostack.initNode","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-initNode","meta":{},"sort":3},{"name":"reset","fullName":"dr.editor.undostack.reset","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-reset","meta":{},"sort":3},{"name":"__syncUndoabilityAttrs","fullName":"dr.editor.undostack.__syncUndoabilityAttrs","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__syncUndoabilityAttrs","meta":{"private":true},"sort":3},{"name":"canUndo","fullName":"dr.editor.undostack.canUndo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canUndo","meta":{},"sort":3},{"name":"canRedo","fullName":"dr.editor.undostack.canRedo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canRedo","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undostack.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undostack.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getRedoDescription","meta":{},"sort":3},{"name":"do","fullName":"dr.editor.undostack.do","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-do","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undostack.undo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.undostack.redo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-redo","meta":{},"sort":3},{"name":"__executeUndoable","fullName":"dr.editor.undostack.__executeUndoable","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__executeUndoable","meta":{"private":true},"sort":3},{"name":"variablelayout","fullName":"dr.variablelayout","icon":"icon-class","url":"#!/api/dr.variablelayout","meta":{},"sort":1},{"name":"updateparent","fullName":"dr.variablelayout.updateparent","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-updateparent","meta":{},"sort":3},{"name":"reverse","fullName":"dr.variablelayout.reverse","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-reverse","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.variablelayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"doAfterUpdate","fullName":"dr.variablelayout.doAfterUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doAfterUpdate","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.variablelayout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.variablelayout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"updateSubview","fullName":"dr.variablelayout.updateSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateSubview","meta":{},"sort":3},{"name":"skipSubview","fullName":"dr.variablelayout.skipSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-skipSubview","meta":{},"sort":3},{"name":"updateParent","fullName":"dr.variablelayout.updateParent","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateParent","meta":{},"sort":3},{"name":"videoplayer","fullName":"dr.videoplayer","icon":"icon-class","url":"#!/api/dr.videoplayer","meta":{},"sort":1},{"name":"video","fullName":"dr.videoplayer.video","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-video","meta":{"readonly":true},"sort":3},{"name":"controls","fullName":"dr.videoplayer.controls","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-controls","meta":{},"sort":3},{"name":"poster","fullName":"dr.videoplayer.poster","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-poster","meta":{},"sort":3},{"name":"preload","fullName":"dr.videoplayer.preload","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-preload","meta":{},"sort":3},{"name":"loop","fullName":"dr.videoplayer.loop","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-loop","meta":{},"sort":3},{"name":"volume","fullName":"dr.videoplayer.volume","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-volume","meta":{},"sort":3},{"name":"duration","fullName":"dr.videoplayer.duration","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-duration","meta":{"readonly":true},"sort":3},{"name":"currenttime","fullName":"dr.videoplayer.currenttime","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-currenttime","meta":{},"sort":3},{"name":"playing","fullName":"dr.videoplayer.playing","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-playing","meta":{},"sort":3},{"name":"src","fullName":"dr.videoplayer.src","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-src","meta":{},"sort":3},{"name":"webpage","fullName":"dr.webpage","icon":"icon-class","url":"#!/api/dr.webpage","meta":{},"sort":1},{"name":"src","fullName":"dr.webpage.src","icon":"icon-attribute","url":"#!/api/dr.webpage-attribute-src","meta":{},"sort":3},{"name":"wrappinglayout","fullName":"dr.wrappinglayout","icon":"icon-class","url":"#!/api/dr.wrappinglayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.wrappinglayout.spacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.wrappinglayout.outset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.wrappinglayout.inset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-inset","meta":{},"sort":3},{"name":"linespacing","fullName":"dr.wrappinglayout.linespacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linespacing","meta":{},"sort":3},{"name":"lineoutset","fullName":"dr.wrappinglayout.lineoutset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineoutset","meta":{},"sort":3},{"name":"lineinset","fullName":"dr.wrappinglayout.lineinset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineinset","meta":{},"sort":3},{"name":"justify","fullName":"dr.wrappinglayout.justify","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-justify","meta":{},"sort":3},{"name":"align","fullName":"dr.wrappinglayout.align","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-align","meta":{},"sort":3},{"name":"linealign","fullName":"dr.wrappinglayout.linealign","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linealign","meta":{},"sort":3},{"name":"axis","fullName":"dr.wrappinglayout.axis","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.wrappinglayout.attribute","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"doLineStart","fullName":"dr.wrappinglayout.doLineStart","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineStart","meta":{},"sort":3},{"name":"doLineEnd","fullName":"dr.wrappinglayout.doLineEnd","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineEnd","meta":{},"sort":3},{"name":"onlinecount","fullName":"dr.wrappinglayout.onlinecount","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onlinecount","meta":{},"sort":3},{"name":"onmaxsize","fullName":"dr.wrappinglayout.onmaxsize","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onmaxsize","meta":{},"sort":3},{"name":"global","fullName":"global","icon":"icon-class","url":"#!/api/global","meta":{},"sort":1},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"browser","fullName":"global.browser","icon":"icon-method","url":"#!/api/global-method-browser","meta":{},"sort":3},{"name":"editor","fullName":"global.editor","icon":"icon-method","url":"#!/api/global-method-editor","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doResolve","fullName":"global.doResolve","icon":"icon-method","url":"#!/api/global-method-doResolve","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"generateSetterName","fullName":"global.generateSetterName","icon":"icon-method","url":"#!/api/global-method-generateSetterName","meta":{},"sort":3},{"name":"generateGetterName","fullName":"global.generateGetterName","icon":"icon-method","url":"#!/api/global-method-generateGetterName","meta":{},"sort":3},{"name":"generateConfigAttrName","fullName":"global.generateConfigAttrName","icon":"icon-method","url":"#!/api/global-method-generateConfigAttrName","meta":{},"sort":3},{"name":"generateConstraintFunctionName","fullName":"global.generateConstraintFunctionName","icon":"icon-method","url":"#!/api/global-method-generateConstraintFunctionName","meta":{},"sort":3},{"name":"generateName","fullName":"global.generateName","icon":"icon-method","url":"#!/api/global-method-generateName","meta":{},"sort":3},{"name":"GETTER_NAMES","fullName":"global.GETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-GETTER_NAMES","meta":{},"sort":3},{"name":"SETTER_NAMES","fullName":"global.SETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-SETTER_NAMES","meta":{},"sort":3},{"name":"CONFIG_ATTR_NAMES","fullName":"global.CONFIG_ATTR_NAMES","icon":"icon-property","url":"#!/api/global-property-CONFIG_ATTR_NAMES","meta":{},"sort":3},{"name":"CONSTRAINT_FUNCTION_NAMES","fullName":"global.CONSTRAINT_FUNCTION_NAMES","icon":"icon-property","url":"#!/api/global-property-CONSTRAINT_FUNCTION_NAMES","meta":{},"sort":3},{"name":"setAttributes","fullName":"global.setAttributes","icon":"icon-method","url":"#!/api/global-method-setAttributes","meta":{},"sort":3},{"name":"getAttribute","fullName":"global.getAttribute","icon":"icon-method","url":"#!/api/global-method-getAttribute","meta":{},"sort":3},{"name":"getActualAttribute","fullName":"global.getActualAttribute","icon":"icon-method","url":"#!/api/global-method-getActualAttribute","meta":{},"sort":3},{"name":"setAttribute","fullName":"global.setAttribute","icon":"icon-method","url":"#!/api/global-method-setAttribute","meta":{"chainable":true},"sort":3},{"name":"setActualAttribute","fullName":"global.setActualAttribute","icon":"icon-method","url":"#!/api/global-method-setActualAttribute","meta":{"chainable":true},"sort":3},{"name":"getTypeForAttrName","fullName":"global.getTypeForAttrName","icon":"icon-method","url":"#!/api/global-method-getTypeForAttrName","meta":{"private":true},"sort":3},{"name":"setActual","fullName":"global.setActual","icon":"icon-method","url":"#!/api/global-method-setActual","meta":{},"sort":3},{"name":"setSimpleActual","fullName":"global.setSimpleActual","icon":"icon-method","url":"#!/api/global-method-setSimpleActual","meta":{},"sort":3},{"name":"setConstraint","fullName":"global.setConstraint","icon":"icon-method","url":"#!/api/global-method-setConstraint","meta":{"chainable":true},"sort":3},{"name":"setupConstraint","fullName":"global.setupConstraint","icon":"icon-method","url":"#!/api/global-method-setupConstraint","meta":{},"sort":3},{"name":"constraintify","fullName":"global.constraintify","icon":"icon-method","url":"#!/api/global-method-constraintify","meta":{"private":true},"sort":3},{"name":"isConstraintExpression","fullName":"global.isConstraintExpression","icon":"icon-method","url":"#!/api/global-method-isConstraintExpression","meta":{"private":true},"sort":3},{"name":"extractConstraintExpression","fullName":"global.extractConstraintExpression","icon":"icon-method","url":"#!/api/global-method-extractConstraintExpression","meta":{"private":true},"sort":3},{"name":"rebindConstraints","fullName":"global.rebindConstraints","icon":"icon-method","url":"#!/api/global-method-rebindConstraints","meta":{},"sort":3},{"name":"getConstraintTemplate","fullName":"global.getConstraintTemplate","icon":"icon-method","url":"#!/api/global-method-getConstraintTemplate","meta":{"private":true},"sort":3},{"name":"bindConstraint","fullName":"global.bindConstraint","icon":"icon-method","url":"#!/api/global-method-bindConstraint","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroy","fullName":"global.destroy","icon":"icon-method","url":"#!/api/global-method-destroy","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"global.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/global-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"PLATFORM_EVENTS","fullName":"global.PLATFORM_EVENTS","icon":"icon-property","url":"#!/api/global-property-PLATFORM_EVENTS","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"IDdictionary","fullName":"global.IDdictionary","icon":"icon-property","url":"#!/api/global-property-IDdictionary","meta":{},"sort":3},{"name":"__GUID_COUNTER","fullName":"global.__GUID_COUNTER","icon":"icon-property","url":"#!/api/global-property-__GUID_COUNTER","meta":{},"sort":3},{"name":"generateGuid","fullName":"global.generateGuid","icon":"icon-method","url":"#!/api/global-method-generateGuid","meta":{},"sort":3},{"name":"noop","fullName":"global.noop","icon":"icon-method","url":"#!/api/global-method-noop","meta":{},"sort":3},{"name":"resolveName","fullName":"global.resolveName","icon":"icon-method","url":"#!/api/global-method-resolveName","meta":{},"sort":3},{"name":"wrapFunction","fullName":"global.wrapFunction","icon":"icon-method","url":"#!/api/global-method-wrapFunction","meta":{},"sort":3},{"name":"dumpStack","fullName":"global.dumpStack","icon":"icon-method","url":"#!/api/global-method-dumpStack","meta":{},"sort":3},{"name":"fillTextTemplate","fullName":"global.fillTextTemplate","icon":"icon-method","url":"#!/api/global-method-fillTextTemplate","meta":{},"sort":3},{"name":"memoize","fullName":"global.memoize","icon":"icon-method","url":"#!/api/global-method-memoize","meta":{},"sort":3},{"name":"extend","fullName":"global.extend","icon":"icon-method","url":"#!/api/global-method-extend","meta":{},"sort":3},{"name":"closeTo","fullName":"global.closeTo","icon":"icon-method","url":"#!/api/global-method-closeTo","meta":{},"sort":3},{"name":"notifyReady","fullName":"global.notifyReady","icon":"icon-method","url":"#!/api/global-method-notifyReady","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"makePuppet","fullName":"global.makePuppet","icon":"icon-method","url":"#!/api/global-method-makePuppet","meta":{"private":true},"sort":3},{"name":"releasePuppet","fullName":"global.releasePuppet","icon":"icon-method","url":"#!/api/global-method-releasePuppet","meta":{"private":true},"sort":3},{"name":"__calculateLoopTime","fullName":"global.__calculateLoopTime","icon":"icon-method","url":"#!/api/global-method-__calculateLoopTime","meta":{"private":true},"sort":3},{"name":"__calculateTotalDuration","fullName":"global.__calculateTotalDuration","icon":"icon-method","url":"#!/api/global-method-__calculateTotalDuration","meta":{"private":true},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"rewind","fullName":"global.rewind","icon":"icon-method","url":"#!/api/global-method-rewind","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{"private":true},"sort":3},{"name":"__resetProgress","fullName":"global.__resetProgress","icon":"icon-method","url":"#!/api/global-method-__resetProgress","meta":{"private":true},"sort":3},{"name":"__isFlipped","fullName":"global.__isFlipped","icon":"icon-method","url":"#!/api/global-method-__isFlipped","meta":{"private":true},"sort":3},{"name":"__update","fullName":"global.__update","icon":"icon-method","url":"#!/api/global-method-__update","meta":{"private":true},"sort":3},{"name":"__advance","fullName":"global.__advance","icon":"icon-method","url":"#!/api/global-method-__advance","meta":{"private":true},"sort":3},{"name":"__calculateRemainder","fullName":"global.__calculateRemainder","icon":"icon-method","url":"#!/api/global-method-__calculateRemainder","meta":{"private":true},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"__notifyAnimators","fullName":"global.__notifyAnimators","icon":"icon-method","url":"#!/api/global-method-__notifyAnimators","meta":{"private":true},"sort":3},{"name":"__updateDuration","fullName":"global.__updateDuration","icon":"icon-method","url":"#!/api/global-method-__updateDuration","meta":{"private":true},"sort":3},{"name":"doSubnodeAdded","fullName":"global.doSubnodeAdded","icon":"icon-method","url":"#!/api/global-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"global.doSubnodeRemoved","icon":"icon-method","url":"#!/api/global-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"__getIntersection","fullName":"global.__getIntersection","icon":"icon-method","url":"#!/api/global-method-__getIntersection","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"__getColorValue","fullName":"global.__getColorValue","icon":"icon-method","url":"#!/api/global-method-__getColorValue","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"pendingEventQueue","fullName":"global.pendingEventQueue","icon":"icon-property","url":"#!/api/global-property-pendingEventQueue","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"detachAllObservers","fullName":"global.detachAllObservers","icon":"icon-method","url":"#!/api/global-method-detachAllObservers","meta":{},"sort":3},{"name":"getObservers","fullName":"global.getObservers","icon":"icon-method","url":"#!/api/global-method-getObservers","meta":{},"sort":3},{"name":"hasObservers","fullName":"global.hasObservers","icon":"icon-method","url":"#!/api/global-method-hasObservers","meta":{},"sort":3},{"name":"sendEvent","fullName":"global.sendEvent","icon":"icon-method","url":"#!/api/global-method-sendEvent","meta":{"chainable":true},"sort":3},{"name":"__fireEvent","fullName":"global.__fireEvent","icon":"icon-method","url":"#!/api/global-method-__fireEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"syncTo","fullName":"global.syncTo","icon":"icon-method","url":"#!/api/global-method-syncTo","meta":{},"sort":3},{"name":"isListeningTo","fullName":"global.isListeningTo","icon":"icon-method","url":"#!/api/global-method-isListeningTo","meta":{},"sort":3},{"name":"getObservables","fullName":"global.getObservables","icon":"icon-method","url":"#!/api/global-method-getObservables","meta":{},"sort":3},{"name":"hasObservables","fullName":"global.hasObservables","icon":"icon-method","url":"#!/api/global-method-hasObservables","meta":{},"sort":3},{"name":"listenToOnce","fullName":"global.listenToOnce","icon":"icon-method","url":"#!/api/global-method-listenToOnce","meta":{},"sort":3},{"name":"listenTo","fullName":"global.listenTo","icon":"icon-method","url":"#!/api/global-method-listenTo","meta":{"chainable":true},"sort":3},{"name":"stopListening","fullName":"global.stopListening","icon":"icon-method","url":"#!/api/global-method-stopListening","meta":{"chainable":true},"sort":3},{"name":"stopListeningToAllObservables","fullName":"global.stopListeningToAllObservables","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllObservables","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"listenToPlatform","fullName":"global.listenToPlatform","icon":"icon-method","url":"#!/api/global-method-listenToPlatform","meta":{},"sort":3},{"name":"stopListeningToPlatform","fullName":"global.stopListeningToPlatform","icon":"icon-method","url":"#!/api/global-method-stopListeningToPlatform","meta":{},"sort":3},{"name":"stopListeningToAllPlatformSources","fullName":"global.stopListeningToAllPlatformSources","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllPlatformSources","meta":{},"sort":3},{"name":"invokePlatformObserverCallback","fullName":"global.invokePlatformObserverCallback","icon":"icon-method","url":"#!/api/global-method-invokePlatformObserverCallback","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"register","fullName":"global.register","icon":"icon-method","url":"#!/api/global-method-register","meta":{},"sort":3},{"name":"unregister","fullName":"global.unregister","icon":"icon-method","url":"#!/api/global-method-unregister","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"notifyError","fullName":"global.notifyError","icon":"icon-method","url":"#!/api/global-method-notifyError","meta":{},"sort":3},{"name":"notifyWarn","fullName":"global.notifyWarn","icon":"icon-method","url":"#!/api/global-method-notifyWarn","meta":{},"sort":3},{"name":"notifyMsg","fullName":"global.notifyMsg","icon":"icon-method","url":"#!/api/global-method-notifyMsg","meta":{},"sort":3},{"name":"notifyDebug","fullName":"global.notifyDebug","icon":"icon-method","url":"#!/api/global-method-notifyDebug","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"callOnIdle","fullName":"global.callOnIdle","icon":"icon-method","url":"#!/api/global-method-callOnIdle","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__handleFocused","fullName":"global.__handleFocused","icon":"icon-method","url":"#!/api/global-method-__handleFocused","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getRoots","fullName":"global.getRoots","icon":"icon-method","url":"#!/api/global-method-getRoots","meta":{},"sort":3},{"name":"addRoot","fullName":"global.addRoot","icon":"icon-method","url":"#!/api/global-method-addRoot","meta":{},"sort":3},{"name":"removeRoot","fullName":"global.removeRoot","icon":"icon-method","url":"#!/api/global-method-removeRoot","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getWidth","fullName":"global.getWidth","icon":"icon-method","url":"#!/api/global-method-getWidth","meta":{},"sort":3},{"name":"getHeight","fullName":"global.getHeight","icon":"icon-method","url":"#!/api/global-method-getHeight","meta":{},"sort":3},{"name":"__handleResizeEvent","fullName":"global.__handleResizeEvent","icon":"icon-method","url":"#!/api/global-method-__handleResizeEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__skipX","fullName":"global.__skipX","icon":"icon-method","url":"#!/api/global-method-__skipX","meta":{},"sort":3},{"name":"__skipY","fullName":"global.__skipY","icon":"icon-method","url":"#!/api/global-method-__skipY","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"toHex","fullName":"global.toHex","icon":"icon-method","url":"#!/api/global-method-toHex","meta":{},"sort":3},{"name":"rgbToHex","fullName":"global.rgbToHex","icon":"icon-method","url":"#!/api/global-method-rgbToHex","meta":{},"sort":3},{"name":"cleanChannelValue","fullName":"global.cleanChannelValue","icon":"icon-method","url":"#!/api/global-method-cleanChannelValue","meta":{},"sort":3},{"name":"getRedChannel","fullName":"global.getRedChannel","icon":"icon-method","url":"#!/api/global-method-getRedChannel","meta":{},"sort":3},{"name":"getGreenChannel","fullName":"global.getGreenChannel","icon":"icon-method","url":"#!/api/global-method-getGreenChannel","meta":{},"sort":3},{"name":"getBlueChannel","fullName":"global.getBlueChannel","icon":"icon-method","url":"#!/api/global-method-getBlueChannel","meta":{},"sort":3},{"name":"makeColorFromNumber","fullName":"global.makeColorFromNumber","icon":"icon-method","url":"#!/api/global-method-makeColorFromNumber","meta":{},"sort":3},{"name":"makeColorFromHexString","fullName":"global.makeColorFromHexString","icon":"icon-method","url":"#!/api/global-method-makeColorFromHexString","meta":{},"sort":3},{"name":"getLighterColor","fullName":"global.getLighterColor","icon":"icon-method","url":"#!/api/global-method-getLighterColor","meta":{},"sort":3},{"name":"makeColorNumberFromChannels","fullName":"global.makeColorNumberFromChannels","icon":"icon-method","url":"#!/api/global-method-makeColorNumberFromChannels","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"setRed","fullName":"global.setRed","icon":"icon-method","url":"#!/api/global-method-setRed","meta":{},"sort":3},{"name":"setGreen","fullName":"global.setGreen","icon":"icon-method","url":"#!/api/global-method-setGreen","meta":{},"sort":3},{"name":"setBlue","fullName":"global.setBlue","icon":"icon-method","url":"#!/api/global-method-setBlue","meta":{},"sort":3},{"name":"getColorNumber","fullName":"global.getColorNumber","icon":"icon-method","url":"#!/api/global-method-getColorNumber","meta":{},"sort":3},{"name":"getHtmlHexString","fullName":"global.getHtmlHexString","icon":"icon-method","url":"#!/api/global-method-getHtmlHexString","meta":{},"sort":3},{"name":"isLighterThan","fullName":"global.isLighterThan","icon":"icon-method","url":"#!/api/global-method-isLighterThan","meta":{},"sort":3},{"name":"getDiffFrom","fullName":"global.getDiffFrom","icon":"icon-method","url":"#!/api/global-method-getDiffFrom","meta":{},"sort":3},{"name":"applyDiff","fullName":"global.applyDiff","icon":"icon-method","url":"#!/api/global-method-applyDiff","meta":{"chainable":true},"sort":3},{"name":"add","fullName":"global.add","icon":"icon-method","url":"#!/api/global-method-add","meta":{"chainable":true},"sort":3},{"name":"subtract","fullName":"global.subtract","icon":"icon-method","url":"#!/api/global-method-subtract","meta":{"chainable":true},"sort":3},{"name":"multiply","fullName":"global.multiply","icon":"icon-method","url":"#!/api/global-method-multiply","meta":{"chainable":true},"sort":3},{"name":"divide","fullName":"global.divide","icon":"icon-method","url":"#!/api/global-method-divide","meta":{"chainable":true},"sort":3},{"name":"clone","fullName":"global.clone","icon":"icon-method","url":"#!/api/global-method-clone","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"degreesToRadians","fullName":"global.degreesToRadians","icon":"icon-method","url":"#!/api/global-method-degreesToRadians","meta":{},"sort":3},{"name":"radiansToDegrees","fullName":"global.radiansToDegrees","icon":"icon-method","url":"#!/api/global-method-radiansToDegrees","meta":{},"sort":3},{"name":"translate","fullName":"global.translate","icon":"icon-method","url":"#!/api/global-method-translate","meta":{"chainable":true},"sort":3},{"name":"rotate","fullName":"global.rotate","icon":"icon-method","url":"#!/api/global-method-rotate","meta":{"chainable":true},"sort":3},{"name":"scale","fullName":"global.scale","icon":"icon-method","url":"#!/api/global-method-scale","meta":{"chainable":true},"sort":3},{"name":"transformAroundOrigin","fullName":"global.transformAroundOrigin","icon":"icon-method","url":"#!/api/global-method-transformAroundOrigin","meta":{},"sort":3},{"name":"getBoundingBox","fullName":"global.getBoundingBox","icon":"icon-method","url":"#!/api/global-method-getBoundingBox","meta":{},"sort":3},{"name":"keys","fullName":"global.keys","icon":"icon-property","url":"#!/api/global-property-keys","meta":{},"sort":3},{"name":"isArray","fullName":"global.isArray","icon":"icon-property","url":"#!/api/global-property-isArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"now","fullName":"global.now","icon":"icon-property","url":"#!/api/global-property-now","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"__sendEvent","fullName":"global.__sendEvent","icon":"icon-method","url":"#!/api/global-method-__sendEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getCaretPosition","fullName":"global.getCaretPosition","icon":"icon-method","url":"#!/api/global-method-getCaretPosition","meta":{},"sort":3},{"name":"setCaretPosition","fullName":"global.setCaretPosition","icon":"icon-method","url":"#!/api/global-method-setCaretPosition","meta":{},"sort":3},{"name":"setCaretToStart","fullName":"global.setCaretToStart","icon":"icon-method","url":"#!/api/global-method-setCaretToStart","meta":{},"sort":3},{"name":"setCaretToEnd","fullName":"global.setCaretToEnd","icon":"icon-method","url":"#!/api/global-method-setCaretToEnd","meta":{},"sort":3},{"name":"selectAll","fullName":"global.selectAll","icon":"icon-method","url":"#!/api/global-method-selectAll","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"set_boxshadow","fullName":"global.set_boxshadow","icon":"icon-method","url":"#!/api/global-method-set_boxshadow","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"setInnerHTML","fullName":"global.setInnerHTML","icon":"icon-method","url":"#!/api/global-method-setInnerHTML","meta":{},"sort":3},{"name":"getInnerHTML","fullName":"global.getInnerHTML","icon":"icon-method","url":"#!/api/global-method-getInnerHTML","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"isBehind","fullName":"global.isBehind","icon":"icon-method","url":"#!/api/global-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"global.isInFrontOf","icon":"icon-method","url":"#!/api/global-method-isInFrontOf","meta":{},"sort":3},{"name":"__comparePosition","fullName":"global.__comparePosition","icon":"icon-method","url":"#!/api/global-method-__comparePosition","meta":{"private":true},"sort":3},{"name":"moveToFront","fullName":"global.moveToFront","icon":"icon-method","url":"#!/api/global-method-moveToFront","meta":{},"sort":3},{"name":"moveToBack","fullName":"global.moveToBack","icon":"icon-method","url":"#!/api/global-method-moveToBack","meta":{},"sort":3},{"name":"moveInFrontOf","fullName":"global.moveInFrontOf","icon":"icon-method","url":"#!/api/global-method-moveInFrontOf","meta":{},"sort":3},{"name":"moveBehind","fullName":"global.moveBehind","icon":"icon-method","url":"#!/api/global-method-moveBehind","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"global.getNextSiblingView","icon":"icon-method","url":"#!/api/global-method-getNextSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"global.getPrevSiblingView","icon":"icon-method","url":"#!/api/global-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"global.getLastSiblingView","icon":"icon-method","url":"#!/api/global-method-getLastSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"global.getFirstSiblingView","icon":"icon-method","url":"#!/api/global-method-getFirstSiblingView","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"platform","fullName":"global.platform","icon":"icon-property","url":"#!/api/global-property-platform","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"__isDomElementVisible","fullName":"global.__isDomElementVisible","icon":"icon-method","url":"#!/api/global-method-__isDomElementVisible","meta":{},"sort":3},{"name":"createElement","fullName":"global.createElement","icon":"icon-method","url":"#!/api/global-method-createElement","meta":{},"sort":3},{"name":"simulatePlatformEvent","fullName":"global.simulatePlatformEvent","icon":"icon-method","url":"#!/api/global-method-simulatePlatformEvent","meta":{},"sort":3},{"name":"retainFocusDuringDomUpdate","fullName":"global.retainFocusDuringDomUpdate","icon":"icon-method","url":"#!/api/global-method-retainFocusDuringDomUpdate","meta":{},"sort":3},{"name":"sendReadyEvent","fullName":"global.sendReadyEvent","icon":"icon-method","url":"#!/api/global-method-sendReadyEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doActivated","fullName":"global.doActivated","icon":"icon-method","url":"#!/api/global-method-doActivated","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"drawDisabledState","fullName":"global.drawDisabledState","icon":"icon-method","url":"#!/api/global-method-drawDisabledState","meta":{"abstract":true},"sort":3},{"name":"drawFocusedState","fullName":"global.drawFocusedState","icon":"icon-method","url":"#!/api/global-method-drawFocusedState","meta":{},"sort":3},{"name":"drawHoverState","fullName":"global.drawHoverState","icon":"icon-method","url":"#!/api/global-method-drawHoverState","meta":{"abstract":true},"sort":3},{"name":"drawActiveState","fullName":"global.drawActiveState","icon":"icon-method","url":"#!/api/global-method-drawActiveState","meta":{"abstract":true},"sort":3},{"name":"drawReadyState","fullName":"global.drawReadyState","icon":"icon-method","url":"#!/api/global-method-drawReadyState","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"disabled","fullName":"global.disabled","icon":"icon-attribute","url":"#!/api/global-attribute-disabled","meta":{},"sort":3},{"name":"doDisabled","fullName":"global.doDisabled","icon":"icon-method","url":"#!/api/global-method-doDisabled","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isdraggable","fullName":"global.isdraggable","icon":"icon-attribute","url":"#!/api/global-attribute-isdraggable","meta":{},"sort":3},{"name":"isdragging","fullName":"global.isdragging","icon":"icon-attribute","url":"#!/api/global-attribute-isdragging","meta":{},"sort":3},{"name":"allowabort","fullName":"global.allowabort","icon":"icon-attribute","url":"#!/api/global-attribute-allowabort","meta":{},"sort":3},{"name":"centeronmouse","fullName":"global.centeronmouse","icon":"icon-attribute","url":"#!/api/global-attribute-centeronmouse","meta":{},"sort":3},{"name":"distancebeforedrag","fullName":"global.distancebeforedrag","icon":"icon-attribute","url":"#!/api/global-attribute-distancebeforedrag","meta":{},"sort":3},{"name":"dragaxis","fullName":"global.dragaxis","icon":"icon-attribute","url":"#!/api/global-attribute-dragaxis","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getDragViews","fullName":"global.getDragViews","icon":"icon-method","url":"#!/api/global-method-getDragViews","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"updatePosition","fullName":"global.updatePosition","icon":"icon-method","url":"#!/api/global-method-updatePosition","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"getDistanceFromOriginalLocation","fullName":"global.getDistanceFromOriginalLocation","icon":"icon-method","url":"#!/api/global-method-getDistanceFromOriginalLocation","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"activationkeys","fullName":"global.activationkeys","icon":"icon-attribute","url":"#!/api/global-attribute-activationkeys","meta":{},"sort":3},{"name":"activateKeyDown","fullName":"global.activateKeyDown","icon":"icon-attribute","url":"#!/api/global-attribute-activateKeyDown","meta":{"readonly":true},"sort":3},{"name":"repeatkeydown","fullName":"global.repeatkeydown","icon":"icon-attribute","url":"#!/api/global-attribute-repeatkeydown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doBlur","fullName":"global.doBlur","icon":"icon-method","url":"#!/api/global-method-doBlur","meta":{},"sort":3},{"name":"doActivationKeyDown","fullName":"global.doActivationKeyDown","icon":"icon-method","url":"#!/api/global-method-doActivationKeyDown","meta":{"abstract":true},"sort":3},{"name":"doActivationKeyUp","fullName":"global.doActivationKeyUp","icon":"icon-method","url":"#!/api/global-method-doActivationKeyUp","meta":{},"sort":3},{"name":"doActivationKeyAborted","fullName":"global.doActivationKeyAborted","icon":"icon-method","url":"#!/api/global-method-doActivationKeyAborted","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismousedown","fullName":"global.ismousedown","icon":"icon-attribute","url":"#!/api/global-attribute-ismousedown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"doMouseDown","fullName":"global.doMouseDown","icon":"icon-method","url":"#!/api/global-method-doMouseDown","meta":{},"sort":3},{"name":"doMouseUp","fullName":"global.doMouseUp","icon":"icon-method","url":"#!/api/global-method-doMouseUp","meta":{},"sort":3},{"name":"doMouseUpInside","fullName":"global.doMouseUpInside","icon":"icon-method","url":"#!/api/global-method-doMouseUpInside","meta":{},"sort":3},{"name":"doMouseUpOutside","fullName":"global.doMouseUpOutside","icon":"icon-method","url":"#!/api/global-method-doMouseUpOutside","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismouseover","fullName":"global.ismouseover","icon":"icon-attribute","url":"#!/api/global-attribute-ismouseover","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doSmoothMouseOver","fullName":"global.doSmoothMouseOver","icon":"icon-method","url":"#!/api/global-method-doSmoothMouseOver","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"updateUI","fullName":"global.updateUI","icon":"icon-method","url":"#!/api/global-method-updateUI","meta":{"abstract":true},"sort":3},{"name":"Dynamically Constraining Attributes with JavaScript Expressions","fullName":"guide: Dynamically Constraining Attributes with JavaScript Expressions","icon":"icon-guide","url":"#!/guide/constraints","meta":{},"sort":4},{"name":"Troubleshooting and Debugging Dreem Applications","fullName":"guide: Troubleshooting and Debugging Dreem Applications","icon":"icon-guide","url":"#!/guide/debug","meta":{},"sort":4},{"name":"Dreem Class Packages Guide","fullName":"guide: Dreem Class Packages Guide","icon":"icon-guide","url":"#!/guide/packages","meta":{},"sort":4},{"name":"Dreem Plugin Guide","fullName":"guide: Dreem Plugin Guide","icon":"icon-guide","url":"#!/guide/plugins","meta":{},"sort":4},{"name":"Starting out with Dreem (using windows)\r","fullName":"guide: Starting out with Dreem (using windows)\r","icon":"icon-guide","url":"#!/guide/startingwithdreem","meta":{},"sort":4},{"name":"Dreem Language Guide","fullName":"guide: Dreem Language Guide","icon":"icon-guide","url":"#!/guide/subclassing","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Attributes","position":0.9,"icon":"/Users/freemason/workspace/teem/dreem2/docs/lib/attr.png","toolbar_title":"Attributes","subsections":[{"title":"Required attributes","filter":{"required":true}},{"title":"Optional attributes","filter":{"required":false},"default":true}],"name":"attribute"},{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}}; diff --git a/docs/api/data-ab1b8e3c387bdacd5b73b0388808e963.js b/docs/api/data-ab1b8e3c387bdacd5b73b0388808e963.js deleted file mode 100644 index cf28d8b..0000000 --- a/docs/api/data-ab1b8e3c387bdacd5b73b0388808e963.js +++ /dev/null @@ -1 +0,0 @@ -Docs = {"data":{"classes":[{"name":"BusClient","extends":null,"private":null,"icon":"icon-class"},{"name":"BusServer","extends":null,"private":null,"icon":"icon-class"},{"name":"CompositionServer","extends":null,"private":null,"icon":"icon-class"},{"name":"DaliGen","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemCompiler","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemError","extends":null,"private":null,"icon":"icon-class"},{"name":"FileWatcher","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.HTMLParser","extends":null,"private":null,"icon":"icon-class"},{"name":"NodeWebSocket","extends":null,"private":null,"icon":"icon-class"},{"name":"RunMonitor","extends":null,"private":null,"icon":"icon-class"},{"name":"TeemServer","extends":null,"private":null,"icon":"icon-class"},{"name":"Eventable","extends":"Module","private":null,"icon":"icon-class"},{"name":"dr.node","extends":"Eventable","private":null,"icon":"icon-class"},{"name":"parser.Error","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.Animator.DEFAULT_MOTION","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.layout","extends":"dr.baselayout","private":null,"icon":"icon-class"},{"name":"dr.view","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.alignlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.bitmap","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.buttonbase","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.checkbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.constantlayout","extends":"dr.layout","private":null,"icon":"icon-class"},{"name":"dr.datapath","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.dataset","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.expectedoutput","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.indicator","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.inputtext","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.labelbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.labeltoggle","extends":"dr.labelbutton","private":null,"icon":"icon-class"},{"name":"dr.markup","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.rangeslider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.replicator","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.resizelayout","extends":"dr.spacedlayout","private":null,"icon":"icon-class"},{"name":"dr.sizetoplatform","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.slider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.spacedlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.style","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.testingtimer","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.text","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.variablelayout","extends":"dr.constantlayout","private":null,"icon":"icon-class"},{"name":"dr.videoplayer","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.webpage","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.wrappinglayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"global","extends":null,"private":null,"icon":"icon-class"}],"guides":[{"title":"Dreem Guides","items":[{"name":"constraints","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints/README.md"},{"name":"debug","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem ","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug/README.md"},{"name":"packages","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages/README.md"},{"name":"startingwithdreem","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem/README.md"},{"name":"subclassing","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing/README.md"}]}],"videos":[],"examples":[],"search":[{"name":"BusClient","fullName":"BusClient","icon":"icon-class","url":"#!/api/BusClient","meta":{},"sort":1},{"name":"__reconnect","fullName":"BusClient.__reconnect","icon":"icon-method","url":"#!/api/BusClient-method-__reconnect","meta":{},"sort":3},{"name":"send","fullName":"BusClient.send","icon":"icon-method","url":"#!/api/BusClient-method-send","meta":{},"sort":3},{"name":"onMessage","fullName":"BusClient.onMessage","icon":"icon-event","url":"#!/api/BusClient-event-onMessage","meta":{},"sort":3},{"name":"BusServer","fullName":"BusServer","icon":"icon-class","url":"#!/api/BusServer","meta":{},"sort":1},{"name":"addWebSocket","fullName":"BusServer.addWebSocket","icon":"icon-method","url":"#!/api/BusServer-method-addWebSocket","meta":{},"sort":3},{"name":"onMessage","fullName":"BusServer.onMessage","icon":"icon-event","url":"#!/api/BusServer-event-onMessage","meta":{},"sort":3},{"name":"onConnect","fullName":"BusServer.onConnect","icon":"icon-event","url":"#!/api/BusServer-event-onConnect","meta":{},"sort":3},{"name":"broadcast","fullName":"BusServer.broadcast","icon":"icon-method","url":"#!/api/BusServer-method-broadcast","meta":{},"sort":3},{"name":"CompositionServer","fullName":"CompositionServer","icon":"icon-class","url":"#!/api/CompositionServer","meta":{},"sort":1},{"name":"request","fullName":"CompositionServer.request","icon":"icon-method","url":"#!/api/CompositionServer-method-request","meta":{},"sort":3},{"name":"onChange","fullName":"CompositionServer.onChange","icon":"icon-event","url":"#!/api/CompositionServer-event-onChange","meta":{},"sort":3},{"name":"__buildScreenPath","fullName":"CompositionServer.__buildScreenPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildScreenPath","meta":{"private":true},"sort":3},{"name":"__buildPath","fullName":"CompositionServer.__buildPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildPath","meta":{"private":true},"sort":3},{"name":"__showErrors","fullName":"CompositionServer.__showErrors","icon":"icon-method","url":"#!/api/CompositionServer-method-__showErrors","meta":{"private":true},"sort":3},{"name":"__parseDreSync","fullName":"CompositionServer.__parseDreSync","icon":"icon-method","url":"#!/api/CompositionServer-method-__parseDreSync","meta":{"private":true},"sort":3},{"name":"__makeLocalDeps","fullName":"CompositionServer.__makeLocalDeps","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeLocalDeps","meta":{"private":true},"sort":3},{"name":"__lookupDep","fullName":"CompositionServer.__lookupDep","icon":"icon-method","url":"#!/api/CompositionServer-method-__lookupDep","meta":{"private":true},"sort":3},{"name":"__compileAndWriteDreToJS","fullName":"CompositionServer.__compileAndWriteDreToJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileAndWriteDreToJS","meta":{},"sort":3},{"name":"__compileLocalClass","fullName":"CompositionServer.__compileLocalClass","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileLocalClass","meta":{"private":true},"sort":3},{"name":"__handleInclude","fullName":"CompositionServer.__handleInclude","icon":"icon-method","url":"#!/api/CompositionServer-method-__handleInclude","meta":{"private":true},"sort":3},{"name":"__getCompositionPath","fullName":"CompositionServer.__getCompositionPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__getCompositionPath","meta":{"private":true},"sort":3},{"name":"__reloadComposition","fullName":"CompositionServer.__reloadComposition","icon":"icon-method","url":"#!/api/CompositionServer-method-__reloadComposition","meta":{"private":true},"sort":3},{"name":"__makeComponentJS","fullName":"CompositionServer.__makeComponentJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeComponentJS","meta":{"private":true},"sort":3},{"name":"__makeScreenJS","fullName":"CompositionServer.__makeScreenJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeScreenJS","meta":{"private":true},"sort":3},{"name":"__packageDali","fullName":"CompositionServer.__packageDali","icon":"icon-method","url":"#!/api/CompositionServer-method-__packageDali","meta":{},"sort":3},{"name":"__renderHTMLTemplate","fullName":"CompositionServer.__renderHTMLTemplate","icon":"icon-method","url":"#!/api/CompositionServer-method-__renderHTMLTemplate","meta":{},"sort":3},{"name":"__mkdirParent","fullName":"CompositionServer.__mkdirParent","icon":"icon-method","url":"#!/api/CompositionServer-method-__mkdirParent","meta":{},"sort":3},{"name":"__writeFileIfChanged","fullName":"CompositionServer.__writeFileIfChanged","icon":"icon-method","url":"#!/api/CompositionServer-method-__writeFileIfChanged","meta":{},"sort":3},{"name":"DaliGen","fullName":"DaliGen","icon":"icon-class","url":"#!/api/DaliGen","meta":{},"sort":1},{"name":"DreemCompiler","fullName":"DreemCompiler","icon":"icon-class","url":"#!/api/DreemCompiler","meta":{},"sort":1},{"name":"DreemError","fullName":"DreemError","icon":"icon-class","url":"#!/api/DreemError","meta":{},"sort":1},{"name":"FileWatcher","fullName":"FileWatcher","icon":"icon-class","url":"#!/api/FileWatcher","meta":{},"sort":1},{"name":"onChange","fullName":"FileWatcher.onChange","icon":"icon-event","url":"#!/api/FileWatcher-event-onChange","meta":{},"sort":3},{"name":"watch","fullName":"FileWatcher.watch","icon":"icon-method","url":"#!/api/FileWatcher-method-watch","meta":{},"sort":3},{"name":"HTMLParser","fullName":"parser.HTMLParser","icon":"icon-class","url":"#!/api/parser.HTMLParser","meta":{},"sort":1},{"name":"reserialize","fullName":"parser.HTMLParser.reserialize","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-reserialize","meta":{},"sort":3},{"name":"parse","fullName":"parser.HTMLParser.parse","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-parse","meta":{},"sort":3},{"name":"NodeWebSocket","fullName":"NodeWebSocket","icon":"icon-class","url":"#!/api/NodeWebSocket","meta":{},"sort":1},{"name":"onMessage","fullName":"NodeWebSocket.onMessage","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onMessage","meta":{},"sort":3},{"name":"onClose","fullName":"NodeWebSocket.onClose","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onClose","meta":{},"sort":3},{"name":"onError","fullName":"NodeWebSocket.onError","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onError","meta":{},"sort":3},{"name":"send","fullName":"NodeWebSocket.send","icon":"icon-method","url":"#!/api/NodeWebSocket-method-send","meta":{},"sort":3},{"name":"close","fullName":"NodeWebSocket.close","icon":"icon-method","url":"#!/api/NodeWebSocket-method-close","meta":{},"sort":3},{"name":"RunMonitor","fullName":"RunMonitor","icon":"icon-class","url":"#!/api/RunMonitor","meta":{},"sort":1},{"name":"restart_delay","fullName":"RunMonitor.restart_delay","icon":"icon-attribute","url":"#!/api/RunMonitor-attribute-restart_delay","meta":{},"sort":3},{"name":"TeemServer","fullName":"TeemServer","icon":"icon-class","url":"#!/api/TeemServer","meta":{},"sort":1},{"name":"broadcast","fullName":"TeemServer.broadcast","icon":"icon-method","url":"#!/api/TeemServer-method-broadcast","meta":{},"sort":3},{"name":"","fullName":"TeemServer.","icon":"icon-method","url":"#!/api/TeemServer-method-","meta":{},"sort":3},{"name":"__upgrade","fullName":"TeemServer.__upgrade","icon":"icon-method","url":"#!/api/TeemServer-method-__upgrade","meta":{},"sort":3},{"name":"request","fullName":"TeemServer.request","icon":"icon-method","url":"#!/api/TeemServer-method-request","meta":{},"sort":3},{"name":"Eventable","fullName":"Eventable","icon":"icon-class","url":"#!/api/Eventable","meta":{},"sort":1},{"name":"initing","fullName":"Eventable.initing","icon":"icon-attribute","url":"#!/api/Eventable-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"Eventable.inited","icon":"icon-attribute","url":"#!/api/Eventable-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"initialize","fullName":"Eventable.initialize","icon":"icon-method","url":"#!/api/Eventable-method-initialize","meta":{},"sort":3},{"name":"init","fullName":"Eventable.init","icon":"icon-method","url":"#!/api/Eventable-method-init","meta":{},"sort":3},{"name":"destroy","fullName":"Eventable.destroy","icon":"icon-method","url":"#!/api/Eventable-method-destroy","meta":{},"sort":3},{"name":"node","fullName":"dr.node","icon":"icon-class","url":"#!/api/dr.node","meta":{},"sort":1},{"name":"parent","fullName":"dr.node.parent","icon":"icon-event","url":"#!/api/dr.node-event-parent","meta":{},"sort":3},{"name":"parent","fullName":"dr.node.parent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-parent","meta":{},"sort":3},{"name":"$textcontent","fullName":"dr.node.$textcontent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-S-textcontent","meta":{},"sort":3},{"name":"initing","fullName":"dr.node.initing","icon":"icon-attribute","url":"#!/api/dr.node-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"dr.node.inited","icon":"icon-attribute","url":"#!/api/dr.node-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"isBeingDestroyed","fullName":"dr.node.isBeingDestroyed","icon":"icon-attribute","url":"#!/api/dr.node-attribute-isBeingDestroyed","meta":{"readonly":true},"sort":3},{"name":"placement","fullName":"dr.node.placement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-placement","meta":{},"sort":3},{"name":"defaultplacement","fullName":"dr.node.defaultplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-defaultplacement","meta":{},"sort":3},{"name":"ignoreplacement","fullName":"dr.node.ignoreplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-ignoreplacement","meta":{},"sort":3},{"name":"__disallowPlacement","fullName":"dr.node.__disallowPlacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__disallowPlacement","meta":{},"sort":3},{"name":"__animPool","fullName":"dr.node.__animPool","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__animPool","meta":{"private":true},"sort":3},{"name":"subnodes","fullName":"dr.node.subnodes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-subnodes","meta":{},"sort":3},{"name":"name","fullName":"dr.node.name","icon":"icon-attribute","url":"#!/api/dr.node-attribute-name","meta":{},"sort":3},{"name":"id","fullName":"dr.node.id","icon":"icon-attribute","url":"#!/api/dr.node-attribute-id","meta":{},"sort":3},{"name":"scriptincludes","fullName":"dr.node.scriptincludes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludes","meta":{},"sort":3},{"name":"scriptincludeserror","fullName":"dr.node.scriptincludeserror","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludeserror","meta":{},"sort":3},{"name":"getMatchingAncestorOrSelf","fullName":"dr.node.getMatchingAncestorOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestorOrSelf","meta":{},"sort":3},{"name":"getMatchingAncestor","fullName":"dr.node.getMatchingAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestor","meta":{},"sort":3},{"name":"initialize","fullName":"dr.node.initialize","icon":"icon-method","url":"#!/api/dr.node-method-initialize","meta":{},"sort":3},{"name":"initNode","fullName":"dr.node.initNode","icon":"icon-method","url":"#!/api/dr.node-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.node.notifyReady","icon":"icon-method","url":"#!/api/dr.node-method-notifyReady","meta":{},"sort":3},{"name":"doBeforeAdoption","fullName":"dr.node.doBeforeAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doBeforeAdoption","meta":{},"sort":3},{"name":"doAfterAdoption","fullName":"dr.node.doAfterAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doAfterAdoption","meta":{},"sort":3},{"name":"__makeChildren","fullName":"dr.node.__makeChildren","icon":"icon-method","url":"#!/api/dr.node-method-__makeChildren","meta":{"private":true},"sort":3},{"name":"__registerHandlers","fullName":"dr.node.__registerHandlers","icon":"icon-method","url":"#!/api/dr.node-method-__registerHandlers","meta":{"private":true},"sort":3},{"name":"destroy","fullName":"dr.node.destroy","icon":"icon-method","url":"#!/api/dr.node-method-destroy","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.node.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.node.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"set_parent","fullName":"dr.node.set_parent","icon":"icon-method","url":"#!/api/dr.node-method-set_parent","meta":{},"sort":3},{"name":"set_name","fullName":"dr.node.set_name","icon":"icon-method","url":"#!/api/dr.node-method-set_name","meta":{},"sort":3},{"name":"set_id","fullName":"dr.node.set_id","icon":"icon-method","url":"#!/api/dr.node-method-set_id","meta":{},"sort":3},{"name":"getSubnodes","fullName":"dr.node.getSubnodes","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodes","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.node.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.node-method-getTypeForAttrName","meta":{},"sort":3},{"name":"createChild","fullName":"dr.node.createChild","icon":"icon-method","url":"#!/api/dr.node-method-createChild","meta":{},"sort":3},{"name":"determinePlacement","fullName":"dr.node.determinePlacement","icon":"icon-method","url":"#!/api/dr.node-method-determinePlacement","meta":{},"sort":3},{"name":"__addNameRef","fullName":"dr.node.__addNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__addNameRef","meta":{"private":true},"sort":3},{"name":"__removeNameRef","fullName":"dr.node.__removeNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__removeNameRef","meta":{"private":true},"sort":3},{"name":"getRoot","fullName":"dr.node.getRoot","icon":"icon-method","url":"#!/api/dr.node-method-getRoot","meta":{},"sort":3},{"name":"isRoot","fullName":"dr.node.isRoot","icon":"icon-method","url":"#!/api/dr.node-method-isRoot","meta":{},"sort":3},{"name":"isDescendantOf","fullName":"dr.node.isDescendantOf","icon":"icon-method","url":"#!/api/dr.node-method-isDescendantOf","meta":{},"sort":3},{"name":"isAncestorOf","fullName":"dr.node.isAncestorOf","icon":"icon-method","url":"#!/api/dr.node-method-isAncestorOf","meta":{},"sort":3},{"name":"getLeastCommonAncestor","fullName":"dr.node.getLeastCommonAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getLeastCommonAncestor","meta":{},"sort":3},{"name":"searchAncestorsForClass","fullName":"dr.node.searchAncestorsForClass","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsForClass","meta":{},"sort":3},{"name":"getAncestorWithProperty","fullName":"dr.node.getAncestorWithProperty","icon":"icon-method","url":"#!/api/dr.node-method-getAncestorWithProperty","meta":{},"sort":3},{"name":"searchAncestors","fullName":"dr.node.searchAncestors","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestors","meta":{},"sort":3},{"name":"searchAncestorsOrSelf","fullName":"dr.node.searchAncestorsOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsOrSelf","meta":{},"sort":3},{"name":"getAncestors","fullName":"dr.node.getAncestors","icon":"icon-method","url":"#!/api/dr.node-method-getAncestors","meta":{},"sort":3},{"name":"walk","fullName":"dr.node.walk","icon":"icon-method","url":"#!/api/dr.node-method-walk","meta":{"chainable":true},"sort":3},{"name":"hasSubnode","fullName":"dr.node.hasSubnode","icon":"icon-method","url":"#!/api/dr.node-method-hasSubnode","meta":{},"sort":3},{"name":"getSubnodeIndex","fullName":"dr.node.getSubnodeIndex","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodeIndex","meta":{},"sort":3},{"name":"addSubnode","fullName":"dr.node.addSubnode","icon":"icon-method","url":"#!/api/dr.node-method-addSubnode","meta":{"chainable":true},"sort":3},{"name":"removeSubnode","fullName":"dr.node.removeSubnode","icon":"icon-method","url":"#!/api/dr.node-method-removeSubnode","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.node.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.node.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"animateMultiple","fullName":"dr.node.animateMultiple","icon":"icon-method","url":"#!/api/dr.node-method-animateMultiple","meta":{"chainable":true},"sort":3},{"name":"animate","fullName":"dr.node.animate","icon":"icon-method","url":"#!/api/dr.node-method-animate","meta":{},"sort":3},{"name":"getActiveAnimators","fullName":"dr.node.getActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-getActiveAnimators","meta":{},"sort":3},{"name":"stopActiveAnimators","fullName":"dr.node.stopActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-stopActiveAnimators","meta":{"chainable":true},"sort":3},{"name":"__getAnimPool","fullName":"dr.node.__getAnimPool","icon":"icon-method","url":"#!/api/dr.node-method-__getAnimPool","meta":{"private":true},"sort":3},{"name":"Error","fullName":"parser.Error","icon":"icon-class","url":"#!/api/parser.Error","meta":{},"sort":1},{"name":"Compiler","fullName":"parser.Compiler","icon":"icon-class","url":"#!/api/parser.Compiler","meta":{},"sort":1},{"name":"Compiler","fullName":"Compiler","icon":"icon-class","url":"#!/api/Compiler","meta":{},"sort":1},{"name":"languages","fullName":"Compiler.languages","icon":"icon-property","url":"#!/api/Compiler-property-languages","meta":{},"sort":3},{"name":"builtin","fullName":"Compiler.builtin","icon":"icon-property","url":"#!/api/Compiler-property-builtin","meta":{},"sort":3},{"name":"Animator.DEFAULT_MOTION","fullName":"dr.Animator.DEFAULT_MOTION","icon":"icon-class","url":"#!/api/dr.Animator.DEFAULT_MOTION","meta":{},"sort":1},{"name":"layout","fullName":"dr.layout","icon":"icon-class","url":"#!/api/dr.layout","meta":{},"sort":1},{"name":"__notifyReady","fullName":"dr.layout.__notifyReady","icon":"icon-method","url":"#!/api/dr.layout-method-__notifyReady","meta":{"private":true},"sort":3},{"name":"addSubview","fullName":"dr.layout.addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-addSubview","meta":{},"sort":3},{"name":"__addSubview","fullName":"dr.layout.__addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__addSubview","meta":{"private":true},"sort":3},{"name":"removeSubview","fullName":"dr.layout.removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-removeSubview","meta":{},"sort":3},{"name":"__removeSubview","fullName":"dr.layout.__removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__removeSubview","meta":{"private":true},"sort":3},{"name":"startMonitoringSubviewForIgnore","fullName":"dr.layout.startMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"stopMonitoringSubviewForIgnore","fullName":"dr.layout.stopMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"ignore","fullName":"dr.layout.ignore","icon":"icon-method","url":"#!/api/dr.layout-method-ignore","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.layout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"startMonitoringAllSubviews","fullName":"dr.layout.startMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringAllSubviews","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.layout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringAllSubviews","fullName":"dr.layout.stopMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringAllSubviews","meta":{},"sort":3},{"name":"canUpdate","fullName":"dr.layout.canUpdate","icon":"icon-method","url":"#!/api/dr.layout-method-canUpdate","meta":{},"sort":3},{"name":"update","fullName":"dr.layout.update","icon":"icon-method","url":"#!/api/dr.layout-method-update","meta":{},"sort":3},{"name":"view","fullName":"dr.view","icon":"icon-class","url":"#!/api/dr.view","meta":{},"sort":1},{"name":"onsubviewadded","fullName":"dr.view.onsubviewadded","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewadded","meta":{},"sort":3},{"name":"onsubviewremoved","fullName":"dr.view.onsubviewremoved","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewremoved","meta":{},"sort":3},{"name":"onlayoutadded","fullName":"dr.view.onlayoutadded","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutadded","meta":{},"sort":3},{"name":"onlayoutremoved","fullName":"dr.view.onlayoutremoved","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutremoved","meta":{},"sort":3},{"name":"focustrap","fullName":"dr.view.focustrap","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focustrap","meta":{},"sort":3},{"name":"focuscage","fullName":"dr.view.focuscage","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focuscage","meta":{},"sort":3},{"name":"maskfocus","fullName":"dr.view.maskfocus","icon":"icon-attribute","url":"#!/api/dr.view-attribute-maskfocus","meta":{},"sort":3},{"name":"focusable","fullName":"dr.view.focusable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusable","meta":{},"sort":3},{"name":"focused","fullName":"dr.view.focused","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focused","meta":{},"sort":3},{"name":"focusembellishment","fullName":"dr.view.focusembellishment","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusembellishment","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"gradient","fullName":"dr.view.gradient","icon":"icon-attribute","url":"#!/api/dr.view-attribute-gradient","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{},"sort":3},{"name":"__fullBorderPaddingWidth","fullName":"dr.view.__fullBorderPaddingWidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingWidth","meta":{"private":true},"sort":3},{"name":"__fullBorderPaddingHeight","fullName":"dr.view.__fullBorderPaddingHeight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingHeight","meta":{"private":true},"sort":3},{"name":"__autoLayoutwidth","fullName":"dr.view.__autoLayoutwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutwidth","meta":{"private":true},"sort":3},{"name":"__autoLayoutheight","fullName":"dr.view.__autoLayoutheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutheight","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_x","fullName":"dr.view.__isPercentConstraint_x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_x","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_y","fullName":"dr.view.__isPercentConstraint_y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_y","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_width","fullName":"dr.view.__isPercentConstraint_width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_width","meta":{},"sort":3},{"name":"__isPercentConstraint_height","fullName":"dr.view.__isPercentConstraint_height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_height","meta":{},"sort":3},{"name":"__lockRecalc","fullName":"dr.view.__lockRecalc","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__lockRecalc","meta":{},"sort":3},{"name":"x","fullName":"dr.view.x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-x","meta":{},"sort":3},{"name":"y","fullName":"dr.view.y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-y","meta":{},"sort":3},{"name":"width","fullName":"dr.view.width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-width","meta":{},"sort":3},{"name":"height","fullName":"dr.view.height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-height","meta":{},"sort":3},{"name":"isaligned","fullName":"dr.view.isaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isaligned","meta":{"readonly":true},"sort":3},{"name":"isvaligned","fullName":"dr.view.isvaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isvaligned","meta":{"readonly":true},"sort":3},{"name":"innerwidth","fullName":"dr.view.innerwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerwidth","meta":{"readonly":true},"sort":3},{"name":"innerheight","fullName":"dr.view.innerheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerheight","meta":{"readonly":true},"sort":3},{"name":"boundsx","fullName":"dr.view.boundsx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsx","meta":{"readonly":true},"sort":3},{"name":"boundsy","fullName":"dr.view.boundsy","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsy","meta":{"readonly":true},"sort":3},{"name":"boundsxdiff","fullName":"dr.view.boundsxdiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsxdiff","meta":{"readonly":true},"sort":3},{"name":"boundsydiff","fullName":"dr.view.boundsydiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsydiff","meta":{"readonly":true},"sort":3},{"name":"boundswidth","fullName":"dr.view.boundswidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundswidth","meta":{"readonly":true},"sort":3},{"name":"boundsheight","fullName":"dr.view.boundsheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsheight","meta":{"readonly":true},"sort":3},{"name":"clickable","fullName":"dr.view.clickable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clickable","meta":{},"sort":3},{"name":"clip","fullName":"dr.view.clip","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clip","meta":{},"sort":3},{"name":"scrollable","fullName":"dr.view.scrollable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollable","meta":{},"sort":3},{"name":"scrollbars","fullName":"dr.view.scrollbars","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollbars","meta":{},"sort":3},{"name":"visible","fullName":"dr.view.visible","icon":"icon-attribute","url":"#!/api/dr.view-attribute-visible","meta":{},"sort":3},{"name":"bgcolor","fullName":"dr.view.bgcolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bgcolor","meta":{},"sort":3},{"name":"bordercolor","fullName":"dr.view.bordercolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bordercolor","meta":{},"sort":3},{"name":"borderstyle","fullName":"dr.view.borderstyle","icon":"icon-attribute","url":"#!/api/dr.view-attribute-borderstyle","meta":{},"sort":3},{"name":"border","fullName":"dr.view.border","icon":"icon-attribute","url":"#!/api/dr.view-attribute-border","meta":{},"sort":3},{"name":"padding","fullName":"dr.view.padding","icon":"icon-attribute","url":"#!/api/dr.view-attribute-padding","meta":{},"sort":3},{"name":"xscale","fullName":"dr.view.xscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xscale","meta":{},"sort":3},{"name":"yscale","fullName":"dr.view.yscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yscale","meta":{},"sort":3},{"name":"z","fullName":"dr.view.z","icon":"icon-attribute","url":"#!/api/dr.view-attribute-z","meta":{},"sort":3},{"name":"rotation","fullName":"dr.view.rotation","icon":"icon-attribute","url":"#!/api/dr.view-attribute-rotation","meta":{},"sort":3},{"name":"perspective","fullName":"dr.view.perspective","icon":"icon-attribute","url":"#!/api/dr.view-attribute-perspective","meta":{},"sort":3},{"name":"opacity","fullName":"dr.view.opacity","icon":"icon-attribute","url":"#!/api/dr.view-attribute-opacity","meta":{},"sort":3},{"name":"scrollx","fullName":"dr.view.scrollx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollx","meta":{},"sort":3},{"name":"scrolly","fullName":"dr.view.scrolly","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrolly","meta":{},"sort":3},{"name":"xanchor","fullName":"dr.view.xanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xanchor","meta":{},"sort":3},{"name":"yanchor","fullName":"dr.view.yanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yanchor","meta":{},"sort":3},{"name":"zanchor","fullName":"dr.view.zanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-zanchor","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"ignorelayout","fullName":"dr.view.ignorelayout","icon":"icon-attribute","url":"#!/api/dr.view-attribute-ignorelayout","meta":{},"sort":3},{"name":"layouthint","fullName":"dr.view.layouthint","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouthint","meta":{},"sort":3},{"name":"onclick","fullName":"dr.view.onclick","icon":"icon-event","url":"#!/api/dr.view-event-onclick","meta":{},"sort":3},{"name":"onmouseover","fullName":"dr.view.onmouseover","icon":"icon-event","url":"#!/api/dr.view-event-onmouseover","meta":{},"sort":3},{"name":"onmouseout","fullName":"dr.view.onmouseout","icon":"icon-event","url":"#!/api/dr.view-event-onmouseout","meta":{},"sort":3},{"name":"onmousedown","fullName":"dr.view.onmousedown","icon":"icon-event","url":"#!/api/dr.view-event-onmousedown","meta":{},"sort":3},{"name":"onmouseup","fullName":"dr.view.onmouseup","icon":"icon-event","url":"#!/api/dr.view-event-onmouseup","meta":{},"sort":3},{"name":"onscroll","fullName":"dr.view.onscroll","icon":"icon-event","url":"#!/api/dr.view-event-onscroll","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{"readonly":true},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{"readonly":true},"sort":3},{"name":"initNode","fullName":"dr.view.initNode","icon":"icon-method","url":"#!/api/dr.view-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.view.notifyReady","icon":"icon-method","url":"#!/api/dr.view-method-notifyReady","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.view.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.view.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"__setupAlignConstraint","fullName":"dr.view.__setupAlignConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAlignConstraint","meta":{},"sort":3},{"name":"__setupPercentConstraint","fullName":"dr.view.__setupPercentConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupPercentConstraint","meta":{},"sort":3},{"name":"__setupAutoConstraint","fullName":"dr.view.__setupAutoConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAutoConstraint","meta":{"private":true},"sort":3},{"name":"getSiblingViews","fullName":"dr.view.getSiblingViews","icon":"icon-method","url":"#!/api/dr.view-method-getSiblingViews","meta":{},"sort":3},{"name":"getLayouts","fullName":"dr.view.getLayouts","icon":"icon-method","url":"#!/api/dr.view-method-getLayouts","meta":{},"sort":3},{"name":"__handleScroll","fullName":"dr.view.__handleScroll","icon":"icon-method","url":"#!/api/dr.view-method-__handleScroll","meta":{"private":true},"sort":3},{"name":"__setBP","fullName":"dr.view.__setBP","icon":"icon-method","url":"#!/api/dr.view-method-__setBP","meta":{"private":true},"sort":3},{"name":"__updateBP","fullName":"dr.view.__updateBP","icon":"icon-method","url":"#!/api/dr.view-method-__updateBP","meta":{"private":true},"sort":3},{"name":"__updateInnerWidth","fullName":"dr.view.__updateInnerWidth","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerWidth","meta":{"private":true},"sort":3},{"name":"__updateInnerHeight","fullName":"dr.view.__updateInnerHeight","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerHeight","meta":{"private":true},"sort":3},{"name":"__updateCornerRadius","fullName":"dr.view.__updateCornerRadius","icon":"icon-method","url":"#!/api/dr.view-method-__updateCornerRadius","meta":{"private":true},"sort":3},{"name":"__updateTransform","fullName":"dr.view.__updateTransform","icon":"icon-method","url":"#!/api/dr.view-method-__updateTransform","meta":{"private":true},"sort":3},{"name":"__updateBounds","fullName":"dr.view.__updateBounds","icon":"icon-method","url":"#!/api/dr.view-method-__updateBounds","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.view.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.view-method-getTypeForAttrName","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"dr.view.getAbsolutePosition","icon":"icon-method","url":"#!/api/dr.view-method-getAbsolutePosition","meta":{},"sort":3},{"name":"isVisible","fullName":"dr.view.isVisible","icon":"icon-method","url":"#!/api/dr.view-method-isVisible","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.view.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.view.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"hasSubview","fullName":"dr.view.hasSubview","icon":"icon-method","url":"#!/api/dr.view-method-hasSubview","meta":{},"sort":3},{"name":"getSubviewIndex","fullName":"dr.view.getSubviewIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewIndex","meta":{},"sort":3},{"name":"doSubviewAdded","fullName":"dr.view.doSubviewAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewAdded","meta":{},"sort":3},{"name":"doSubviewRemoved","fullName":"dr.view.doSubviewRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewRemoved","meta":{},"sort":3},{"name":"hasLayout","fullName":"dr.view.hasLayout","icon":"icon-method","url":"#!/api/dr.view-method-hasLayout","meta":{},"sort":3},{"name":"getLayoutIndex","fullName":"dr.view.getLayoutIndex","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutIndex","meta":{},"sort":3},{"name":"doLayoutAdded","fullName":"dr.view.doLayoutAdded","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutAdded","meta":{},"sort":3},{"name":"doLayoutRemoved","fullName":"dr.view.doLayoutRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutRemoved","meta":{},"sort":3},{"name":"getLayoutHint","fullName":"dr.view.getLayoutHint","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutHint","meta":{},"sort":3},{"name":"getFocusTrap","fullName":"dr.view.getFocusTrap","icon":"icon-method","url":"#!/api/dr.view-method-getFocusTrap","meta":{},"sort":3},{"name":"isFocusable","fullName":"dr.view.isFocusable","icon":"icon-method","url":"#!/api/dr.view-method-isFocusable","meta":{},"sort":3},{"name":"giveAwayFocus","fullName":"dr.view.giveAwayFocus","icon":"icon-method","url":"#!/api/dr.view-method-giveAwayFocus","meta":{},"sort":3},{"name":"__handleFocus","fullName":"dr.view.__handleFocus","icon":"icon-method","url":"#!/api/dr.view-method-__handleFocus","meta":{"private":true},"sort":3},{"name":"__handleBlur","fullName":"dr.view.__handleBlur","icon":"icon-method","url":"#!/api/dr.view-method-__handleBlur","meta":{"private":true},"sort":3},{"name":"focus","fullName":"dr.view.focus","icon":"icon-method","url":"#!/api/dr.view-method-focus","meta":{},"sort":3},{"name":"blur","fullName":"dr.view.blur","icon":"icon-method","url":"#!/api/dr.view-method-blur","meta":{},"sort":3},{"name":"getNextFocus","fullName":"dr.view.getNextFocus","icon":"icon-method","url":"#!/api/dr.view-method-getNextFocus","meta":{},"sort":3},{"name":"getPrevFocus","fullName":"dr.view.getPrevFocus","icon":"icon-method","url":"#!/api/dr.view-method-getPrevFocus","meta":{},"sort":3},{"name":"isBehind","fullName":"dr.view.isBehind","icon":"icon-method","url":"#!/api/dr.view-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"dr.view.isInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-isInFrontOf","meta":{},"sort":3},{"name":"moveToFront","fullName":"dr.view.moveToFront","icon":"icon-method","url":"#!/api/dr.view-method-moveToFront","meta":{"chainable":true},"sort":3},{"name":"moveToBack","fullName":"dr.view.moveToBack","icon":"icon-method","url":"#!/api/dr.view-method-moveToBack","meta":{"chainable":true},"sort":3},{"name":"moveInFrontOf","fullName":"dr.view.moveInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-moveInFrontOf","meta":{"chainable":true},"sort":3},{"name":"moveBehind","fullName":"dr.view.moveBehind","icon":"icon-method","url":"#!/api/dr.view-method-moveBehind","meta":{"chainable":true},"sort":3},{"name":"alignlayout","fullName":"dr.alignlayout","icon":"icon-class","url":"#!/api/dr.alignlayout","meta":{},"sort":1},{"name":"align","fullName":"dr.alignlayout.align","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-align","meta":{},"sort":3},{"name":"inset","fullName":"dr.alignlayout.inset","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-inset","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.alignlayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.alignlayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"bitmap","fullName":"dr.bitmap","icon":"icon-class","url":"#!/api/dr.bitmap","meta":{},"sort":1},{"name":"src","fullName":"dr.bitmap.src","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-src","meta":{},"sort":3},{"name":"onload","fullName":"dr.bitmap.onload","icon":"icon-event","url":"#!/api/dr.bitmap-event-onload","meta":{},"sort":3},{"name":"onerror","fullName":"dr.bitmap.onerror","icon":"icon-event","url":"#!/api/dr.bitmap-event-onerror","meta":{},"sort":3},{"name":"stretches","fullName":"dr.bitmap.stretches","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-stretches","meta":{},"sort":3},{"name":"naturalsize","fullName":"dr.bitmap.naturalsize","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-naturalsize","meta":{},"sort":3},{"name":"window","fullName":"dr.bitmap.window","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-window","meta":{},"sort":3},{"name":"buttonbase","fullName":"dr.buttonbase","icon":"icon-class","url":"#!/api/dr.buttonbase","meta":{},"sort":1},{"name":"defaultcolor","fullName":"dr.buttonbase.defaultcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-defaultcolor","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.buttonbase.selectcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selectcolor","meta":{},"sort":3},{"name":"selected","fullName":"dr.buttonbase.selected","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selected","meta":{},"sort":3},{"name":"onselected","fullName":"dr.buttonbase.onselected","icon":"icon-event","url":"#!/api/dr.buttonbase-event-onselected","meta":{},"sort":3},{"name":"text","fullName":"dr.buttonbase.text","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-text","meta":{},"sort":3},{"name":"checkbutton","fullName":"dr.checkbutton","icon":"icon-class","url":"#!/api/dr.checkbutton","meta":{},"sort":1},{"name":"constantlayout","fullName":"dr.constantlayout","icon":"icon-class","url":"#!/api/dr.constantlayout","meta":{},"sort":1},{"name":"attribute","fullName":"dr.constantlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-attribute","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"update","fullName":"dr.constantlayout.update","icon":"icon-method","url":"#!/api/dr.constantlayout-method-update","meta":{},"sort":3},{"name":"datapath","fullName":"dr.datapath","icon":"icon-class","url":"#!/api/dr.datapath","meta":{},"sort":1},{"name":"data","fullName":"dr.datapath.data","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-data","meta":{},"sort":3},{"name":"result","fullName":"dr.datapath.result","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-result","meta":{},"sort":3},{"name":"path","fullName":"dr.datapath.path","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-path","meta":{},"sort":3},{"name":"sortpath","fullName":"dr.datapath.sortpath","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortpath","meta":{},"sort":3},{"name":"sortasc","fullName":"dr.datapath.sortasc","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortasc","meta":{},"sort":3},{"name":"filterexpression","fullName":"dr.datapath.filterexpression","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-filterexpression","meta":{},"sort":3},{"name":"filterfunction","fullName":"dr.datapath.filterfunction","icon":"icon-method","url":"#!/api/dr.datapath-method-filterfunction","meta":{"abstract":true},"sort":3},{"name":"refresh","fullName":"dr.datapath.refresh","icon":"icon-method","url":"#!/api/dr.datapath-method-refresh","meta":{},"sort":3},{"name":"dataset","fullName":"dr.dataset","icon":"icon-class","url":"#!/api/dr.dataset","meta":{},"sort":1},{"name":"name","fullName":"dr.dataset.name","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-name","meta":{"required":true},"sort":3},{"name":"data","fullName":"dr.dataset.data","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-data","meta":{},"sort":3},{"name":"url","fullName":"dr.dataset.url","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-url","meta":{},"sort":3},{"name":"async","fullName":"dr.dataset.async","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-async","meta":{},"sort":3},{"name":"","fullName":"dr.dataset.","icon":"icon-property","url":"#!/api/dr.dataset-property-","meta":{"private":true},"sort":3},{"name":"expectedoutput","fullName":"dr.expectedoutput","icon":"icon-class","url":"#!/api/dr.expectedoutput","meta":{},"sort":1},{"name":"indicator","fullName":"dr.indicator","icon":"icon-class","url":"#!/api/dr.indicator","meta":{},"sort":1},{"name":"fill","fullName":"dr.indicator.fill","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-fill","meta":{},"sort":3},{"name":"inset","fullName":"dr.indicator.inset","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-inset","meta":{},"sort":3},{"name":"size","fullName":"dr.indicator.size","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-size","meta":{},"sort":3},{"name":"inputtext","fullName":"dr.inputtext","icon":"icon-class","url":"#!/api/dr.inputtext","meta":{},"sort":1},{"name":"onselect","fullName":"dr.inputtext.onselect","icon":"icon-event","url":"#!/api/dr.inputtext-event-onselect","meta":{},"sort":3},{"name":"labelbutton","fullName":"dr.labelbutton","icon":"icon-class","url":"#!/api/dr.labelbutton","meta":{},"sort":1},{"name":"labeltoggle","fullName":"dr.labeltoggle","icon":"icon-class","url":"#!/api/dr.labeltoggle","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup","icon":"icon-class","url":"#!/api/dr.markup","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup.markup","icon":"icon-attribute","url":"#!/api/dr.markup-attribute-markup","meta":{},"sort":3},{"name":"unescape","fullName":"dr.markup.unescape","icon":"icon-method","url":"#!/api/dr.markup-method-unescape","meta":{"private":true},"sort":3},{"name":"rangeslider","fullName":"dr.rangeslider","icon":"icon-class","url":"#!/api/dr.rangeslider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.rangeslider.minvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-minvalue","meta":{},"sort":3},{"name":"maxlowvalue","fullName":"dr.rangeslider.maxlowvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxlowvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.rangeslider.axis","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.rangeslider.invert","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.rangeslider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-selectcolor","meta":{},"sort":3},{"name":"lowprogresscolor","fullName":"dr.rangeslider.lowprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-lowprogresscolor","meta":{},"sort":3},{"name":"highprogresscolor","fullName":"dr.rangeslider.highprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-highprogresscolor","meta":{},"sort":3},{"name":"replicator","fullName":"dr.replicator","icon":"icon-class","url":"#!/api/dr.replicator","meta":{},"sort":1},{"name":"pooling","fullName":"dr.replicator.pooling","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-pooling","meta":{},"sort":3},{"name":"async","fullName":"dr.replicator.async","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-async","meta":{},"sort":3},{"name":"data","fullName":"dr.replicator.data","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-data","meta":{},"sort":3},{"name":"path","fullName":"dr.replicator.path","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-path","meta":{},"sort":3},{"name":"classname","fullName":"dr.replicator.classname","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-classname","meta":{"required":true},"sort":3},{"name":"refresh","fullName":"dr.replicator.refresh","icon":"icon-method","url":"#!/api/dr.replicator-method-refresh","meta":{},"sort":3},{"name":"onreplicated","fullName":"dr.replicator.onreplicated","icon":"icon-event","url":"#!/api/dr.replicator-event-onreplicated","meta":{},"sort":3},{"name":"resizelayout","fullName":"dr.resizelayout","icon":"icon-class","url":"#!/api/dr.resizelayout","meta":{},"sort":1},{"name":"sizetoplatform","fullName":"dr.sizetoplatform","icon":"icon-class","url":"#!/api/dr.sizetoplatform","meta":{},"sort":1},{"name":"sizeToPlatform","fullName":"dr.sizetoplatform.sizeToPlatform","icon":"icon-method","url":"#!/api/dr.sizetoplatform-method-sizeToPlatform","meta":{},"sort":3},{"name":"slider","fullName":"dr.slider","icon":"icon-class","url":"#!/api/dr.slider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.slider.minvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-minvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.slider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.slider.value","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.slider.axis","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.slider.invert","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.slider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-selectcolor","meta":{},"sort":3},{"name":"progresscolor","fullName":"dr.slider.progresscolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-progresscolor","meta":{},"sort":3},{"name":"spacedlayout","fullName":"dr.spacedlayout","icon":"icon-class","url":"#!/api/dr.spacedlayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.spacedlayout.spacing","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.spacedlayout.outset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.spacedlayout.inset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-inset","meta":{},"sort":3},{"name":"axis","fullName":"dr.spacedlayout.axis","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.spacedlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"style","fullName":"dr.style","icon":"icon-class","url":"#!/api/dr.style","meta":{},"sort":1},{"name":"testingtimer","fullName":"dr.testingtimer","icon":"icon-class","url":"#!/api/dr.testingtimer","meta":{},"sort":1},{"name":"text","fullName":"dr.text","icon":"icon-class","url":"#!/api/dr.text","meta":{},"sort":1},{"name":"fontsize","fullName":"dr.text.fontsize","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontsize","meta":{},"sort":3},{"name":"fontfamily","fullName":"dr.text.fontfamily","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontfamily","meta":{},"sort":3},{"name":"bold","fullName":"dr.text.bold","icon":"icon-attribute","url":"#!/api/dr.text-attribute-bold","meta":{},"sort":3},{"name":"italic","fullName":"dr.text.italic","icon":"icon-attribute","url":"#!/api/dr.text-attribute-italic","meta":{},"sort":3},{"name":"smallcaps","fullName":"dr.text.smallcaps","icon":"icon-attribute","url":"#!/api/dr.text-attribute-smallcaps","meta":{},"sort":3},{"name":"underline","fullName":"dr.text.underline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-underline","meta":{},"sort":3},{"name":"strike","fullName":"dr.text.strike","icon":"icon-attribute","url":"#!/api/dr.text-attribute-strike","meta":{},"sort":3},{"name":"multiline","fullName":"dr.text.multiline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-multiline","meta":{},"sort":3},{"name":"ellipsis","fullName":"dr.text.ellipsis","icon":"icon-attribute","url":"#!/api/dr.text-attribute-ellipsis","meta":{},"sort":3},{"name":"text","fullName":"dr.text.text","icon":"icon-attribute","url":"#!/api/dr.text-attribute-text","meta":{},"sort":3},{"name":"format","fullName":"dr.text.format","icon":"icon-method","url":"#!/api/dr.text-method-format","meta":{},"sort":3},{"name":"variablelayout","fullName":"dr.variablelayout","icon":"icon-class","url":"#!/api/dr.variablelayout","meta":{},"sort":1},{"name":"updateparent","fullName":"dr.variablelayout.updateparent","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-updateparent","meta":{},"sort":3},{"name":"reverse","fullName":"dr.variablelayout.reverse","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-reverse","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.variablelayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"doAfterUpdate","fullName":"dr.variablelayout.doAfterUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doAfterUpdate","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.variablelayout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.variablelayout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"updateSubview","fullName":"dr.variablelayout.updateSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateSubview","meta":{},"sort":3},{"name":"skipSubview","fullName":"dr.variablelayout.skipSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-skipSubview","meta":{},"sort":3},{"name":"updateParent","fullName":"dr.variablelayout.updateParent","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateParent","meta":{},"sort":3},{"name":"videoplayer","fullName":"dr.videoplayer","icon":"icon-class","url":"#!/api/dr.videoplayer","meta":{},"sort":1},{"name":"video","fullName":"dr.videoplayer.video","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-video","meta":{"readonly":true},"sort":3},{"name":"controls","fullName":"dr.videoplayer.controls","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-controls","meta":{},"sort":3},{"name":"poster","fullName":"dr.videoplayer.poster","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-poster","meta":{},"sort":3},{"name":"preload","fullName":"dr.videoplayer.preload","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-preload","meta":{},"sort":3},{"name":"loop","fullName":"dr.videoplayer.loop","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-loop","meta":{},"sort":3},{"name":"volume","fullName":"dr.videoplayer.volume","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-volume","meta":{},"sort":3},{"name":"duration","fullName":"dr.videoplayer.duration","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-duration","meta":{"readonly":true},"sort":3},{"name":"currenttime","fullName":"dr.videoplayer.currenttime","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-currenttime","meta":{},"sort":3},{"name":"playing","fullName":"dr.videoplayer.playing","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-playing","meta":{},"sort":3},{"name":"src","fullName":"dr.videoplayer.src","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-src","meta":{},"sort":3},{"name":"webpage","fullName":"dr.webpage","icon":"icon-class","url":"#!/api/dr.webpage","meta":{},"sort":1},{"name":"src","fullName":"dr.webpage.src","icon":"icon-attribute","url":"#!/api/dr.webpage-attribute-src","meta":{},"sort":3},{"name":"wrappinglayout","fullName":"dr.wrappinglayout","icon":"icon-class","url":"#!/api/dr.wrappinglayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.wrappinglayout.spacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.wrappinglayout.outset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.wrappinglayout.inset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-inset","meta":{},"sort":3},{"name":"linespacing","fullName":"dr.wrappinglayout.linespacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linespacing","meta":{},"sort":3},{"name":"lineoutset","fullName":"dr.wrappinglayout.lineoutset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineoutset","meta":{},"sort":3},{"name":"lineinset","fullName":"dr.wrappinglayout.lineinset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineinset","meta":{},"sort":3},{"name":"justify","fullName":"dr.wrappinglayout.justify","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-justify","meta":{},"sort":3},{"name":"align","fullName":"dr.wrappinglayout.align","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-align","meta":{},"sort":3},{"name":"linealign","fullName":"dr.wrappinglayout.linealign","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linealign","meta":{},"sort":3},{"name":"axis","fullName":"dr.wrappinglayout.axis","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.wrappinglayout.attribute","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"doLineStart","fullName":"dr.wrappinglayout.doLineStart","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineStart","meta":{},"sort":3},{"name":"doLineEnd","fullName":"dr.wrappinglayout.doLineEnd","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineEnd","meta":{},"sort":3},{"name":"onlinecount","fullName":"dr.wrappinglayout.onlinecount","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onlinecount","meta":{},"sort":3},{"name":"onmaxsize","fullName":"dr.wrappinglayout.onmaxsize","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onmaxsize","meta":{},"sort":3},{"name":"global","fullName":"global","icon":"icon-class","url":"#!/api/global","meta":{},"sort":1},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"browser","fullName":"global.browser","icon":"icon-method","url":"#!/api/global-method-browser","meta":{},"sort":3},{"name":"editor","fullName":"global.editor","icon":"icon-method","url":"#!/api/global-method-editor","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doResolve","fullName":"global.doResolve","icon":"icon-method","url":"#!/api/global-method-doResolve","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"generateSetterName","fullName":"global.generateSetterName","icon":"icon-method","url":"#!/api/global-method-generateSetterName","meta":{},"sort":3},{"name":"generateGetterName","fullName":"global.generateGetterName","icon":"icon-method","url":"#!/api/global-method-generateGetterName","meta":{},"sort":3},{"name":"generateConfigAttrName","fullName":"global.generateConfigAttrName","icon":"icon-method","url":"#!/api/global-method-generateConfigAttrName","meta":{},"sort":3},{"name":"generateConstraintFunctionName","fullName":"global.generateConstraintFunctionName","icon":"icon-method","url":"#!/api/global-method-generateConstraintFunctionName","meta":{},"sort":3},{"name":"generateName","fullName":"global.generateName","icon":"icon-method","url":"#!/api/global-method-generateName","meta":{},"sort":3},{"name":"GETTER_NAMES","fullName":"global.GETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-GETTER_NAMES","meta":{},"sort":3},{"name":"SETTER_NAMES","fullName":"global.SETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-SETTER_NAMES","meta":{},"sort":3},{"name":"CONFIG_ATTR_NAMES","fullName":"global.CONFIG_ATTR_NAMES","icon":"icon-property","url":"#!/api/global-property-CONFIG_ATTR_NAMES","meta":{},"sort":3},{"name":"CONSTRAINT_FUNCTION_NAMES","fullName":"global.CONSTRAINT_FUNCTION_NAMES","icon":"icon-property","url":"#!/api/global-property-CONSTRAINT_FUNCTION_NAMES","meta":{},"sort":3},{"name":"setAttributes","fullName":"global.setAttributes","icon":"icon-method","url":"#!/api/global-method-setAttributes","meta":{},"sort":3},{"name":"getAttribute","fullName":"global.getAttribute","icon":"icon-method","url":"#!/api/global-method-getAttribute","meta":{},"sort":3},{"name":"setAttribute","fullName":"global.setAttribute","icon":"icon-method","url":"#!/api/global-method-setAttribute","meta":{"chainable":true},"sort":3},{"name":"setActualAttribute","fullName":"global.setActualAttribute","icon":"icon-method","url":"#!/api/global-method-setActualAttribute","meta":{"chainable":true},"sort":3},{"name":"getTypeForAttrName","fullName":"global.getTypeForAttrName","icon":"icon-method","url":"#!/api/global-method-getTypeForAttrName","meta":{"private":true},"sort":3},{"name":"setActual","fullName":"global.setActual","icon":"icon-method","url":"#!/api/global-method-setActual","meta":{},"sort":3},{"name":"setSimpleActual","fullName":"global.setSimpleActual","icon":"icon-method","url":"#!/api/global-method-setSimpleActual","meta":{},"sort":3},{"name":"setConstraint","fullName":"global.setConstraint","icon":"icon-method","url":"#!/api/global-method-setConstraint","meta":{"chainable":true},"sort":3},{"name":"setupConstraint","fullName":"global.setupConstraint","icon":"icon-method","url":"#!/api/global-method-setupConstraint","meta":{},"sort":3},{"name":"constraintify","fullName":"global.constraintify","icon":"icon-method","url":"#!/api/global-method-constraintify","meta":{"private":true},"sort":3},{"name":"isConstraintExpression","fullName":"global.isConstraintExpression","icon":"icon-method","url":"#!/api/global-method-isConstraintExpression","meta":{"private":true},"sort":3},{"name":"extractConstraintExpression","fullName":"global.extractConstraintExpression","icon":"icon-method","url":"#!/api/global-method-extractConstraintExpression","meta":{"private":true},"sort":3},{"name":"rebindConstraints","fullName":"global.rebindConstraints","icon":"icon-method","url":"#!/api/global-method-rebindConstraints","meta":{},"sort":3},{"name":"bindConstraint","fullName":"global.bindConstraint","icon":"icon-method","url":"#!/api/global-method-bindConstraint","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroy","fullName":"global.destroy","icon":"icon-method","url":"#!/api/global-method-destroy","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"global.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/global-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"PLATFORM_EVENTS","fullName":"global.PLATFORM_EVENTS","icon":"icon-property","url":"#!/api/global-property-PLATFORM_EVENTS","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"IDdictionary","fullName":"global.IDdictionary","icon":"icon-property","url":"#!/api/global-property-IDdictionary","meta":{},"sort":3},{"name":"__GUID_COUNTER","fullName":"global.__GUID_COUNTER","icon":"icon-property","url":"#!/api/global-property-__GUID_COUNTER","meta":{},"sort":3},{"name":"generateGuid","fullName":"global.generateGuid","icon":"icon-method","url":"#!/api/global-method-generateGuid","meta":{},"sort":3},{"name":"noop","fullName":"global.noop","icon":"icon-method","url":"#!/api/global-method-noop","meta":{},"sort":3},{"name":"resolveName","fullName":"global.resolveName","icon":"icon-method","url":"#!/api/global-method-resolveName","meta":{},"sort":3},{"name":"wrapFunction","fullName":"global.wrapFunction","icon":"icon-method","url":"#!/api/global-method-wrapFunction","meta":{},"sort":3},{"name":"dumpStack","fullName":"global.dumpStack","icon":"icon-method","url":"#!/api/global-method-dumpStack","meta":{},"sort":3},{"name":"memoize","fullName":"global.memoize","icon":"icon-method","url":"#!/api/global-method-memoize","meta":{},"sort":3},{"name":"extend","fullName":"global.extend","icon":"icon-method","url":"#!/api/global-method-extend","meta":{},"sort":3},{"name":"closeTo","fullName":"global.closeTo","icon":"icon-method","url":"#!/api/global-method-closeTo","meta":{},"sort":3},{"name":"notifyReady","fullName":"global.notifyReady","icon":"icon-method","url":"#!/api/global-method-notifyReady","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"makePuppet","fullName":"global.makePuppet","icon":"icon-method","url":"#!/api/global-method-makePuppet","meta":{"private":true},"sort":3},{"name":"releasePuppet","fullName":"global.releasePuppet","icon":"icon-method","url":"#!/api/global-method-releasePuppet","meta":{"private":true},"sort":3},{"name":"__calculateLoopTime","fullName":"global.__calculateLoopTime","icon":"icon-method","url":"#!/api/global-method-__calculateLoopTime","meta":{"private":true},"sort":3},{"name":"__calculateTotalDuration","fullName":"global.__calculateTotalDuration","icon":"icon-method","url":"#!/api/global-method-__calculateTotalDuration","meta":{"private":true},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"rewind","fullName":"global.rewind","icon":"icon-method","url":"#!/api/global-method-rewind","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{"private":true},"sort":3},{"name":"__resetProgress","fullName":"global.__resetProgress","icon":"icon-method","url":"#!/api/global-method-__resetProgress","meta":{"private":true},"sort":3},{"name":"__isFlipped","fullName":"global.__isFlipped","icon":"icon-method","url":"#!/api/global-method-__isFlipped","meta":{"private":true},"sort":3},{"name":"__update","fullName":"global.__update","icon":"icon-method","url":"#!/api/global-method-__update","meta":{"private":true},"sort":3},{"name":"__advance","fullName":"global.__advance","icon":"icon-method","url":"#!/api/global-method-__advance","meta":{"private":true},"sort":3},{"name":"__calculateRemainder","fullName":"global.__calculateRemainder","icon":"icon-method","url":"#!/api/global-method-__calculateRemainder","meta":{"private":true},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"__notifyAnimators","fullName":"global.__notifyAnimators","icon":"icon-method","url":"#!/api/global-method-__notifyAnimators","meta":{"private":true},"sort":3},{"name":"__updateDuration","fullName":"global.__updateDuration","icon":"icon-method","url":"#!/api/global-method-__updateDuration","meta":{"private":true},"sort":3},{"name":"doSubnodeAdded","fullName":"global.doSubnodeAdded","icon":"icon-method","url":"#!/api/global-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"global.doSubnodeRemoved","icon":"icon-method","url":"#!/api/global-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"__getIntersection","fullName":"global.__getIntersection","icon":"icon-method","url":"#!/api/global-method-__getIntersection","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"__getColorValue","fullName":"global.__getColorValue","icon":"icon-method","url":"#!/api/global-method-__getColorValue","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doActivated","fullName":"global.doActivated","icon":"icon-method","url":"#!/api/global-method-doActivated","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"set_focused","fullName":"global.set_focused","icon":"icon-method","url":"#!/api/global-method-set_focused","meta":{},"sort":3},{"name":"doActivationKeyDown","fullName":"global.doActivationKeyDown","icon":"icon-method","url":"#!/api/global-method-doActivationKeyDown","meta":{},"sort":3},{"name":"doActivationKeyUp","fullName":"global.doActivationKeyUp","icon":"icon-method","url":"#!/api/global-method-doActivationKeyUp","meta":{},"sort":3},{"name":"doActivationKeyAborted","fullName":"global.doActivationKeyAborted","icon":"icon-method","url":"#!/api/global-method-doActivationKeyAborted","meta":{},"sort":3},{"name":"updateUI","fullName":"global.updateUI","icon":"icon-method","url":"#!/api/global-method-updateUI","meta":{},"sort":3},{"name":"drawDisabledState","fullName":"global.drawDisabledState","icon":"icon-method","url":"#!/api/global-method-drawDisabledState","meta":{},"sort":3},{"name":"drawFocusedState","fullName":"global.drawFocusedState","icon":"icon-method","url":"#!/api/global-method-drawFocusedState","meta":{},"sort":3},{"name":"drawHoverState","fullName":"global.drawHoverState","icon":"icon-method","url":"#!/api/global-method-drawHoverState","meta":{},"sort":3},{"name":"drawActiveState","fullName":"global.drawActiveState","icon":"icon-method","url":"#!/api/global-method-drawActiveState","meta":{},"sort":3},{"name":"drawReadyState","fullName":"global.drawReadyState","icon":"icon-method","url":"#!/api/global-method-drawReadyState","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"doDisabled","fullName":"global.doDisabled","icon":"icon-method","url":"#!/api/global-method-doDisabled","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"set_disabled","fullName":"global.set_disabled","icon":"icon-method","url":"#!/api/global-method-set_disabled","meta":{},"sort":3},{"name":"getDragViews","fullName":"global.getDragViews","icon":"icon-method","url":"#!/api/global-method-getDragViews","meta":{},"sort":3},{"name":"__doContextMenu","fullName":"global.__doContextMenu","icon":"icon-method","url":"#!/api/global-method-__doContextMenu","meta":{"private":true},"sort":3},{"name":"__doMouseDown","fullName":"global.__doMouseDown","icon":"icon-method","url":"#!/api/global-method-__doMouseDown","meta":{"private":true},"sort":3},{"name":"__doMouseUp","fullName":"global.__doMouseUp","icon":"icon-method","url":"#!/api/global-method-__doMouseUp","meta":{"private":true},"sort":3},{"name":"__doDragCheck","fullName":"global.__doDragCheck","icon":"icon-method","url":"#!/api/global-method-__doDragCheck","meta":{"private":true},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"__watchForAbort","fullName":"global.__watchForAbort","icon":"icon-method","url":"#!/api/global-method-__watchForAbort","meta":{"private":true},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"__requestDragPosition","fullName":"global.__requestDragPosition","icon":"icon-method","url":"#!/api/global-method-__requestDragPosition","meta":{"private":true},"sort":3},{"name":"updatePosition","fullName":"global.updatePosition","icon":"icon-method","url":"#!/api/global-method-updatePosition","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"DEFAULT_ACTIVATION_KEYS","fullName":"global.DEFAULT_ACTIVATION_KEYS","icon":"icon-property","url":"#!/api/global-property-DEFAULT_ACTIVATION_KEYS","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"doActivationKeyDown","fullName":"global.doActivationKeyDown","icon":"icon-method","url":"#!/api/global-method-doActivationKeyDown","meta":{},"sort":3},{"name":"doActivationKeyUp","fullName":"global.doActivationKeyUp","icon":"icon-method","url":"#!/api/global-method-doActivationKeyUp","meta":{},"sort":3},{"name":"doActivationKeyAborted","fullName":"global.doActivationKeyAborted","icon":"icon-method","url":"#!/api/global-method-doActivationKeyAborted","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"set_disabled","fullName":"global.set_disabled","icon":"icon-method","url":"#!/api/global-method-set_disabled","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"doMouseDown","fullName":"global.doMouseDown","icon":"icon-method","url":"#!/api/global-method-doMouseDown","meta":{},"sort":3},{"name":"doMouseUp","fullName":"global.doMouseUp","icon":"icon-method","url":"#!/api/global-method-doMouseUp","meta":{},"sort":3},{"name":"doMouseUpInside","fullName":"global.doMouseUpInside","icon":"icon-method","url":"#!/api/global-method-doMouseUpInside","meta":{},"sort":3},{"name":"doMouseUpOutside","fullName":"global.doMouseUpOutside","icon":"icon-method","url":"#!/api/global-method-doMouseUpOutside","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"set_disabled","fullName":"global.set_disabled","icon":"icon-method","url":"#!/api/global-method-set_disabled","meta":{},"sort":3},{"name":"__doMouseOverOnIdle","fullName":"global.__doMouseOverOnIdle","icon":"icon-method","url":"#!/api/global-method-__doMouseOverOnIdle","meta":{"private":true},"sort":3},{"name":"doSmoothMouseOver","fullName":"global.doSmoothMouseOver","icon":"icon-method","url":"#!/api/global-method-doSmoothMouseOver","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"updateUI","fullName":"global.updateUI","icon":"icon-method","url":"#!/api/global-method-updateUI","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"pendingEventQueue","fullName":"global.pendingEventQueue","icon":"icon-property","url":"#!/api/global-property-pendingEventQueue","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"detachAllObservers","fullName":"global.detachAllObservers","icon":"icon-method","url":"#!/api/global-method-detachAllObservers","meta":{},"sort":3},{"name":"getObservers","fullName":"global.getObservers","icon":"icon-method","url":"#!/api/global-method-getObservers","meta":{},"sort":3},{"name":"hasObservers","fullName":"global.hasObservers","icon":"icon-method","url":"#!/api/global-method-hasObservers","meta":{},"sort":3},{"name":"sendEvent","fullName":"global.sendEvent","icon":"icon-method","url":"#!/api/global-method-sendEvent","meta":{"chainable":true},"sort":3},{"name":"__fireEvent","fullName":"global.__fireEvent","icon":"icon-method","url":"#!/api/global-method-__fireEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"syncTo","fullName":"global.syncTo","icon":"icon-method","url":"#!/api/global-method-syncTo","meta":{},"sort":3},{"name":"isListeningTo","fullName":"global.isListeningTo","icon":"icon-method","url":"#!/api/global-method-isListeningTo","meta":{},"sort":3},{"name":"getObservables","fullName":"global.getObservables","icon":"icon-method","url":"#!/api/global-method-getObservables","meta":{},"sort":3},{"name":"hasObservables","fullName":"global.hasObservables","icon":"icon-method","url":"#!/api/global-method-hasObservables","meta":{},"sort":3},{"name":"listenToOnce","fullName":"global.listenToOnce","icon":"icon-method","url":"#!/api/global-method-listenToOnce","meta":{},"sort":3},{"name":"listenTo","fullName":"global.listenTo","icon":"icon-method","url":"#!/api/global-method-listenTo","meta":{"chainable":true},"sort":3},{"name":"stopListening","fullName":"global.stopListening","icon":"icon-method","url":"#!/api/global-method-stopListening","meta":{"chainable":true},"sort":3},{"name":"stopListeningToAllObservables","fullName":"global.stopListeningToAllObservables","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllObservables","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"listenToPlatform","fullName":"global.listenToPlatform","icon":"icon-method","url":"#!/api/global-method-listenToPlatform","meta":{},"sort":3},{"name":"stopListeningToPlatform","fullName":"global.stopListeningToPlatform","icon":"icon-method","url":"#!/api/global-method-stopListeningToPlatform","meta":{},"sort":3},{"name":"stopListeningToAllPlatformSources","fullName":"global.stopListeningToAllPlatformSources","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllPlatformSources","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"register","fullName":"global.register","icon":"icon-method","url":"#!/api/global-method-register","meta":{},"sort":3},{"name":"unregister","fullName":"global.unregister","icon":"icon-method","url":"#!/api/global-method-unregister","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"notifyError","fullName":"global.notifyError","icon":"icon-method","url":"#!/api/global-method-notifyError","meta":{},"sort":3},{"name":"notifyWarn","fullName":"global.notifyWarn","icon":"icon-method","url":"#!/api/global-method-notifyWarn","meta":{},"sort":3},{"name":"notifyMsg","fullName":"global.notifyMsg","icon":"icon-method","url":"#!/api/global-method-notifyMsg","meta":{},"sort":3},{"name":"notifyDebug","fullName":"global.notifyDebug","icon":"icon-method","url":"#!/api/global-method-notifyDebug","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"callOnIdle","fullName":"global.callOnIdle","icon":"icon-method","url":"#!/api/global-method-callOnIdle","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__handleFocused","fullName":"global.__handleFocused","icon":"icon-method","url":"#!/api/global-method-__handleFocused","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getRoots","fullName":"global.getRoots","icon":"icon-method","url":"#!/api/global-method-getRoots","meta":{},"sort":3},{"name":"addRoot","fullName":"global.addRoot","icon":"icon-method","url":"#!/api/global-method-addRoot","meta":{},"sort":3},{"name":"removeRoot","fullName":"global.removeRoot","icon":"icon-method","url":"#!/api/global-method-removeRoot","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getWidth","fullName":"global.getWidth","icon":"icon-method","url":"#!/api/global-method-getWidth","meta":{},"sort":3},{"name":"getHeight","fullName":"global.getHeight","icon":"icon-method","url":"#!/api/global-method-getHeight","meta":{},"sort":3},{"name":"__handleResizeEvent","fullName":"global.__handleResizeEvent","icon":"icon-method","url":"#!/api/global-method-__handleResizeEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__skipX","fullName":"global.__skipX","icon":"icon-method","url":"#!/api/global-method-__skipX","meta":{},"sort":3},{"name":"__skipY","fullName":"global.__skipY","icon":"icon-method","url":"#!/api/global-method-__skipY","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"toHex","fullName":"global.toHex","icon":"icon-method","url":"#!/api/global-method-toHex","meta":{},"sort":3},{"name":"rgbToHex","fullName":"global.rgbToHex","icon":"icon-method","url":"#!/api/global-method-rgbToHex","meta":{},"sort":3},{"name":"cleanChannelValue","fullName":"global.cleanChannelValue","icon":"icon-method","url":"#!/api/global-method-cleanChannelValue","meta":{},"sort":3},{"name":"getRedChannel","fullName":"global.getRedChannel","icon":"icon-method","url":"#!/api/global-method-getRedChannel","meta":{},"sort":3},{"name":"getGreenChannel","fullName":"global.getGreenChannel","icon":"icon-method","url":"#!/api/global-method-getGreenChannel","meta":{},"sort":3},{"name":"getBlueChannel","fullName":"global.getBlueChannel","icon":"icon-method","url":"#!/api/global-method-getBlueChannel","meta":{},"sort":3},{"name":"makeColorFromNumber","fullName":"global.makeColorFromNumber","icon":"icon-method","url":"#!/api/global-method-makeColorFromNumber","meta":{},"sort":3},{"name":"makeColorFromHexString","fullName":"global.makeColorFromHexString","icon":"icon-method","url":"#!/api/global-method-makeColorFromHexString","meta":{},"sort":3},{"name":"getLighterColor","fullName":"global.getLighterColor","icon":"icon-method","url":"#!/api/global-method-getLighterColor","meta":{},"sort":3},{"name":"makeColorNumberFromChannels","fullName":"global.makeColorNumberFromChannels","icon":"icon-method","url":"#!/api/global-method-makeColorNumberFromChannels","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"setRed","fullName":"global.setRed","icon":"icon-method","url":"#!/api/global-method-setRed","meta":{},"sort":3},{"name":"setGreen","fullName":"global.setGreen","icon":"icon-method","url":"#!/api/global-method-setGreen","meta":{},"sort":3},{"name":"setBlue","fullName":"global.setBlue","icon":"icon-method","url":"#!/api/global-method-setBlue","meta":{},"sort":3},{"name":"getColorNumber","fullName":"global.getColorNumber","icon":"icon-method","url":"#!/api/global-method-getColorNumber","meta":{},"sort":3},{"name":"getHtmlHexString","fullName":"global.getHtmlHexString","icon":"icon-method","url":"#!/api/global-method-getHtmlHexString","meta":{},"sort":3},{"name":"isLighterThan","fullName":"global.isLighterThan","icon":"icon-method","url":"#!/api/global-method-isLighterThan","meta":{},"sort":3},{"name":"getDiffFrom","fullName":"global.getDiffFrom","icon":"icon-method","url":"#!/api/global-method-getDiffFrom","meta":{},"sort":3},{"name":"applyDiff","fullName":"global.applyDiff","icon":"icon-method","url":"#!/api/global-method-applyDiff","meta":{"chainable":true},"sort":3},{"name":"add","fullName":"global.add","icon":"icon-method","url":"#!/api/global-method-add","meta":{"chainable":true},"sort":3},{"name":"subtract","fullName":"global.subtract","icon":"icon-method","url":"#!/api/global-method-subtract","meta":{"chainable":true},"sort":3},{"name":"multiply","fullName":"global.multiply","icon":"icon-method","url":"#!/api/global-method-multiply","meta":{"chainable":true},"sort":3},{"name":"divide","fullName":"global.divide","icon":"icon-method","url":"#!/api/global-method-divide","meta":{"chainable":true},"sort":3},{"name":"clone","fullName":"global.clone","icon":"icon-method","url":"#!/api/global-method-clone","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"degreesToRadians","fullName":"global.degreesToRadians","icon":"icon-method","url":"#!/api/global-method-degreesToRadians","meta":{},"sort":3},{"name":"radiansToDegrees","fullName":"global.radiansToDegrees","icon":"icon-method","url":"#!/api/global-method-radiansToDegrees","meta":{},"sort":3},{"name":"translate","fullName":"global.translate","icon":"icon-method","url":"#!/api/global-method-translate","meta":{"chainable":true},"sort":3},{"name":"rotate","fullName":"global.rotate","icon":"icon-method","url":"#!/api/global-method-rotate","meta":{"chainable":true},"sort":3},{"name":"scale","fullName":"global.scale","icon":"icon-method","url":"#!/api/global-method-scale","meta":{"chainable":true},"sort":3},{"name":"transformAroundOrigin","fullName":"global.transformAroundOrigin","icon":"icon-method","url":"#!/api/global-method-transformAroundOrigin","meta":{},"sort":3},{"name":"getBoundingBox","fullName":"global.getBoundingBox","icon":"icon-method","url":"#!/api/global-method-getBoundingBox","meta":{},"sort":3},{"name":"keys","fullName":"global.keys","icon":"icon-property","url":"#!/api/global-property-keys","meta":{},"sort":3},{"name":"isArray","fullName":"global.isArray","icon":"icon-property","url":"#!/api/global-property-isArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"now","fullName":"global.now","icon":"icon-property","url":"#!/api/global-property-now","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getCaretPosition","fullName":"global.getCaretPosition","icon":"icon-method","url":"#!/api/global-method-getCaretPosition","meta":{},"sort":3},{"name":"setCaretPosition","fullName":"global.setCaretPosition","icon":"icon-method","url":"#!/api/global-method-setCaretPosition","meta":{},"sort":3},{"name":"setCaretToStart","fullName":"global.setCaretToStart","icon":"icon-method","url":"#!/api/global-method-setCaretToStart","meta":{},"sort":3},{"name":"setCaretToEnd","fullName":"global.setCaretToEnd","icon":"icon-method","url":"#!/api/global-method-setCaretToEnd","meta":{},"sort":3},{"name":"selectAll","fullName":"global.selectAll","icon":"icon-method","url":"#!/api/global-method-selectAll","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"set_boxshadow","fullName":"global.set_boxshadow","icon":"icon-method","url":"#!/api/global-method-set_boxshadow","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"setInnerHTML","fullName":"global.setInnerHTML","icon":"icon-method","url":"#!/api/global-method-setInnerHTML","meta":{},"sort":3},{"name":"getInnerHTML","fullName":"global.getInnerHTML","icon":"icon-method","url":"#!/api/global-method-getInnerHTML","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"isBehind","fullName":"global.isBehind","icon":"icon-method","url":"#!/api/global-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"global.isInFrontOf","icon":"icon-method","url":"#!/api/global-method-isInFrontOf","meta":{},"sort":3},{"name":"__comparePosition","fullName":"global.__comparePosition","icon":"icon-method","url":"#!/api/global-method-__comparePosition","meta":{"private":true},"sort":3},{"name":"moveToFront","fullName":"global.moveToFront","icon":"icon-method","url":"#!/api/global-method-moveToFront","meta":{},"sort":3},{"name":"moveToBack","fullName":"global.moveToBack","icon":"icon-method","url":"#!/api/global-method-moveToBack","meta":{},"sort":3},{"name":"moveInFrontOf","fullName":"global.moveInFrontOf","icon":"icon-method","url":"#!/api/global-method-moveInFrontOf","meta":{},"sort":3},{"name":"moveBehind","fullName":"global.moveBehind","icon":"icon-method","url":"#!/api/global-method-moveBehind","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"platform","fullName":"global.platform","icon":"icon-property","url":"#!/api/global-property-platform","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"__isDomElementVisible","fullName":"global.__isDomElementVisible","icon":"icon-method","url":"#!/api/global-method-__isDomElementVisible","meta":{},"sort":3},{"name":"createElement","fullName":"global.createElement","icon":"icon-method","url":"#!/api/global-method-createElement","meta":{},"sort":3},{"name":"simulatePlatformEvent","fullName":"global.simulatePlatformEvent","icon":"icon-method","url":"#!/api/global-method-simulatePlatformEvent","meta":{},"sort":3},{"name":"retainFocusDuringDomUpdate","fullName":"global.retainFocusDuringDomUpdate","icon":"icon-method","url":"#!/api/global-method-retainFocusDuringDomUpdate","meta":{},"sort":3},{"name":"sendReadyEvent","fullName":"global.sendReadyEvent","icon":"icon-method","url":"#!/api/global-method-sendReadyEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"Dynamically Constraining Attributes with JavaScript Expressions","fullName":"guide: Dynamically Constraining Attributes with JavaScript Expressions","icon":"icon-guide","url":"#!/guide/constraints","meta":{},"sort":4},{"name":"Troubleshooting and Debugging Dreem Applications","fullName":"guide: Troubleshooting and Debugging Dreem Applications","icon":"icon-guide","url":"#!/guide/debug","meta":{},"sort":4},{"name":"Dreem Class Packages Guide","fullName":"guide: Dreem Class Packages Guide","icon":"icon-guide","url":"#!/guide/packages","meta":{},"sort":4},{"name":"Starting out with Dreem (using windows)\r","fullName":"guide: Starting out with Dreem (using windows)\r","icon":"icon-guide","url":"#!/guide/startingwithdreem","meta":{},"sort":4},{"name":"Dreem Language Guide","fullName":"guide: Dreem Language Guide","icon":"icon-guide","url":"#!/guide/subclassing","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Attributes","position":0.9,"icon":"/Users/freemason/workspace/teem/dreem2/docs/lib/attr.png","toolbar_title":"Attributes","subsections":[{"title":"Required attributes","filter":{"required":true}},{"title":"Optional attributes","filter":{"required":false},"default":true}],"name":"attribute"},{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}}; diff --git a/docs/api/guides/plugins/README.js b/docs/api/guides/plugins/README.js new file mode 100644 index 0000000..827ceeb --- /dev/null +++ b/docs/api/guides/plugins/README.js @@ -0,0 +1 @@ +Ext.data.JsonP.plugins({"guide":"

Dreem Plugin Guide

\n\n\n

Plugins allow you to provide additional classes and server behavior to a composition. The structure of a plugin is almost\nidentical composition (though typically without <screen> tags), and is contained within the <plugin></plugin> tag.
\nPlugins are added to the server at startup with one or more -plugin /path/to/plugin/ command line switches, like so:

\n\n
node ./server.js -plugin ../plugins/teem-sample_component/ -plugin ../plugins/soundcloud/\n
\n\n

Directory Structure

\n\n
./index.dre - the main plugin code\n./package.json - names the plugin and provides for a dependencies\n./node_modules/ - node modules that plugin depends on\n./examples/*.dre - optional example compositions that use the plugin\n
\n\n

The examples will automatically be mounted at /plugins/plugin-name/examples/filename.dre

\n\n

Plugin File Structure

\n\n

Here is a sample index.dre (explained in more detail below):

\n\n
<plugin>\n  <classes>\n    <class name=\"webrequest\">\n      <attribute name=\"src\" value=\"\" type=\"string\"></attribute>\n      <setter name=\"src\" args=\"val\">\n        if (val) {\n          dr.teem.server.request(val).then((function (ret) {\n            this.setAttribute('response', ret);\n          }).bind(this));\n        }\n        return val;\n      </setter>\n      <attribute name=\"response\" value=\"\" type=\"string\"></attribute>    \n    </class>\n  </classes>\n\n  <server>\n    <handler event=\"init\">\n      this.__srequest = require('$PLUGIN/sync-request');\n    </handler>\n    <method name=\"request\" args=\"url\">\n      if (/^https?:.*/.test(url)) {\n        try {\n          var res = this.__srequest('GET', url);\n          var body = res.getBody().toString();\n          return body;\n        } catch(err) {\n          return ['[ERROR]', err.message].join(' ');\n        }\n      } else {\n        return \"Cannot parse URL:\" + url;\n      }\n    </method>\n  </server>\n</plugin>\n
\n\n

This plugin provides a simple \"webrequest\" object which can be used in compositions to have the server fetch web pages\nfrom a given URL in it's src attribute, which is then stored in it's response attribute.

\n","title":"Dreem Plugin Guide"}); \ No newline at end of file diff --git a/docs/api/guides/plugins/README.md b/docs/api/guides/plugins/README.md new file mode 100644 index 0000000..fd94d2f --- /dev/null +++ b/docs/api/guides/plugins/README.md @@ -0,0 +1,61 @@ +# Dreem Plugin Guide + +[//]: # This introduction to building plugins in Dreem. + +Plugins allow you to provide additional classes and server behavior to a composition. The structure of a plugin is almost +identical composition (though typically without `` tags), and is contained within the `` tag. +Plugins are added to the server at startup with one or more `-plugin /path/to/plugin/` command line switches, like so: + + node ./server.js -plugin ../plugins/teem-sample_component/ -plugin ../plugins/soundcloud/ + +## Directory Structure + + ./index.dre - the main plugin code + ./package.json - names the plugin and provides for a dependencies + ./node_modules/ - node modules that plugin depends on + ./examples/*.dre - optional example compositions that use the plugin + +The examples will automatically be mounted at `/plugins/plugin-name/examples/filename.dre` + +## Plugin File Structure + +Here is a sample index.dre (explained in more detail below): + + + + + + + if (val) { + dr.teem.server.request(val).then((function (ret) { + this.setAttribute('response', ret); + }).bind(this)); + } + return val; + + + + + + + + this.__srequest = require('$PLUGIN/sync-request'); + + + if (/^https?:.*/.test(url)) { + try { + var res = this.__srequest('GET', url); + var body = res.getBody().toString(); + return body; + } catch(err) { + return ['[ERROR]', err.message].join(' '); + } + } else { + return "Cannot parse URL:" + url; + } + + + + +This plugin provides a simple "webrequest" object which can be used in compositions to have the server fetch web pages +from a given URL in it's `src` attribute, which is then stored in it's `response` attribute. \ No newline at end of file diff --git a/docs/api/guides/plugins/icon.png b/docs/api/guides/plugins/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a8f9f7a047e37e238c5c4e6ad52f0fd95961f9bd GIT binary patch literal 13215 zcmV;QGhob#P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z001b;Nkl2+%PSc@L4W}L0Rg(`D(DaBqMM+b04VRQEG>aOmt?yfDXD)TL|xS0;_ z5#jM(R#o;g0+{G7R9SlX=N2!XyDgtt;J5zew}i2*1NA?PQi59DsTmQGFiOv=wrMpE z5XQXVO{;CNC@CDgaML9Th`dALcvS~YLughoi0aOwh(V=i0IMDvphYQduqK19Ja@tB zErlWT#gzIhsUASE! zY+8*-xsFUbKSt00InS8?pFjA#C$!J|YUdq5Sd?P@iiKfJ!rKyNp-fVG_AbpLAYdY4 zkT7P24496I2!LhN5)tNQHZ1^0u7_q20}K+8eA>#hIs%aq35Wp{JUmvy#B>Jq9C(IC zj=><|3DA~C3{;*~i~#DPcY$UQGa^iMbZW$~;p;#|U^1hiHhj^Nq#pwiGgN8(&M-u5 zO9G6O#Cr^~$+Q5$wx=~37GnUMDUHyUrX|gQNG1{hG=*k>wxG|{Xa{IpBe9^Q+CQ@i zdJ2TIb#z^4!WecdB4QSu?$IEqO?EU98+PQlM-y=_@eU>Prr#EcXa**ty0dsk0IGK&j_BSAr1&>-Tv z9Y1t{K{QAh@egcT<#X+KQxWi-JrVsCc#8ZyD0J2&__Vt=KH)XH<8juC!OzfsGS~SI z!>P#Z`DZ~KW4rRFqwG#=J0tDWo=5fxuQ|{1h|KhC?RT$q%mBy<;t-@Q3?k{+5&%pv zh@=md0U~0C>nDzrFhjCUfQVc_iN!q{B%B@%Mv^!|#EqvLGlbKrB@6;Fr`eJu9%X4b zF%v){>05?=F;1Y?e~rv;a8+WlJv|4|hZW0+o)ezpKoMW-nzxFcQ!G zXA^f%2pckqcjPSHkpY@|Xk^f7T7WM;CnR*0I_tr=NzSRAX_rqTFO3S;Jz=^l59(y@1FI&C|PW{ns2 z4(leF?qpOI44`Q>Bx4?>1AukYLj&`IyI@UcMn**V35aJn?pexU6R=4RG6QC-RXB4N6Ky_zrNV`KJ>>cGm-m%Ysh-l^o zpv+-G=@~?;COA_w8f_yZGBeZo|CS`)c~T>DW@_VArly>aF;+6xaSd^nG%*n=%#106 zCNeVgqlk!9iMF8AG{X=wH3O-pY5UcZYQBCY8zl-eL%x0mMU-LM1f*)i7*%6yO&q3nKC6R1nbq-(qyJO5aG%cW!{;%{=jgV^gKfNbgAs%0t{%C?gUPQ! zPdD(!tIxEbuxnA_>@kx+G5IVpE@1c-wk%6z>&K2^H{6!zKQ!1iez9v4Iwt^ORt%?W zwAC~B6vTi`C18|}y-eKG5>p9dRXIL63^*Y(YJgCyoI2~mu*F$4?gt4#UI;`ZG>Dm02Z=@H)o5_fgo%Nm7Bm_&=7@bEOpb3?iQ8AV1O_-jXqj+i&CN;7C}$za4>hXg6}Mh@*$U%i6D}cd-cNK`o+UH-&?L*efe_v zm$#Qce|>iAUi~YtEZ(?v`gqm-&MzL`d(vFo^B1bstl&i@$EV$u3*IpvuDX*|C|vXE z)oQ2>5fA_)W!c6MMu3Ye|CfqnI-+8dvujKZ<&CRPbHN#8v z(~s7_`Pzj|r!O27@7~{R8r_@8y3vmwHP;RcQ+xTSynR1?%#YXM__SS=aya*2dO_ZN zfBChS=N~?7F7NxFe6;$)#jehbq z)eBv)U;5R>x8FT||G|c`yJtoqm?7;3(JKVZ2*3F+zPT0npO@P~rP4u-VhDzr{>>k} z{;&VjdmlY+x~ByGV+f}7ysU#6Ri26H;=&Wz!)50Ls^lbkrRnqUf-z`biYaxykrmI6 zWgYUM(ri2M4==nG_;-v|6D*6zZwHmm4E#@nO0%uNzo2kD*wJ5padEWozxDRXE>Ip+ z>g{MvF1UBxd+1;gF}!g6s009mjhq9Bs)ARwK3)eW(X%D9xFeH9XBtEV#}ubEvtVXK zkJlYQMii9^3UwO4XmORn&;*SeC6Sqt1bBf6oS}EzqaTlGwV07GgUJcN{np6;wV`qY#c`-oCp5$nkIqi+~x9QMfdT2mp9N98d_yZQ2V8;X>F)Af!t&==6|A2ah>Q z(iq=QTf}J{i_kD_T1*6ThSj6^*{Q?^_y2JW;mwb`^u%g z(tZE^)e8s3H@7^UM^ug?DQH?H4)uwmf$zkW5&IWOh%1)qQ%myXLG$Y(%NQaW~R zPzF{_=wm-LFC?f9JGx_(o`c$^Re(CRHmIs?Vr13^KbYE}O=s~i^umRsT*t{)cPy!GVUw@!cVh57G&^Ewh>pAsE13#bo^8Mna43YE@^-sW{YW# zIIS5)7hRJ^_GA?b$AA0F7hk_V|LTkLJI8gr@Xm34v?#uKb@ugFFFam`DE#q9o0l$? zUwwJ+x4(37>t4NSRF#_6e&e+ZxsE#M7@^~@;*GMi;?d9kVc^R*=AS*Y`RO9dpJP(^ z-~RE3*A9!n|Erh(*AE_lc-%zc|M<(}VD`ITxp@Di{jcAB5QXpDTmRwr9{%oE4sRTm z|M8pmlcy)R_oO{PoZIp>NB1-uDmIC108~1>@yzbtMKMn}M$G{X2UPDS zXV4g3TSUWX+Z*QI1s|b7JJ89ciYHPZ5r{e&rSKx%KWYB`pMIQ-bOwV!)U^7?e|7xF zZyt+a?s?Ghd+(n9@Pk$9QsNDuU>2>ZK}WJIN^6Gnt8{KVF92v!a^{|r8Djdj52}(d zoG=j;j(+WndoNz9PBz_t{`Q04|N52p9@JjIjH?%X+v%pU(>h!`^pBR|(XzdF(jM&> zkCxr_!{WhddoYtlDG!(3^~2)bdz+(u?*+_sF!w*YvviIfaOHyk(TA(jv66*AMCKjp z*5;*jK{u^Arv1v*ot|vMe#K2^EI8WpoznMipLpS$N7aps#d{Anb!*JHP`Q(J*Qzb+ z@Mzgx-1GYtgK%1hc_FVHl|TM)b@S@%;c5GL-5t){{>*j3o@~O&s(tuSZ;jdpAb>^fTX(?@=dKWW zvI#RU*A9#0W!NwI`eA8A;sByWA&XL$wca^y9OLqyXXYyx{OLN}zF&X&#l^bT+Yjrj z7m8ncX<nx?)H?6w(>!!8*iB`3` zORk_}VuG4AU5Ws|a=H3%-+2&S)#M{Md|$ZfMoHmNIzFv4W8O1Bf6_jVB7kO||K`sh zT;41G!=HZ~$Ly8TX^g&ORkzpgxk=y=)w(f5xfu|#nDe%+}p>+r2xC-F&q|G}mUw#g__(P0@i ziVjQfl+6p-uOtN8WG=X4iw<{4SwQPuaC6T~;r7ygE>&uSo-+&1L}41mMn4rNCxr;M z8(&njWgR@D^Oo!H88L-1IBd}pty_)Rl9NrSJUhm^NgRz;9p(jZ8mcqTa6a`6KSdTi z1Up8kr_dE z7NgI~OOx4I>$hhC#kCER!-apm3ToRx`7~*K%z{Txy7FV;%7nA6YG&vR|jG05-Sj^A%!Bs*A%}ky!@F$`Nx`Q*XsG5z(fx-~RdipMJF31sWvDxFZsfYdRCAJPSU5 zCT-UVF7JCX`c$-C+oJ7WyHGf3W9)F3wi~_w32j&UEck@BJ0_>2!!1nfCPBwQ*t2Q7 zi65NPc6(ocOUHq>`|;!E@u~}It2)bq7Ytz2%~^vpL-!Yv({Kv9wnGfN;T_1C-FAb{4bt?C>o zS*{qo{VW>~kSm1=G%s=&9AfZnQ<4}Qrz7Li!mCl`QMiE|MF1*Kg_E2vH7~Lg86eOc z6QIm&_Z#B-D^wxEfmm~hX;GN2xM2PoHw0L*&m zgPGjEzll{Q&(@JZi&9*p#-MehLp*v`uqtJTA(ft0DaNA(_|Zoz5!$S6h(~(|FVqHW zyA%R;fHyP zBYL)-4)JIRW8LTwmWsw}bXX#bt}0lK>Q?)p62+K%)23-1qb#WDdWyc0bMQhDnb8Ic`>gouo(>r8+yjCBH{WQ-6j zjI?_)L6@=N*I`p*9 zkuE_*q|S1>fkrC7jq7Ja;V1;^Mt&L)){3hhjiQKa)p(q7mb>}{YIFPBNuhemB;DkOg=ml&Q3ZT(?S zPg(zD*w&aG=*f6YB+FXA|G{dJ6Duf*jaWi$v*B?q_M8Fwz z%9<195*A{^Yyd)Hqg6XVJy(6y(ZPu5+Cc#W^BFppHiZUNj(Nf+#F*0Rf>HWbxisf8Gj-&rA#taC?;;ckv_xSz?tC&KKXL`<31oHGq3_hH(m@!_Mt(J0V z8ZAE_O+ZSv=oU0a9#_fIPr6?pY(^~SA}!3E!|qzyL2 zGrgcB?!xFRdqD->M8wAn-@H5nsBU#j z$GV3$qNdd@=&p|IW+c!=?|)gV`xJcSKYH`HZuGOKM+=EWhMyHF**-&6)_J_h3v-8a z&)akFwgRsOXD~48uae2?Ln!pU# zhkp91CWzADS;V^EY2_?QACm>h3Ew|yHBj$!CiLiEnWYl0C;`TRF9VJT=yZS&4`h_& z(3}Fiu#9!jz@T;7WO=*~!UU#4$D~oDil-eJKfbft0*cFw3|M3waK~`oVao+)fiPrn zEMp#^cUYP6g-gY)dz;epPz8;?{B27zV;-zCjSo}j3YEN z{5UNEsF+NVSKgI7Koe+*@#u+;WF*X6K%-O6vAUg#!6}dBYdv(~`NpME1ZMzcIwrC` z*fpIpV_lCs<*ekO*0vUFo`tE1HB61g4{%XRq%cRX$;=ARPS6Hxdtcc*#EPXM;8~R% zi4(~MXF8nQs@7Q{%Ub&|ajd~g-#6!|aNGrJ1{YjVI;#5<)r<-cCulnDy7Xl#JmT_( z2d#=E&ql2;WGg*ebiw;4x-5DZJh_)tI*tx^Iv!mFN-p@OHGsNcbu*Sbl|?F19!}lS z1y`f!u+nt@>iS45qN`&RnQP4WtM^t_!K$MltY&7=V4>f`#K>skg2(xSQnCh=noeIj zD!+B>WGE<$2S6C0158p#VA%G|VG0d13Sk`M47}xnNAKT87rZc18z&JU^2f6K0CS{a z9K(Txp_+75BQrS0X$Dlp=z?0G1f6{8q?51LHOF3`P zE^8VhKs6kWMotJsRgAg!O+#+oU9Vc3_wi@}AbnMqS zRSL}uab%P#R5YEo{WhH>%;_tTf(b_ZGxz?3T8%VsECP#s*_aPkLJSg)_5X~N-0Oi# z$FE(VfB3k0^L860G0-(aOWHh!UL-6qqmV%h57xbXweiAXpC_smrM<$km-X#%hzXZ7NY6{a_K4#HzMwG@69p ze&_VnYvra5!--sYQ0ATzk@tY(b>;_0rRyeTE+ZlHc-gkCuA7h^s~I)HnhYAAqhyFR zbHR1119UJhV)LqjpH{GECr4U$2(fi*5YBQ^Y9M@ff7DnBws%_~A zqD|(4Tfrb&)jN$*aGq@&`slR7IVfRgRGaen_qMa!_v`h*%ld287{!PV7k*JOp1 zrV^Tr*@CvI3qDA6%Y@LgtPb4)vdQ{$py*z%Yt?P@#_TMKbE$?2St>S`RgFzUl0;H_ zk%NW%^PfB(yj8MvekNWL()kIH7wE{ej1@~Z#G@<6hYJ@SfdSeXslobb!6ZhmXCe*d zU+KAtXA~#6o?B0myQMZs&JG%Zh=rgDchHfIT-JdlMjdQwBS9)s#|Nj zn9qh66rNVK4!opPmDP-mQBF4<87(*AbQ9vt^ODBikfLZ_ z2tex$s7i-na6t)7K{a>5gHkX}#t=wtY%J%5F7EkKpf(n(Dygc(dZcKpioi^UNd}WK zP~VP(t?q2yD06R_k(sd?DW$6d(qb|ji_}Od>uI8-pkSFKR%MOQrV64_Vr*(0@}73o z*QI5xQq)LI2T2fBl>wSTuN+mk?`?7&V-{RZ)9qwa1&G3#jZvQaGcWl4hxK_*?`I$V zj-f=SgJsE|-Cz3|{%kEqjo$uvU7R!YPsG%>(aGWfiOH7*0cV^;4*7l$;<#1{gD(Ui;A)gF%j{MHDlG| z@k-|Af7@qR|S<@ zKn2A%Ai}tFTrWyDpBA(c@th|&lZf`1Tu=hE34PoQRFWD|)6=~KH_uMyvPfLGz3fCyg-iO$lA`-QrxR_0BPPdL{-g{fS3Sf5JQ7fs{Mb3K6huw1RF#z{TU{lw16t16P)&ZY7rc3UiN5?g^P9NoY@ltc2V>HkG*TM| zV}?PSR$snczH#exFe;o(i0FaAz{CY-2wP;@^+r4wgt{FmVN|duvo}gxOOlVfrj0y1jmF)^zr4N|-&3mzCv-)$Cv<@iU7g`(0j^ok>JL z2V?waMF|`8u=JgGpX8j~;d4K8-n=o24!KRoP-bH#OWrLroTPm7pZ)krthOBLyj|Z8 z)U3}LG6>}3B#CSm$B-g64Phgy3O2I7-dH3Aq+Z19fq-lQUMO2D>8@#_$|bB+=D>caFlUOV{HpFH-=$^-p30Vy=< z*f&O@)SI;QL?k2a%tlG{BMnp)63>J`_?>J2?oU2)0-3gKbJLFE0E&Ft=z=>k8cV8F z>EfRM@KKX{|3g!^zFVnrAroKOlQY@&{%OL2FZ~GAyWrzu;`Ul@1JM?clWmO#XlC5H zUq^!W1PD}2Zyga;UXlyGtUDU3vRnvOcPZQH7*!!5*t!idPW0cu^Kh?}O%vKa6< zj+!nsJrTVSDLk#}pgo0TUJ8Is6UL??o;R(&cD4G8pFWQFeNjo*S>456Ke03_lEear z-lTn041Q7R`czT=?p$2Kp7C^kVgG6G{>h?=eYb}-DCm(q2%=|Z0m z!mN-@n{*^2@1*n;wT=&aA@tz1UG_RAps9}W>0H&Fi#dhN15c*C_Gg6}X|njqi~{JT z%jF+__d%aeNiKNwo`;;QikflO+B020#9(9Q{H?p|%0ab1Y@&}ooMxJ}Ce3=2DrL}S zL-&(-1_Uzh8>95iRAVR6KDn-@vF&J9#~ahzKxB31gtRaqcSS`aDMxqk2tecC;H~ucON&eUYm_|TB$&_AIRfHX&#=CbZLt>98Zg(A9T*; z%@#6LOpT=EO!p+@?C+H6IG#!L^5wD(I&gC_bYK}t!05TbO zQNm2W{@Q+L_T!IM#q`w~rROclyqv_NnTRuq1J;e6)L}8Y;D{mVDKt%;a#WKVEaF%! zqd_*U{wbIg`jX)HF|L`bx-h&(sSMEP^CM(9;Ea{L@!;g zV$X$L9Z^mK-%PZai3`Du6FDk1*z_E|-ngYPqi|$Ob(gHAH{V}<{k03F0GLp5GsOe%;YXYJ0q(pVAc4qv!f ze*C!Yf;pil>#$$R-6yRXH9=1|;UE0Q(YM|{`Qp{;c-a|I>G*ir{_um<)q_G9LG5tv z?wvFt(9s3|Xw|J6edVb9_)!C3S%*!l4!C|;FyqO(y?@dzN_o8M4(H+>+Ri$q_%~lhQr&9h*$bYm!o1?T(<}Q$7pzllT3fYRIJBKPri*+2>b_sM3gG)6tlCZs zhh;`YU-TJ(> z_Y{;!ivWgrG=ugkX}a+<_Kd3Fw#yo$NXoDbA&APQ9`{4^WA0f5t9k-WQzHJnl*yyR zm~R0wW+iWSbj(`~l#WY}9UaG>Ed7nf>F&F-bf*xCp5lx?!#L4r_`%O`jqPkd*q-hO zpScV@4+rddZx1=&>p^I@D(k5(czo+cN?ckxlD)tvy^KL(Nfe_@%qogG>q3~hk7r8C zdH01ljsmrD>0rO&juxr9!0cl7xx8M@h1(yKMgwkZt-7CIYGo0qAtoje9g) z6Rhc>J)MIU{){@PV3Iaq*k!JBqovnCa(wC?kZwtTOr^rM>&O& zb0Yfit3Fn1`QE1(d51Z)=FqweZHbrEOM)32g(TC9U<@KocEP5TU;nnU0pl zqobW?XUC&Iop1f@Q}L;X;WI{mt}FTM)1Do{*7L5~4b@ID^3HvwssMqFXj(=(Zk@47 zifK%;#`kFfVB@hoi3BiC4>D46#xxrdS<aNK*pk16#6pWFu?ryYQXtA@5LV8YFR{=Z`zh6&xm z#x6_I4?as`I`xBt*_LMEfW4@?=ILC>#y_N+`7~qcIg5tFjn%Ya#Q41zAt9o^?08 z87sYnt$%Al;%<3LJy~c3%Co?QgX8h##7RfSCVO#Y+_^tBjEtk@tEXzz?@oHmjoL&(+-Qil-6#YCW7M-Z`}K*t(@CfCs!8FgW- z%5uGqd@dFi&Y)zUhltL*)8MJ}Zs1vT^rwx%=TP`_2IU>+fTlhwdmeN*FqdenE^KT* zhs4mfq3Te3{Fj~ zVM;OUzPs1FkT|FIWb#=-8k3tCB+`3{>0OP&Jv2j@N?>p>Qw>(ZPGd0=`Pc@f;GqR@ zltkzeC^|C3%a3F6a4{rR`?jcCK)ptzjs*{_@F*FkO{Z>b6PZJUW`+E}0RT{MQy$BX RnjioG002ovPDHLkV1hq!UH1S0 literal 0 HcmV?d00001 diff --git a/docs/api/index.html b/docs/api/index.html index 101573a..46ac35c 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -13,7 +13,7 @@ - + @@ -41,7 +41,17 @@

All Classes

  • dr.datapath
  • dr.dataset
  • +
  • dr.dropdown
  • +
  • dr.dropdownfont
  • +
  • dr.editor.attrundoable
  • +
  • dr.editor.compoundundoable
  • +
  • dr.editor.createundoable
  • +
  • dr.editor.deleteundoable
  • +
  • dr.editor.orderundoable
  • +
  • dr.editor.undoable
  • +
  • dr.editor.undostack
  • dr.expectedoutput
  • +
  • dr.fontdetect
  • dr.indicator
  • dr.inputtext
  • dr.labelbutton
  • @@ -58,6 +68,8 @@

    All Classes

  • dr.style
  • dr.testingtimer
  • dr.text
  • +
  • dr.textlistbox
  • +
  • dr.textlistboxitem
  • dr.variablelayout
  • dr.videoplayer
  • dr.view
  • @@ -74,6 +86,7 @@

    Internal

  • DreemCompiler
  • DreemError
  • NodeWebSocket
  • +
  • PluginLoader
  • RunMonitor
  • TeemServer
  • parser.Compiler
  • @@ -102,7 +115,10 @@

    UI Components

  • dr.bitmap
  • dr.buttonbase
  • dr.checkbutton
  • +
  • dr.dropdown
  • +
  • dr.dropdownfont
  • dr.expectedoutput
  • +
  • dr.fontdetect
  • dr.indicator
  • dr.inputtext
  • dr.labelbutton
  • @@ -114,6 +130,8 @@

    UI Components

  • dr.style
  • dr.testingtimer
  • dr.text
  • +
  • dr.textlistbox
  • +
  • dr.textlistboxitem
  • dr.videoplayer
  • dr.view
  • dr.webpage
  • @@ -148,6 +166,7 @@

    Dreem Guides

  • Dynamically Constraining Attributes with JavaScript Expressions
  • Troubleshooting and Debugging Dreem Applications
  • Dreem Class Packages Guide
  • +
  • Dreem Plugin Guide
  • Starting out with Dreem (using windows)
  • Dreem Language Guide
  • diff --git a/docs/api/output/BusServer.js b/docs/api/output/BusServer.js index 9fd3a91..7d760e9 100644 --- a/docs/api/output/BusServer.js +++ b/docs/api/output/BusServer.js @@ -1 +1 @@ -Ext.data.JsonP.BusServer({"tagname":"class","name":"BusServer","autodetected":{},"files":[{"filename":"busserver.js","href":"busserver.html#BusServer"}],"members":[{"name":"addWebSocket","tagname":"method","owner":"BusServer","id":"method-addWebSocket","meta":{}},{"name":"broadcast","tagname":"method","owner":"BusServer","id":"method-broadcast","meta":{}},{"name":"onConnect","tagname":"event","owner":"BusServer","id":"event-onConnect","meta":{}},{"name":"onMessage","tagname":"event","owner":"BusServer","id":"event-onMessage","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-BusServer","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Files

    Holds a set of server side sockets for broadcast

    \n
    Defined By

    Methods

    BusServer
    view source
    ( sock )
    adds a WebSocket to the BusServer ...

    adds a WebSocket to the BusServer

    \n

    Parameters

    • sock : WebSocket

      socket to add

      \n
    BusServer
    view source
    ( message )
    Send a message to all connected sockets ...

    Send a message to all connected sockets

    \n

    Parameters

    • message : Object
      \n
    Defined By

    Events

    BusServer
    view source
    ( message, socket )
    Called when a new socket appears on the bus ...

    Called when a new socket appears on the bus

    \n

    Parameters

    • message : Object
      \n
    • socket : WebSocket
      \n
    BusServer
    view source
    ( message, socket )
    Called when a new message appears on any of the sockets ...

    Called when a new message appears on any of the sockets

    \n

    Parameters

    • message : Object
      \n
    • socket : WebSocket
      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.BusServer({"tagname":"class","name":"BusServer","autodetected":{},"files":[{"filename":"busserver.js","href":"busserver.html#BusServer"},{"filename":"saucerunner.js","href":"saucerunner.html#BusServer"}],"members":[{"name":"addWebSocket","tagname":"method","owner":"BusServer","id":"method-addWebSocket","meta":{}},{"name":"broadcast","tagname":"method","owner":"BusServer","id":"method-broadcast","meta":{}},{"name":"getHTML","tagname":"method","owner":"BusServer","id":"method-getHTML","meta":{}},{"name":"onConnect","tagname":"event","owner":"BusServer","id":"event-onConnect","meta":{}},{"name":"onMessage","tagname":"event","owner":"BusServer","id":"event-onMessage","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-BusServer","extends":null,"singleton":null,"private":null,"mixins":[],"requires":[],"uses":[],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"parentMixins":[],"html":"

    Files

    Holds a set of server side sockets for broadcast

    \n
    Defined By

    Methods

    BusServer
    view source
    ( sock )
    adds a WebSocket to the BusServer ...

    adds a WebSocket to the BusServer

    \n

    Parameters

    • sock : WebSocket

      socket to add

      \n
    BusServer
    view source
    ( message )
    Send a message to all connected sockets ...

    Send a message to all connected sockets

    \n

    Parameters

    • message : Object
      \n
    BusServer
    view source
    ( htmlTemplatePath )
    generates the sauce runner HTML with all of the smoke tests ...

    generates the sauce runner HTML with all of the smoke tests

    \n

    Parameters

    • htmlTemplatePath : Object
    Defined By

    Events

    BusServer
    view source
    ( message, socket )
    Called when a new socket appears on the bus ...

    Called when a new socket appears on the bus

    \n

    Parameters

    • message : Object
      \n
    • socket : WebSocket
      \n
    BusServer
    view source
    ( message, socket )
    Called when a new message appears on any of the sockets ...

    Called when a new message appears on any of the sockets

    \n

    Parameters

    • message : Object
      \n
    • socket : WebSocket
      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/Compiler.js b/docs/api/output/Compiler.js index 2a17930..3980d48 100644 --- a/docs/api/output/Compiler.js +++ b/docs/api/output/Compiler.js @@ -1 +1 @@ -Ext.data.JsonP.Compiler({"tagname":"class","name":"Compiler","autodetected":{},"files":[{"filename":"dreemMaker.js","href":"dreemMaker.html#Compiler"}],"members":[{"name":"builtin","tagname":"property","owner":"Compiler","id":"property-builtin","meta":{}},{"name":"languages","tagname":"property","owner":"Compiler","id":"property-languages","meta":{}},{"name":"constructor","tagname":"method","owner":"Compiler","id":"method-constructor","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Compiler","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Files

    \n
    Defined By

    Properties

    Compiler
    view source
    : Object
    Built in tags that dont resolve to class files or that resolve to\n class files defined in the core. ...

    Built in tags that dont resolve to class files or that resolve to\n class files defined in the core.

    \n

    Defaults to: {animator: true, animgroup: true, button: true, draggable: true, eventable: true, layout: true, node: true, view: true, class: true, mixin: true, method: true, attribute: true, handler: true, setter: true}

    Compiler
    view source
    : Object
    These are the supported languages for methods, handlers and setters. ...

    These are the supported languages for methods, handlers and setters.\n the compile function takes a string of code and the args to the\n function defined by that code. The args are not included in the\n returned string since those get prepended in the Compiler.execute\n method.

    \n
    Defined By

    Methods

    ...
    \n

    Returns

    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.Compiler({"tagname":"class","name":"Compiler","autodetected":{},"files":[{"filename":"dreemMaker.js","href":"dreemMaker.html#Compiler"}],"members":[{"name":"builtin","tagname":"property","owner":"Compiler","id":"property-builtin","meta":{}},{"name":"languages","tagname":"property","owner":"Compiler","id":"property-languages","meta":{}},{"name":"constructor","tagname":"method","owner":"Compiler","id":"method-constructor","meta":{}},{"name":"execute","tagname":"method","owner":"Compiler","id":"method-execute","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Compiler","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Files

    \n
    Defined By

    Properties

    Compiler
    view source
    : Object
    Built in tags that dont resolve to class files or that resolve to\n class files defined in the core. ...

    Built in tags that dont resolve to class files or that resolve to\n class files defined in the core.

    \n

    Defaults to: {animator: true, animgroup: true, eventable: true, layout: true, node: true, view: true, class: true, mixin: true, method: true, attribute: true, handler: true, setter: true}

    Compiler
    view source
    : Object
    These are the supported languages for methods, handlers and setters. ...

    These are the supported languages for methods, handlers and setters.\n the compile function takes a string of code and the args to the\n function defined by that code. The args are not included in the\n returned string since those get prepended in the Compiler.execute\n method.

    \n
    Defined By

    Methods

    ...
    \n

    Returns

    Compiler
    view source
    ( rootdre, classmap, teem, parentInstance, allowNestedScreens )
    Starts the client side parsing process. ...

    Starts the client side parsing process.\n @param {Object} rootdre The json representation of a dre file.\n @param {Object} classmap A map of classpaths by classname.\n @param {dr.teem} teem A reference to the teem component.\n @param {dr.Node} parentInstance (Optional) The parent to attach new\n instances to.\n @param {Boolean} allowNestedScreens (Optional) Prevents warnings when\n trying to load one screen into another.\n @returns A Compiler object.

    \n

    Parameters

    • rootdre : Object
    • classmap : Object
    • teem : Object
    • parentInstance : Object
    • allowNestedScreens : Object
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/PluginLoader.js b/docs/api/output/PluginLoader.js new file mode 100644 index 0000000..2d47d83 --- /dev/null +++ b/docs/api/output/PluginLoader.js @@ -0,0 +1 @@ +Ext.data.JsonP.PluginLoader({"tagname":"class","name":"PluginLoader","autodetected":{},"files":[{"filename":"pluginloader.js","href":"pluginloader.html#PluginLoader"}],"members":[],"alternateClassNames":[],"aliases":{},"id":"class-PluginLoader","component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Files

    Holder of the dreem for the server\nManages all iOT objects and the BusServer for each Plugin

    \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.alignlayout.js b/docs/api/output/dr.alignlayout.js index 1cd8f76..c9ba759 100644 --- a/docs/api/output/dr.alignlayout.js +++ b/docs/api/output/dr.alignlayout.js @@ -1 +1 @@ -Ext.data.JsonP.dr_alignlayout({"tagname":"class","name":"dr.alignlayout","autodetected":{},"files":[{"filename":"alignlayout.js","href":"alignlayout.html#dr-alignlayout"}],"extends":"dr.variablelayout","members":[{"name":"align","tagname":"attribute","owner":"dr.alignlayout","id":"attribute-align","meta":{}},{"name":"attribute","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-attribute","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.alignlayout","id":"attribute-inset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.alignlayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.alignlayout","short_doc":"A variablelayout that aligns each view vertically or horizontally\nrelative to all the other views. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    A variablelayout that aligns each view vertically or horizontally\nrelative to all the other views.

    \n\n

    If updateparent is true the parent will be sized to fit the\naligned views such that the view with the greatest extent will have\na position of 0. If instead updateparent is false the views will\nbe aligned within the inner extent of the parent view.

    \n\n
    <alignlayout align=\"middle\" updateparent=\"true\"></alignlayout>\n\n<view x=\"0\" width=\"50\" height=\"35\" bgcolor=\"plum\"></view>\n<view x=\"55\" width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view x=\"110\" width=\"50\" height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    dr.alignlayout
    view source
    : String
    Determines which way the views are aligned. ...

    Determines which way the views are aligned. Supported values are\n'left', 'center', 'right' for horizontal alignment and 'top', 'middle'\nand 'bottom' for vertical alignment.

    \n

    Defaults to: 'middle'

    The name of the attribute to update on each subview. ...

    The name of the attribute to update on each subview.

    \n

    Defaults to: x

    dr.alignlayout
    view source
    : boolean
    Determines if the parent will be sized to fit the aligned views such\nthat the view with the greatest extent will have...

    Determines if the parent will be sized to fit the aligned views such\nthat the view with the greatest extent will have a position of 0. If\ninstead updateparent is false the views will be aligned within the\ninner extent of the parent view.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    dr.alignlayout
    view source
    ( )
    Determine the maximum subview width/height according to the alignment. ...

    Determine the maximum subview width/height according to the alignment.\nThis is only necessary if updateparent is true since we will need to\nknow what size to make the parent as well as what size to align the\nsubviews within.

    \n

    Overrides: dr.variablelayout.doBeforeUpdate

    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_alignlayout({"tagname":"class","name":"dr.alignlayout","autodetected":{},"files":[{"filename":"alignlayout.js","href":"alignlayout.html#dr-alignlayout"}],"extends":"dr.variablelayout","members":[{"name":"align","tagname":"attribute","owner":"dr.alignlayout","id":"attribute-align","meta":{}},{"name":"attribute","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-attribute","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.alignlayout","id":"attribute-inset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.alignlayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.alignlayout","short_doc":"A variablelayout that aligns each view vertically or horizontally\nrelative to all the other views. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    A variablelayout that aligns each view vertically or horizontally\nrelative to all the other views.

    \n\n

    If updateparent is true the parent will be sized to fit the\naligned views such that the view with the greatest extent will have\na position of 0. If instead updateparent is false the views will\nbe aligned within the inner extent of the parent view.

    \n\n
    <alignlayout align=\"middle\" updateparent=\"true\"></alignlayout>\n\n<view x=\"0\" width=\"50\" height=\"35\" bgcolor=\"plum\"></view>\n<view x=\"55\" width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view x=\"110\" width=\"50\" height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    dr.alignlayout
    view source
    : String
    Determines which way the views are aligned. ...

    Determines which way the views are aligned. Supported values are\n'left', 'center', 'right' for horizontal alignment and 'top', 'middle'\nand 'bottom' for vertical alignment.

    \n

    Defaults to: 'middle'

    The name of the attribute to update on each subview. ...

    The name of the attribute to update on each subview.

    \n

    Defaults to: x

    dr.alignlayout
    view source
    : boolean
    Determines if the parent will be sized to fit the aligned views such\nthat the view with the greatest extent will have...

    Determines if the parent will be sized to fit the aligned views such\nthat the view with the greatest extent will have a position of 0. If\ninstead updateparent is false the views will be aligned within the\ninner extent of the parent view.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    dr.alignlayout
    view source
    ( )
    Determine the maximum subview width/height according to the alignment. ...

    Determine the maximum subview width/height according to the alignment.\nThis is only necessary if updateparent is true since we will need to\nknow what size to make the parent as well as what size to align the\nsubviews within.

    \n

    Overrides: dr.variablelayout.doBeforeUpdate

    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value, count ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n
    • count : Number

      The number of views that were layed out.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.bitmap.js b/docs/api/output/dr.bitmap.js index b2cf85d..17a4486 100644 --- a/docs/api/output/dr.bitmap.js +++ b/docs/api/output/dr.bitmap.js @@ -1 +1 @@ -Ext.data.JsonP.dr_bitmap({"tagname":"class","name":"dr.bitmap","autodetected":{},"files":[{"filename":"bitmap.js","href":"bitmap3.html#dr-bitmap"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"naturalsize","tagname":"attribute","owner":"dr.bitmap","id":"attribute-naturalsize","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.bitmap","id":"attribute-src","meta":{}},{"name":"stretches","tagname":"attribute","owner":"dr.bitmap","id":"attribute-stretches","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"window","tagname":"attribute","owner":"dr.bitmap","id":"attribute-window","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onerror","tagname":"event","owner":"dr.bitmap","id":"event-onerror","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onload","tagname":"event","owner":"dr.bitmap","id":"event-onload","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.bitmap","short_doc":"Loads an image from a URL. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Loads an image from a URL.

    \n\n
    <bitmap src=\"../api-examples-resources/shasta.jpg\" width=\"230\" height=\"161\"></bitmap>\n
    \n\n

    Stretch an image to fill the entire view.\n @example\n

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    dr.bitmap
    view source
    : Boolean
    If set to true the bitmap will be sized to the width/height of the\nbitmap data in pixels. ...

    If set to true the bitmap will be sized to the width/height of the\nbitmap data in pixels.

    \n

    Defaults to: false

    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.bitmap
    view source
    : String
    The URL of the bitmap file to load. ...

    The URL of the bitmap file to load.

    \n

    Defaults to: ''

    dr.bitmap
    view source
    : String
    How the image is scaled to the size of the view. ...

    How the image is scaled to the size of the view.\nSupported values are 'true', 'false', 'scale'.\nfalse will scale the image to completely fill the view, but may obscure parts of the image.\ntrue will stretch the image to fit the view.\nscale will scale the image so it visible within the view, but the image may not fill the entire view.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    dr.bitmap
    view source
    : String
    A window (section) of the image is displayed by specifying four,\ncomma-separated values:\n x,y The coordinates of th...

    A window (section) of the image is displayed by specifying four,\ncomma-separated values:\n x,y The coordinates of the upper-left hand corner of the image\n w,h The width and height of the window to display.

    \n

    Defaults to: ''

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    dr.bitmap
    view source
    ( )
    Fired when there is an error loading the bitmap ...

    Fired when there is an error loading the bitmap

    \n
    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    dr.bitmap
    view source
    ( size )
    Fired when the bitmap is loaded ...

    Fired when the bitmap is loaded

    \n

    Parameters

    • size : Object

      An object containing the width and height

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_bitmap({"tagname":"class","name":"dr.bitmap","autodetected":{},"files":[{"filename":"bitmap.js","href":"bitmap3.html#dr-bitmap"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"naturalsize","tagname":"attribute","owner":"dr.bitmap","id":"attribute-naturalsize","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"repeat","tagname":"attribute","owner":"dr.bitmap","id":"attribute-repeat","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.bitmap","id":"attribute-src","meta":{}},{"name":"stretches","tagname":"attribute","owner":"dr.bitmap","id":"attribute-stretches","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"window","tagname":"attribute","owner":"dr.bitmap","id":"attribute-window","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onerror","tagname":"event","owner":"dr.bitmap","id":"event-onerror","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onload","tagname":"event","owner":"dr.bitmap","id":"event-onload","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.bitmap","short_doc":"Loads an image from a URL. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Loads an image from a URL.

    \n\n
    <bitmap src=\"../api-examples-resources/shasta.jpg\" width=\"230\" height=\"161\"></bitmap>\n
    \n\n

    Stretch an image to fill the entire view.\n @example\n

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    dr.bitmap
    view source
    : Boolean
    If set to true the bitmap will be sized to the width/height of the\nbitmap data in pixels. ...

    If set to true the bitmap will be sized to the width/height of the\nbitmap data in pixels.

    \n

    Defaults to: false

    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.bitmap
    view source
    : String
    Determines if the image will be repeated within the bounds. ...

    Determines if the image will be repeated within the bounds.\nSupported values are 'no-repeat', 'repeat', 'repeat-x' and 'repeat-y'.

    \n

    Defaults to: 'no-repeat'

    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.bitmap
    view source
    : String
    The URL of the bitmap file to load. ...

    The URL of the bitmap file to load.

    \n

    Defaults to: ''

    dr.bitmap
    view source
    : String
    How the image is scaled to the size of the view. ...

    How the image is scaled to the size of the view.\nSupported values are 'true', 'false', 'scale'.\nfalse will scale the image to completely fill the view, but may obscure parts of the image.\ntrue will stretch the image to fit the view.\nscale will scale the image so it visible within the view, but the image may not fill the entire view.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    dr.bitmap
    view source
    : String
    A window (section) of the image is displayed by specifying four,\ncomma-separated values:\n x,y The coordinates of th...

    A window (section) of the image is displayed by specifying four,\ncomma-separated values:\n x,y The coordinates of the upper-left hand corner of the image\n w,h The width and height of the window to display.

    \n

    Defaults to: ''

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    dr.bitmap
    view source
    ( )
    Fired when there is an error loading the bitmap ...

    Fired when there is an error loading the bitmap

    \n
    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    dr.bitmap
    view source
    ( size )
    Fired when the bitmap is loaded ...

    Fired when the bitmap is loaded

    \n

    Parameters

    • size : Object

      An object containing the width and height

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.buttonbase.js b/docs/api/output/dr.buttonbase.js index 1b0d5e6..6fbb6e7 100644 --- a/docs/api/output/dr.buttonbase.js +++ b/docs/api/output/dr.buttonbase.js @@ -1 +1 @@ -Ext.data.JsonP.dr_buttonbase({"tagname":"class","name":"dr.buttonbase","autodetected":{},"files":[{"filename":"buttonbase.js","href":"buttonbase.html#dr-buttonbase"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.buttonbase","short_doc":"Base class for button components. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":["dr.checkbutton","dr.labelbutton"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Subclasses

    Files

    Base class for button components. Buttons share common elements,\nincluding their ability to be selected, a visual element to display\ntheir state, and a default and selected color.\nThe visual element is a dr.view that shows the current state of the\nbutton. For example, in a labelbutton the entire button is the visual\nelement. For a checkbutton, the visual element is a square dr.view\nthat is inside the button.

    \n\n

    The following example shows a subclass that has a plain view as the visual\nelement, and sets selected to true onmousedown. The selectcolor is\nautomatically applied when selected is true.

    \n\n
    <class name=\"purplebutton\" extends=\"buttonbase\" defaultcolor=\"purple\" selectcolor=\"plum\" width=\"100\" height=\"40\" visual=\"${this}\">\n   <handler event=\"onmousedown\" args=\"mousedown\">\n     this.setAttribute('selected', mousedown)\n   </handler>\n</class>\n<purplebutton></purplebutton>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    dr.buttonbase
    view source
    : String
    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.buttonbase
    view source
    : String
    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    dr.buttonbase
    view source
    : Boolean
    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.buttonbase
    view source
    : String
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    dr.buttonbase
    view source
    ( view )
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_buttonbase({"tagname":"class","name":"dr.buttonbase","autodetected":{},"files":[{"filename":"buttonbase.js","href":"buttonbase.html#dr-buttonbase"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.buttonbase","short_doc":"Base class for button components. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":["dr.checkbutton","dr.labelbutton"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Subclasses

    Files

    Base class for button components. Buttons share common elements,\nincluding their ability to be selected, a visual element to display\ntheir state, and a default and selected color.\nThe visual element is a dr.view that shows the current state of the\nbutton. For example, in a labelbutton the entire button is the visual\nelement. For a checkbutton, the visual element is a square dr.view\nthat is inside the button.

    \n\n

    The following example shows a subclass that has a plain view as the visual\nelement, and sets selected to true onismousedown. The selectcolor is\nautomatically applied when selected is true.

    \n\n
    <class name=\"purplebutton\" extends=\"buttonbase\" defaultcolor=\"purple\" selectcolor=\"plum\" width=\"100\" height=\"40\" visual=\"${this}\">\n   <handler event=\"onismousedown\" args=\"ismousedown\">\n     this.setAttribute('selected', ismousedown)\n   </handler>\n</class>\n<purplebutton></purplebutton>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    dr.buttonbase
    view source
    : String
    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.buttonbase
    view source
    : String
    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    dr.buttonbase
    view source
    : Boolean
    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.buttonbase
    view source
    : String
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    dr.buttonbase
    view source
    ( view )
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.checkbutton.js b/docs/api/output/dr.checkbutton.js index 6682e29..1e05cf8 100644 --- a/docs/api/output/dr.checkbutton.js +++ b/docs/api/output/dr.checkbutton.js @@ -1 +1 @@ -Ext.data.JsonP.dr_checkbutton({"tagname":"class","name":"dr.checkbutton","autodetected":{},"files":[{"filename":"checkbutton.js","href":"checkbutton.html#dr-checkbutton"}],"extends":"dr.buttonbase","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.checkbutton","short_doc":"Button class consisting of text and a visual element to show the\ncurrent state of the component. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Button class consisting of text and a visual element to show the\ncurrent state of the component. The state of the\nbutton changes each time the button is clicked. The select property\nholds the current state of the button. The onselected event\nis generated when the button is the selected state.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<checkbutton text=\"pink\" selectcolor=\"pink\"></checkbutton>\n<checkbutton text=\"blue\" selectcolor=\"lightblue\"></checkbutton>\n<checkbutton text=\"green\" selectcolor=\"lightgreen\"></checkbutton>\n
    \n\n

    Here we listen for the onselected event on a checkbox and print the value that is passed to the handler.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<checkbutton text=\"green\" selectcolor=\"lightgreen\">\n  <handler event=\"onselected\" args=\"value\">\n    displayselected.setAttribute('text', value);\n  </handler>\n</checkbutton>\n\n<view>\n  <spacedlayout></spacedlayout>\n  <text text=\"Selected:\"></text>\n  <text id=\"displayselected\"></text>\n</view>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_checkbutton({"tagname":"class","name":"dr.checkbutton","autodetected":{},"files":[{"filename":"checkbutton.js","href":"checkbutton.html#dr-checkbutton"}],"extends":"dr.buttonbase","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.checkbutton","short_doc":"Button class consisting of text and a visual element to show the\ncurrent state of the component. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Button class consisting of text and a visual element to show the\ncurrent state of the component. The state of the\nbutton changes each time the button is clicked. The select property\nholds the current state of the button. The onselected event\nis generated when the button is the selected state.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<checkbutton text=\"pink\" selectcolor=\"pink\"></checkbutton>\n<checkbutton text=\"blue\" selectcolor=\"lightblue\"></checkbutton>\n<checkbutton text=\"green\" selectcolor=\"lightgreen\"></checkbutton>\n
    \n\n

    Here we listen for the onselected event on a checkbox and print the value that is passed to the handler.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<checkbutton text=\"green\" selectcolor=\"lightgreen\">\n  <handler event=\"onselected\" args=\"value\">\n    displayselected.setAttribute('text', value);\n  </handler>\n</checkbutton>\n\n<view>\n  <spacedlayout></spacedlayout>\n  <text text=\"Selected:\"></text>\n  <text id=\"displayselected\"></text>\n</view>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.dropdown.js b/docs/api/output/dr.dropdown.js new file mode 100644 index 0000000..b8531ca --- /dev/null +++ b/docs/api/output/dr.dropdown.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_dropdown({"tagname":"class","name":"dr.dropdown","autodetected":{},"files":[{"filename":"dropdown.js","href":"dropdown.html#dr-dropdown"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"dropdownsize","tagname":"attribute","owner":"dr.dropdown","id":"attribute-dropdownsize","meta":{}},{"name":"expanded","tagname":"attribute","owner":"dr.dropdown","id":"attribute-expanded","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.dropdown","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.dropdown","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.dropdown","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":["dr.dropdownfont"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Subclasses

    Files

    Displays a dropdown list of items, and displays the current selection.

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    dr.dropdown
    view source
    : Number
    The number of items to display in the dropdown list. ...

    The number of items to display in the dropdown list.

    \n

    Defaults to: 5

    dr.dropdown
    view source
    : Boolean
    The listbox portion is displayed only when expanded = true ...

    The listbox portion is displayed only when expanded = true

    \n

    Defaults to: "false"

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.dropdown
    view source
    : String
    The color of the selected element. ...

    The color of the selected element.

    \n

    Defaults to: "white"

    dr.dropdown
    view source
    : String
    The currently selected element ...

    The currently selected element

    \n

    Defaults to: ""

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.dropdownfont.js b/docs/api/output/dr.dropdownfont.js new file mode 100644 index 0000000..39185dd --- /dev/null +++ b/docs/api/output/dr.dropdownfont.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_dropdownfont({"tagname":"class","name":"dr.dropdownfont","autodetected":{},"files":[{"filename":"dropdownfont.js","href":"dropdownfont.html#dr-dropdownfont"}],"extends":"dr.dropdown","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"dropdownsize","tagname":"attribute","owner":"dr.dropdown","id":"attribute-dropdownsize","meta":{}},{"name":"expanded","tagname":"attribute","owner":"dr.dropdown","id":"attribute-expanded","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.dropdown","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.dropdown","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.dropdownfont","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.dropdown"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Displays a dropdown list of fonts, and displays the current selection.

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    The number of items to display in the dropdown list. ...

    The number of items to display in the dropdown list.

    \n

    Defaults to: 5

    The listbox portion is displayed only when expanded = true ...

    The listbox portion is displayed only when expanded = true

    \n

    Defaults to: "false"

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The color of the selected element. ...

    The color of the selected element.

    \n

    Defaults to: "white"

    The currently selected element ...

    The currently selected element

    \n

    Defaults to: ""

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.attrundoable.js b/docs/api/output/dr.editor.attrundoable.js new file mode 100644 index 0000000..50bd5bf --- /dev/null +++ b/docs/api/output/dr.editor.attrundoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_attrundoable({"tagname":"class","name":"dr.editor.attrundoable","autodetected":{},"files":[{"filename":"attrundoable.js","href":"attrundoable.html#dr-editor-attrundoable"}],"extends":"dr.editor.undoable","members":[{"name":"attribute","tagname":"attribute","owner":"dr.editor.attrundoable","id":"attribute-attribute","meta":{}},{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"newvalue","tagname":"attribute","owner":"dr.editor.attrundoable","id":"attribute-newvalue","meta":{}},{"name":"oldvalue","tagname":"attribute","owner":"dr.editor.attrundoable","id":"attribute-oldvalue","meta":{}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"target","tagname":"attribute","owner":"dr.editor.attrundoable","id":"attribute-target","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"__getDescription","tagname":"method","owner":"dr.editor.attrundoable","id":"method-__getDescription","meta":{"private":true}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.attrundoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.attrundoable","id":"method-getUndoDescription","meta":{}},{"name":"redo","tagname":"method","owner":"dr.editor.attrundoable","id":"method-redo","meta":{}},{"name":"setAttribute","tagname":"method","owner":"dr.editor.attrundoable","id":"method-setAttribute","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.attrundoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.attrundoable","short_doc":"An undoable that updates an attribute on a target object that\nhas support for the setAttribute method as defined in d...","component":false,"superclasses":["dr.eventable","dr.editor.undoable"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable
    dr.editor.attrundoable

    Files

    An undoable that updates an attribute on a target object that\nhas support for the setAttribute method as defined in dr.AccessorSupport\nsuch as dr.node and dr.view.

    \n
    Defined By

    Attributes

    dr.editor.attrundoable
    view source
    : String

    The name of the attribute to update.

    \n

    The name of the attribute to update.

    \n
    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    dr.editor.attrundoable
    view source
    : expression

    The done value of the attribute.

    \n

    The done value of the attribute.

    \n
    dr.editor.attrundoable
    view source
    : expression
    The undone value of the attribute. ...

    The undone value of the attribute. If not provided the current value\nof the attribute on the target object will be stored the first time\nredo is executed.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    dr.editor.attrundoable
    view source
    : dr.AccessorSupport

    The target object that will have setAttribute called on it.

    \n

    The target object that will have setAttribute called on it.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    dr.editor.attrundoable
    view source
    ( )private
    ...
    \n
    dr.editor.attrundoable
    view source
    ( )
    @overrides\nGets the redo description using the value of the redodescription\nattribute as a text template which will h...

    @overrides\nGets the redo description using the value of the redodescription\nattribute as a text template which will have the this.attribute,\nthis.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate\nfor more info on how text templates work.

    \n

    Overrides: dr.editor.undoable.getRedoDescription

    dr.editor.attrundoable
    view source
    ( )
    @overrides\nGets the undo description using the value of the undodescription\nattribute as a text template which will h...

    @overrides\nGets the undo description using the value of the undodescription\nattribute as a text template which will have the this.attribute,\nthis.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate\nfor more info on how text templates work.

    \n

    Overrides: dr.editor.undoable.getUndoDescription

    dr.editor.attrundoable
    view source
    ( )
    @overrides\nSets the attribute on the target object to the newvalue. ...

    @overrides\nSets the attribute on the target object to the newvalue. Also stores\nthe current value of the target object as the oldvalue if this is the\nfirst time redo is called successfully.

    \n
    dr.editor.attrundoable
    view source
    ( )
    @overrides\nPrevent resolution of constraints since the values we wish to store\nfor oldvalue and newvalue will often b...

    @overrides\nPrevent resolution of constraints since the values we wish to store\nfor oldvalue and newvalue will often be the string value of a\nconstraint.

    \n
    dr.editor.attrundoable
    view source
    ( )
    @overrides\nSets the attribute on the target object to the oldvalue. ...

    @overrides\nSets the attribute on the target object to the oldvalue.

    \n

    Overrides: dr.editor.undoable.undo

    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.compoundundoable.js b/docs/api/output/dr.editor.compoundundoable.js new file mode 100644 index 0000000..4bef3d5 --- /dev/null +++ b/docs/api/output/dr.editor.compoundundoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_compoundundoable({"tagname":"class","name":"dr.editor.compoundundoable","autodetected":{},"files":[{"filename":"compoundundoable.js","href":"compoundundoable.html#dr-editor-compoundundoable"}],"extends":"dr.editor.undoable","members":[{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"add","tagname":"method","owner":"dr.editor.compoundundoable","id":"method-add","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.editor.compoundundoable","id":"method-destroy","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getUndoDescription","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.compoundundoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.compoundundoable","short_doc":"An undoable that combines multiple undoables into a single group that can\nbe done/undone as one. ...","component":false,"superclasses":["dr.eventable","dr.editor.undoable"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable
    dr.editor.compoundundoable

    Files

    An undoable that combines multiple undoables into a single group that can\nbe done/undone as one. Use the add method to add undoables to this\ncompoundundoable.

    \n\n

    The contained undoables will be done in the order they were added and\nundone in the reverse order they were added.

    \n
    Defined By

    Attributes

    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    dr.editor.compoundundoable
    view source
    ( undoable ) : this
    Adds an undoable to this dr.editor.compoundundoable. ...

    Adds an undoable to this dr.editor.compoundundoable.

    \n

    Parameters

    Returns

    • this
      \n
    dr.editor.compoundundoable
    view source
    ( )
    @overrides\nDestroys this undoable and all the undoables contained within it. ...

    @overrides\nDestroys this undoable and all the undoables contained within it.

    \n
    Gets a human readable description of this undoable for use when it\ncan be done. ...

    Gets a human readable description of this undoable for use when it\ncan be done.

    \n

    Returns

    • String

      The human readable string.

      \n
    Gets a human readable description of this undoable for use when it\ncan be undone. ...

    Gets a human readable description of this undoable for use when it\ncan be undone.

    \n

    Returns

    • String

      The human readable string.

      \n
    dr.editor.compoundundoable
    view source
    ( )
    @overrides\nDoes all the contained undoables. ...

    @overrides\nDoes all the contained undoables.

    \n

    Overrides: dr.editor.undoable.undo

    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.createundoable.js b/docs/api/output/dr.editor.createundoable.js new file mode 100644 index 0000000..b0ef794 --- /dev/null +++ b/docs/api/output/dr.editor.createundoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_createundoable({"tagname":"class","name":"dr.editor.createundoable","autodetected":{},"files":[{"filename":"createundoable.js","href":"createundoable.html#dr-editor-createundoable"}],"extends":"dr.editor.undoable","members":[{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"target","tagname":"attribute","owner":"dr.editor.createundoable","id":"attribute-target","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.editor.createundoable","id":"method-destroy","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getUndoDescription","meta":{}},{"name":"redo","tagname":"method","owner":"dr.editor.createundoable","id":"method-redo","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.createundoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.createundoable","component":false,"superclasses":["dr.eventable","dr.editor.undoable"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable
    dr.editor.createundoable

    Files

    An undoable that Inserts a new node into a parent node.

    \n
    Defined By

    Attributes

    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    dr.editor.createundoable
    view source
    : dr.AccessorSupport

    The new node/view to add.

    \n

    The new node/view to add.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    dr.editor.createundoable
    view source
    ( )
    @overrides ...

    @overrides

    \n
    Gets a human readable description of this undoable for use when it\ncan be done. ...

    Gets a human readable description of this undoable for use when it\ncan be done.

    \n

    Returns

    • String

      The human readable string.

      \n
    Gets a human readable description of this undoable for use when it\ncan be undone. ...

    Gets a human readable description of this undoable for use when it\ncan be undone.

    \n

    Returns

    • String

      The human readable string.

      \n
    dr.editor.createundoable
    view source
    ( )
    @overrides\nInserts the target into the target parent. ...

    @overrides\nInserts the target into the target parent.

    \n
    dr.editor.createundoable
    view source
    ( )
    @overrides\nRemoves the target from its parent. ...

    @overrides\nRemoves the target from its parent.

    \n

    Overrides: dr.editor.undoable.undo

    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.deleteundoable.js b/docs/api/output/dr.editor.deleteundoable.js new file mode 100644 index 0000000..4750819 --- /dev/null +++ b/docs/api/output/dr.editor.deleteundoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_deleteundoable({"tagname":"class","name":"dr.editor.deleteundoable","autodetected":{},"files":[{"filename":"deleteundoable.js","href":"deleteundoable.html#dr-editor-deleteundoable"}],"extends":"dr.editor.undoable","members":[{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"target","tagname":"attribute","owner":"dr.editor.deleteundoable","id":"attribute-target","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.editor.deleteundoable","id":"method-destroy","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getUndoDescription","meta":{}},{"name":"redo","tagname":"method","owner":"dr.editor.deleteundoable","id":"method-redo","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.deleteundoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.deleteundoable","component":false,"superclasses":["dr.eventable","dr.editor.undoable"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable
    dr.editor.deleteundoable

    Files

    An undoable that Inserts a new node into a parent node.

    \n
    Defined By

    Attributes

    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    dr.editor.deleteundoable
    view source
    : dr.AccessorSupport

    The node/view to remove.

    \n

    The node/view to remove.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    dr.editor.deleteundoable
    view source
    ( )
    @overrides ...

    @overrides

    \n
    Gets a human readable description of this undoable for use when it\ncan be done. ...

    Gets a human readable description of this undoable for use when it\ncan be done.

    \n

    Returns

    • String

      The human readable string.

      \n
    Gets a human readable description of this undoable for use when it\ncan be undone. ...

    Gets a human readable description of this undoable for use when it\ncan be undone.

    \n

    Returns

    • String

      The human readable string.

      \n
    dr.editor.deleteundoable
    view source
    ( )
    @overrides\nRemoves the target from its parent. ...

    @overrides\nRemoves the target from its parent.

    \n
    dr.editor.deleteundoable
    view source
    ( )
    @overrides\nReinserts the target. ...

    @overrides\nReinserts the target.

    \n

    Overrides: dr.editor.undoable.undo

    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.orderundoable.js b/docs/api/output/dr.editor.orderundoable.js new file mode 100644 index 0000000..074327e --- /dev/null +++ b/docs/api/output/dr.editor.orderundoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_orderundoable({"tagname":"class","name":"dr.editor.orderundoable","autodetected":{},"files":[{"filename":"orderundoable.js","href":"orderundoable.html#dr-editor-orderundoable"}],"extends":"dr.editor.undoable","members":[{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"newprevsibling","tagname":"attribute","owner":"dr.editor.orderundoable","id":"attribute-newprevsibling","meta":{}},{"name":"oldprevsibling","tagname":"attribute","owner":"dr.editor.orderundoable","id":"attribute-oldprevsibling","meta":{}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"target","tagname":"attribute","owner":"dr.editor.orderundoable","id":"attribute-target","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getUndoDescription","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.undoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.orderundoable","component":false,"superclasses":["dr.eventable","dr.editor.undoable"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable
    dr.editor.orderundoable

    Files

    An undoable that updates the lexical order of a view.

    \n
    Defined By

    Attributes

    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    dr.editor.orderundoable
    view source
    : expression

    The view the target view ends up in front of.

    \n

    The view the target view ends up in front of.

    \n
    dr.editor.orderundoable
    view source
    : expression

    The view the target view begins in front of.

    \n

    The view the target view begins in front of.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    dr.editor.orderundoable
    view source
    : dr.AccessorSupport

    The target object that will be moved.

    \n

    The target object that will be moved.

    \n
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    Gets a human readable description of this undoable for use when it\ncan be done. ...

    Gets a human readable description of this undoable for use when it\ncan be done.

    \n

    Returns

    • String

      The human readable string.

      \n
    Gets a human readable description of this undoable for use when it\ncan be undone. ...

    Gets a human readable description of this undoable for use when it\ncan be undone.

    \n

    Returns

    • String

      The human readable string.

      \n
    Rolls forward this undoable if it is in the undone state. ...

    Rolls forward this undoable if it is in the undone state. Sets the \"done\"\nattribute to true if successfull.

    \n

    Parameters

    • callback : Function

      An optional function that will be executed if\nredo succeeds. The undoable is passed in as an argument to the callback.

      \n

    Returns

    • this
      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.undoable.js b/docs/api/output/dr.editor.undoable.js new file mode 100644 index 0000000..4024797 --- /dev/null +++ b/docs/api/output/dr.editor.undoable.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_undoable({"tagname":"class","name":"dr.editor.undoable","autodetected":{},"files":[{"filename":"undoable.js","href":"undoable.html#dr-editor-undoable"}],"extends":"dr.eventable","abstract":true,"members":[{"name":"done","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-done","meta":{"readonly":true}},{"name":"redodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-redodescription","meta":{}},{"name":"undodescription","tagname":"attribute","owner":"dr.editor.undoable","id":"attribute-undodescription","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getRedoDescription","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undoable","id":"method-getUndoDescription","meta":{}},{"name":"undo","tagname":"method","owner":"dr.editor.undoable","id":"method-undo","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.undoable","short_doc":"An object that encapsulates doing and undoing a change. ...","component":false,"superclasses":["dr.eventable"],"subclasses":["dr.editor.attrundoable","dr.editor.compoundundoable","dr.editor.createundoable","dr.editor.deleteundoable","dr.editor.orderundoable"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.eventable
    dr.editor.undoable

    Subclasses

    Files

    An object that encapsulates doing and undoing a change. Typically this\nchange would be on a target object of some sort, but that is really\nup to the specific implementation.

    \n\n

    When an undoable is in either the \"done\" or \"undone\" state. The \"done\"\nstate means the change has been applied and the \"undone\" state means\nthat it has not been applied. An undoable always starts out in the\nundone state when it is created.

    \n\n

    Typically an undoable will be added to an editor-undostack and will\nbe managed through that object.

    \n
    Defined By

    Attributes

    dr.editor.undoable
    view source
    : Booleanreadonly
    Indicates if this undoable is in the \"done\" or \"undone\" state. ...

    Indicates if this undoable is in the \"done\" or \"undone\" state.\nUndoables begin in the undone state.

    \n
    dr.editor.undoable
    view source
    : String
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be done/redone when the undoable is\nexecuted.

    \n
    dr.editor.undoable
    view source
    : String
    A human readable representation of the undoable. ...

    A human readable representation of the undoable. The description\nshould describe what will be undone when the undoable is\nexecuted.

    \n
    Defined By

    Methods

    dr.editor.undoable
    view source
    ( ) : String
    Gets a human readable description of this undoable for use when it\ncan be done. ...

    Gets a human readable description of this undoable for use when it\ncan be done.

    \n

    Returns

    • String

      The human readable string.

      \n
    dr.editor.undoable
    view source
    ( ) : String
    Gets a human readable description of this undoable for use when it\ncan be undone. ...

    Gets a human readable description of this undoable for use when it\ncan be undone.

    \n

    Returns

    • String

      The human readable string.

      \n
    dr.editor.undoable
    view source
    ( callback ) : this
    Rolls forward this undoable if it is in the undone state. ...

    Rolls forward this undoable if it is in the undone state. Sets the \"done\"\nattribute to true if successfull.

    \n

    Parameters

    • callback : Function

      An optional function that will be executed if\nredo succeeds. The undoable is passed in as an argument to the callback.

      \n

    Returns

    • this
      \n
    ","meta":{"abstract":true}}); \ No newline at end of file diff --git a/docs/api/output/dr.editor.undostack.js b/docs/api/output/dr.editor.undostack.js new file mode 100644 index 0000000..61c4dfd --- /dev/null +++ b/docs/api/output/dr.editor.undostack.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_editor_undostack({"tagname":"class","name":"dr.editor.undostack","autodetected":{},"files":[{"filename":"undostack.js","href":"undostack.html#dr-editor-undostack"}],"extends":"dr.node","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__executeUndoable","tagname":"method","owner":"dr.editor.undostack","id":"method-__executeUndoable","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__syncUndoabilityAttrs","tagname":"method","owner":"dr.editor.undostack","id":"method-__syncUndoabilityAttrs","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"canRedo","tagname":"method","owner":"dr.editor.undostack","id":"method-canRedo","meta":{}},{"name":"canUndo","tagname":"method","owner":"dr.editor.undostack","id":"method-canUndo","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"do","tagname":"method","owner":"dr.editor.undostack","id":"method-do","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.node","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.node","id":"method-doSubnodeRemoved","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getRedoDescription","tagname":"method","owner":"dr.editor.undostack","id":"method-getRedoDescription","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.node","id":"method-getTypeForAttrName","meta":{}},{"name":"getUndoDescription","tagname":"method","owner":"dr.editor.undostack","id":"method-getUndoDescription","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.editor.undostack","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"notifyReady","tagname":"method","owner":"dr.node","id":"method-notifyReady","meta":{}},{"name":"redo","tagname":"method","owner":"dr.editor.undostack","id":"method-redo","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"reset","tagname":"method","owner":"dr.editor.undostack","id":"method-reset","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"undo","tagname":"method","owner":"dr.editor.undostack","id":"method-undo","meta":{}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.editor.undostack","short_doc":"Provides a stack of undoables that can be done/undone. ...","component":false,"superclasses":["Module","Eventable","dr.node"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module
    Eventable
    dr.node
    dr.editor.undostack

    Files

    Provides a stack of undoables that can be done/undone. As undoables\nare done/undone a position in the stack is maintained.

    \n\n

    This object should be used to form the foundation of an undo/redo system\nfor an editor.

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n
    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    dr.editor.undostack
    view source
    ( )private
    Executes the undoable and returns an error if one occured. ...

    Executes the undoable and returns an error if one occured.

    \n
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    dr.editor.undostack
    view source
    ( )private
    ...
    \n
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    dr.editor.undostack
    view source
    ( ) : Boolean
    Determines if there is anything to redo based on the current location\nwithin the undo stack. ...

    Determines if there is anything to redo based on the current location\nwithin the undo stack. If the current stack location is at the end\nthen there is nothing to be done.

    \n

    Returns

    • Boolean
      \n
    dr.editor.undostack
    view source
    ( ) : Boolean
    Determines if there is anything to undo based on the current location\nwithin the undo stack. ...

    Determines if there is anything to undo based on the current location\nwithin the undo stack. If the current stack location is at the start\nthen there is nothing to be undone.

    \n

    Returns

    • Boolean
      \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after the parent has been unset.\n Subclasses must call callSuper.\n @returns void

    \n
    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after subnodes have been destroyed but before\n the parent has been unset.\n Subclasses should call callSuper.\n @returns void

    \n
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    dr.editor.undostack
    view source
    ( undoable, callback, errorHandler ) : Boolean
    Adds the undoable to this stack at the current location and immediately\ndoes that undoable. ...

    Adds the undoable to this stack at the current location and immediately\ndoes that undoable. Also removes and destroys any undoables that exist\nat or after this location in the undo stack.

    \n\n

    If the attempt to do the undoable triggers an error the undoable will\nhave its undo method called and the undoable will not be added to the\nundostack.

    \n\n

    Undoables already in the done state will be rejected and the errorHandler\n(if provided) will be executed.

    \n

    Parameters

    • undoable : dr.editor.undoable

      The undoable to add.

      \n
    • callback : Function

      An optional argument that if provided will\nbe called when the provided undoable is succesfully done. The callback\nis executed only once, not every time the undoable is redone. The\nundoable is provided as an argument to the callback.

      \n
    • errorHandler : Function

      An optional argument that if provided will\nbe called if an error occurs trying to do add or do the undoable. An\nerror object is provided to the callback which may consist of a msg and\nstacktrace, or a native error object.

      \n

    Returns

    • Boolean

      Indicates if the undoable was added succesfully or\nnot.

      \n
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a subnode is added to this node. ...

    Called when a subnode is added to this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to add a subnode. Instead call addSubnode or set_parent.\n @param node:Node the subnode that was added.\n @returns void

    \n

    Parameters

    • node : Object
    Called when a subnode is removed from this node. ...

    Called when a subnode is removed from this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to remove a subnode. Instead call removeSubnode or set_parent.\n @param node:Node the subnode that was removed.\n @returns void

    \n

    Parameters

    • node : Object
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    dr.editor.undostack
    view source
    ( ) : String
    Gets the human readable redo description of the undoable that will be\nexecuted if the redo method of this undostack i...

    Gets the human readable redo description of the undoable that will be\nexecuted if the redo method of this undostack is called.

    \n

    Returns

    • String
      \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object
    dr.editor.undostack
    view source
    ( ) : String
    Gets the human readable undo description of the undoable that will be\nexecuted if the undo method of this undostack i...

    Gets the human readable undo description of the undoable that will be\nexecuted if the undo method of this undostack is called.

    \n

    Returns

    • String
      \n
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    dr.editor.undostack
    view source
    ( )
    @overrides\nInitializes the undostack by calling reset. ...

    @overrides\nInitializes the undostack by calling reset.

    \n

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Called by dr.RootNode once the root node is ready. ...

    Called by dr.RootNode once the root node is ready.

    \n
    dr.editor.undostack
    view source
    ( callback, errorHandler ) : Boolean
    Executes the redo method of the undoable at the current undo stack\nlocation. ...

    Executes the redo method of the undoable at the current undo stack\nlocation.

    \n\n

    If the attempt to redo the undoable triggers an error the errorHandler\n(if provided) will be executed.

    \n

    Parameters

    • callback : Function

      An optional argument that if provided will\nbe called when the current undoable is succesfully done. The callback\nis executed only once, not every time the undoable is done. The\nundoable is provided as an argument to the callback.

      \n
    • errorHandler : Function

      An optional argument that if provided will\nbe called if an error occurs trying redo the undoable. An error object is\nprovided to the callback which may consist of a msg and stacktrace, or\na native error object.

      \n

    Returns

    • Boolean

      Indicates if the undoable was successfully done or not.

      \n
    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    dr.editor.undostack
    view source
    ( ) : this
    Clears out this undostack and destroys any undoables contained within\nthe undostack at the time of this method call. ...

    Clears out this undostack and destroys any undoables contained within\nthe undostack at the time of this method call.

    \n

    Returns

    • this
      \n
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    dr.editor.undostack
    view source
    ( callback, errorHandler ) : Boolean
    Executes the undo method of the undoable at the current undo stack\nlocation. ...

    Executes the undo method of the undoable at the current undo stack\nlocation.

    \n\n

    If the attempt to undo the undoable triggers an error the errorHandler\n(if provided) will be executed.

    \n

    Parameters

    • callback : Function

      An optional argument that if provided will\nbe called when the current undoable is succesfully undone. The callback\nis executed only once, not every time the undoable is undone. The\nundoable is provided as an argument to the callback.

      \n
    • errorHandler : Function

      An optional argument that if provided will\nbe called if an error occurs trying undo the undoable. An error object is\nprovided to the callback which may consist of a msg and stacktrace, or\na native error object.

      \n

    Returns

    • Boolean

      Indicates if the undoable was successfully\nundone or not.

      \n
    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.fontdetect.js b/docs/api/output/dr.fontdetect.js new file mode 100644 index 0000000..01f7e86 --- /dev/null +++ b/docs/api/output/dr.fontdetect.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_fontdetect({"tagname":"class","name":"dr.fontdetect","autodetected":{},"files":[{"filename":"fontdetect.js","href":"fontdetect.html#dr-fontdetect"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"additional","tagname":"attribute","owner":"dr.fontdetect","id":"attribute-additional","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"fonts","tagname":"attribute","owner":"dr.fontdetect","id":"attribute-fonts","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"detect","tagname":"method","owner":"dr.fontdetect","id":"method-detect","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.fontdetect","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Determine fonts that are available for use.

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    dr.fontdetect
    view source
    : Array
    Additional fonts to check ...

    Additional fonts to check

    \n

    Defaults to: []

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    dr.fontdetect
    view source
    : Array
    The list of fonts that can be used. ...

    The list of fonts that can be used.

    \n

    Defaults to: []

    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    dr.fontdetect
    view source
    ( )
    Detect fonts using a predefined list and additionalfonts ...

    Detect fonts using a predefined list and additionalfonts

    \n
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.indicator.js b/docs/api/output/dr.indicator.js index ec3d18a..077de49 100644 --- a/docs/api/output/dr.indicator.js +++ b/docs/api/output/dr.indicator.js @@ -1 +1 @@ -Ext.data.JsonP.dr_indicator({"tagname":"class","name":"dr.indicator","autodetected":{},"files":[{"filename":"indicator.js","href":"indicator.html#dr-indicator"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"fill","tagname":"attribute","owner":"dr.indicator","id":"attribute-fill","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"inset","tagname":"attribute","owner":"dr.indicator","id":"attribute-inset","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"size","tagname":"attribute","owner":"dr.indicator","id":"attribute-size","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.indicator","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Provides a visual indicator of \"componentness\".

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    dr.indicator
    view source
    : String
    The color of the indicator ...

    The color of the indicator

    \n

    Defaults to: ''

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.indicator
    view source
    : Number
    The inset of the indicator from the bottom left corner of the parent. ...

    The inset of the indicator from the bottom left corner of the parent.

    \n

    Defaults to: 2

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.indicator
    view source
    : Number
    The size of the indicator. ...

    The size of the indicator. The indicator should always be square so\nadjust this value rather than width and height.

    \n

    Defaults to: 10

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_indicator({"tagname":"class","name":"dr.indicator","autodetected":{},"files":[{"filename":"indicator.js","href":"indicator.html#dr-indicator"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"fill","tagname":"attribute","owner":"dr.indicator","id":"attribute-fill","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"inset","tagname":"attribute","owner":"dr.indicator","id":"attribute-inset","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"size","tagname":"attribute","owner":"dr.indicator","id":"attribute-size","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.indicator","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Provides a visual indicator of \"componentness\".

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    dr.indicator
    view source
    : String
    The color of the indicator ...

    The color of the indicator

    \n

    Defaults to: ''

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.indicator
    view source
    : Number
    The inset of the indicator from the bottom left corner of the parent. ...

    The inset of the indicator from the bottom left corner of the parent.

    \n

    Defaults to: 2

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.indicator
    view source
    : Number
    The size of the indicator. ...

    The size of the indicator. The indicator should always be square so\nadjust this value rather than width and height.

    \n

    Defaults to: 10

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.inputtext.js b/docs/api/output/dr.inputtext.js index d836657..28c6043 100644 --- a/docs/api/output/dr.inputtext.js +++ b/docs/api/output/dr.inputtext.js @@ -1 +1 @@ -Ext.data.JsonP.dr_inputtext({"tagname":"class","name":"dr.inputtext","autodetected":{},"files":[{"filename":"inputtext.js","href":"inputtext3.html#dr-inputtext"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselect","tagname":"event","owner":"dr.inputtext","id":"event-onselect","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.inputtext","short_doc":"Provides an editable input text field. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Provides an editable input text field.

    \n\n
    <spacedlayout axis=\"y\" spacing=\"10\"></spacedlayout>\n\n<text text=\"Enter your name:\"></text>\n\n<inputtext id=\"nameinput\" width=\"200\"></inputtext>\n\n<labelbutton text=\"submit\">\n  <handler event=\"onclick\">\n    welcome.setAttribute('text', 'Welcome ' + nameinput.text);\n  </handler>\n</labelbutton>\n\n<text id=\"welcome\"></text>\n
    \n\n

    It's possible to listen for an onchange event to find out when the user changed the inputtext value:

    \n\n
    <spacedlayout axis=\"y\" spacing=\"10\"></spacedlayout>\n<text text=\"Type some text below and press enter:\"></text>\n<inputtext id=\"nameinput\" width=\"200\" onchange=\"alert('onchange event: ' + this.text)\"></inputtext>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    dr.inputtext
    view source
    ( view, view, view, view, keys, keys, The )
    Fired when an inputtext is selected ...

    Fired when an inputtext is selected

    \n

    Parameters

    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext has changed

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext is focused

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext is blurred or loses focus

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when a key goes down

      \n
    • keys : Object

      An object representing the keyboard state, including shiftKey, allocation, ctrlKey, metaKey, keyCode and type

      \n\n

      Fired when a key goes up

      \n
    • keys : Object

      An object representing the keyboard state, including shiftKey, allocation, ctrlKey, metaKey, keyCode and type

      \n\n

      Fired the rows attribute changes.

      \n
    • The : number

      number of rows displayed for multiline text input.

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_inputtext({"tagname":"class","name":"dr.inputtext","autodetected":{},"files":[{"filename":"inputtext.js","href":"inputtext3.html#dr-inputtext"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselect","tagname":"event","owner":"dr.inputtext","id":"event-onselect","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.inputtext","short_doc":"Provides an editable input text field. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Provides an editable input text field.

    \n\n
    <spacedlayout axis=\"y\" spacing=\"10\"></spacedlayout>\n\n<text text=\"Enter your name:\"></text>\n\n<inputtext id=\"nameinput\" width=\"200\"></inputtext>\n\n<labelbutton text=\"submit\">\n  <handler event=\"onclick\">\n    welcome.setAttribute('text', 'Welcome ' + nameinput.text);\n  </handler>\n</labelbutton>\n\n<text id=\"welcome\"></text>\n
    \n\n

    It's possible to listen for an onchange event to find out when the user changed the inputtext value:

    \n\n
    <spacedlayout axis=\"y\" spacing=\"10\"></spacedlayout>\n<text text=\"Type some text below and press enter:\"></text>\n<inputtext id=\"nameinput\" width=\"200\" onchange=\"alert('onchange event: ' + this.text)\"></inputtext>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    dr.inputtext
    view source
    ( view, view, view, view, keys, keys, The )
    Fired when an inputtext is selected ...

    Fired when an inputtext is selected

    \n

    Parameters

    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext has changed

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext is focused

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when an inputtext is blurred or loses focus

      \n
    • view : dr.view

      The view that fired the event

      \n\n

      Fired when a key goes down

      \n
    • keys : Object

      An object representing the keyboard state, including shiftKey, allocation, ctrlKey, metaKey, keyCode and type

      \n\n

      Fired when a key goes up

      \n
    • keys : Object

      An object representing the keyboard state, including shiftKey, allocation, ctrlKey, metaKey, keyCode and type

      \n\n

      Fired the rows attribute changes.

      \n
    • The : number

      number of rows displayed for multiline text input.

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.labelbutton.js b/docs/api/output/dr.labelbutton.js index 9fa42bc..a0f622d 100644 --- a/docs/api/output/dr.labelbutton.js +++ b/docs/api/output/dr.labelbutton.js @@ -1 +1 @@ -Ext.data.JsonP.dr_labelbutton({"tagname":"class","name":"dr.labelbutton","autodetected":{},"files":[{"filename":"labelbutton.js","href":"labelbutton.html#dr-labelbutton"}],"extends":"dr.buttonbase","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.labelbutton","short_doc":"Button class consisting of text centered in a view. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase"],"subclasses":["dr.labeltoggle"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Subclasses

    Files

    Button class consisting of text centered in a view. The onclick event\nis generated when the button is clicked. The visual state of the\nbutton changes during onmousedown/onmouseup.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<labelbutton text=\"click me\">\n  <handler event=\"onactivated\">\n    hello.setAttribute('text', 'Hello Universe!');\n  </handler>\n</labelbutton>\n\n<text id=\"hello\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_labelbutton({"tagname":"class","name":"dr.labelbutton","autodetected":{},"files":[{"filename":"labelbutton.js","href":"labelbutton.html#dr-labelbutton"}],"extends":"dr.buttonbase","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.labelbutton","short_doc":"Button class consisting of text centered in a view. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase"],"subclasses":["dr.labeltoggle"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Subclasses

    Files

    Button class consisting of text centered in a view. The onclick event\nis generated when the button is clicked. The visual state of the\nbutton changes during onismousedown.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<labelbutton text=\"click me\">\n  <handler event=\"onactivated\">\n    hello.setAttribute('text', 'Hello Universe!');\n  </handler>\n</labelbutton>\n\n<text id=\"hello\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.labeltoggle.js b/docs/api/output/dr.labeltoggle.js index 02bb6d5..de8007a 100644 --- a/docs/api/output/dr.labeltoggle.js +++ b/docs/api/output/dr.labeltoggle.js @@ -1 +1 @@ -Ext.data.JsonP.dr_labeltoggle({"tagname":"class","name":"dr.labeltoggle","autodetected":{},"files":[{"filename":"labeltoggle.js","href":"labeltoggle.html#dr-labeltoggle"}],"extends":"dr.labelbutton","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.labeltoggle","short_doc":"Button class consisting of text centered in a view. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase","dr.labelbutton"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Button class consisting of text centered in a view. The state of the\nbutton changes each time the button is clicked. The select property\nholds the current state of the button. The onselected event\nis generated when the button is the selected state.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<labeltoggle id=\"toggle\" text=\"Click me to toggle\"></labeltoggle>\n\n<text text=\"${toggle.selected ? 'selected' : 'not selected'}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_labeltoggle({"tagname":"class","name":"dr.labeltoggle","autodetected":{},"files":[{"filename":"labeltoggle.js","href":"labeltoggle.html#dr-labeltoggle"}],"extends":"dr.labelbutton","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-defaultcolor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selectcolor","meta":{}},{"name":"selected","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-selected","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.buttonbase","id":"attribute-text","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onselected","tagname":"event","owner":"dr.buttonbase","id":"event-onselected","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.labeltoggle","short_doc":"Button class consisting of text centered in a view. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.buttonbase","dr.labelbutton"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Button class consisting of text centered in a view. The state of the\nbutton changes each time the button is clicked. The select property\nholds the current state of the button. The onselected event\nis generated when the button is the selected state.

    \n\n
    <spacedlayout axis=\"y\"></spacedlayout>\n\n<labeltoggle id=\"toggle\" text=\"Click me to toggle\"></labeltoggle>\n\n<text text=\"${toggle.selected ? 'selected' : 'not selected'}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The default color of the visual button element when not selected. ...

    The default color of the visual button element when not selected.

    \n

    Defaults to: "#808080"

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The selected color of the visual button element when selected. ...

    The selected color of the visual button element when selected.

    \n

    Defaults to: "#a0a0a0"

    The current state of the button. ...

    The current state of the button.

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    Button text. ...

    Button text.

    \n

    Defaults to: ""

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when the state of the button changes. ...

    Fired when the state of the button changes.

    \n

    Parameters

    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.markup.js b/docs/api/output/dr.markup.js index 8db13dc..ab9f9d3 100644 --- a/docs/api/output/dr.markup.js +++ b/docs/api/output/dr.markup.js @@ -1 +1 @@ -Ext.data.JsonP.dr_markup({"tagname":"class","name":"dr.markup","autodetected":{},"files":[{"filename":"markup.js","href":"markup.html#dr-markup"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"markup","tagname":"attribute","owner":"dr.markup","id":"attribute-markup","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"unescape","tagname":"method","owner":"dr.markup","id":"method-unescape","meta":{"private":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.markup","short_doc":"A view that uses the sizetodom mixin. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    A view that uses the sizetodom mixin. You can also put HTML inside\nthe element and it will show up in the page.

    \n\n

    This example creates a view that contains some HTML text. The view\nwill be sized to fit the text.

    \n\n
    <markup>\n    <b>Here is some text</b> that is really just HTML.\n</markup>\n
    \n\n

    This example creates a view that contains some HTML text. The view\nwill flow the text at a width of 50 pixels and have its height\nautomatically sized to fit the flowed text. If you later want to\nlet the view size its width to the dom just call\nsetAttribute('width', 'auto').

    \n\n
    <markup width=\"50\">\n    <b>Here is some text</b> that is really just HTML.\n</markup>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.markup
    view source
    : String
    Sets the inner HTML of this view. ...

    Sets the inner HTML of this view. Since the < and > characters are\nnot typically supported in the places you'll be configuring this\nattributes, you can use [ and ] and they will be transformed into < and >.\nIf you need to insert a literal [ character use &#91;. If you need\nto insert a literal ] character use &#93;.

    \n

    Defaults to: ''

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    dr.markup
    view source
    ( str ) : Stringprivate
    Used to support an alternate syntax for markup since the < and >\ncharacters are restricted in most places you will...

    Used to support an alternate syntax for markup since the < and >\ncharacters are restricted in most places you will want assign the\nmarkup to this view. The alternte syntax uses the [ and ] characters to\nrepresent < and > respectively. If you need to insert a literal [ or ]\ncharacter use &#91; or &#93; respectively.

    \n

    Parameters

    • str : Object

      The string to unescape.

      \n

    Returns

    • String

      The unescaped string.

      \n
    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_markup({"tagname":"class","name":"dr.markup","autodetected":{},"files":[{"filename":"markup.js","href":"markup.html#dr-markup"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"markup","tagname":"attribute","owner":"dr.markup","id":"attribute-markup","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"unescape","tagname":"method","owner":"dr.markup","id":"method-unescape","meta":{"private":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.markup","short_doc":"A view that uses the sizetodom mixin. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    A view that uses the sizetodom mixin. You can also put HTML inside\nthe element and it will show up in the page.

    \n\n

    This example creates a view that contains some HTML text. The view\nwill be sized to fit the text.

    \n\n
    <markup>\n    <b>Here is some text</b> that is really just HTML.\n</markup>\n
    \n\n

    This example creates a view that contains some HTML text. The view\nwill flow the text at a width of 50 pixels and have its height\nautomatically sized to fit the flowed text. If you later want to\nlet the view size its width to the dom just call\nsetAttribute('width', 'auto').

    \n\n
    <markup width=\"50\">\n    <b>Here is some text</b> that is really just HTML.\n</markup>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.markup
    view source
    : String
    Sets the inner HTML of this view. ...

    Sets the inner HTML of this view. Since the < and > characters are\nnot typically supported in the places you'll be configuring this\nattributes, you can use [ and ] and they will be transformed into < and >.\nIf you need to insert a literal [ character use &#91;. If you need\nto insert a literal ] character use &#93;.

    \n

    Defaults to: ''

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    dr.markup
    view source
    ( str ) : Stringprivate
    Used to support an alternate syntax for markup since the < and >\ncharacters are restricted in most places you will...

    Used to support an alternate syntax for markup since the < and >\ncharacters are restricted in most places you will want assign the\nmarkup to this view. The alternte syntax uses the [ and ] characters to\nrepresent < and > respectively. If you need to insert a literal [ or ]\ncharacter use &#91; or &#93; respectively.

    \n

    Parameters

    • str : Object

      The string to unescape.

      \n

    Returns

    • String

      The unescaped string.

      \n
    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.node.js b/docs/api/output/dr.node.js index 253b539..1b6d74b 100644 --- a/docs/api/output/dr.node.js +++ b/docs/api/output/dr.node.js @@ -1 +1 @@ -Ext.data.JsonP.dr_node({"tagname":"class","name":"dr.node","autodetected":{},"files":[{"filename":"Node.js","href":"Node.html#dr-node"}],"extends":"Eventable","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.node","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.node","id":"method-doSubnodeRemoved","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.node","id":"method-getTypeForAttrName","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.node","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"notifyReady","tagname":"method","owner":"dr.node","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.node","short_doc":"The nonvisual base class for everything in dreem. ...","component":false,"superclasses":["Module","Eventable"],"subclasses":["dr.datapath","dr.dataset","dr.expectedoutput","dr.replicator","dr.style","dr.testingtimer","dr.view"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module
    Eventable
    dr.node

    Subclasses

    Files

    The nonvisual base class for everything in dreem. Handles parent/child relationships between tags.

    \n\n

    Nodes can contain methods, handlers, setters, constraints, attributes and other node instances.

    \n\n

    Here we define a data node that contains movie data.

    \n\n
    <node id=\"data\">\n  <node>\n    <attribute name=\"title\" type=\"string\" value=\"Bill and Teds Excellent Adventure\"></attribute>\n    <attribute name=\"type\" type=\"string\" value=\"movie\"></attribute>\n    <attribute name=\"year\" type=\"string\" value=\"1989\"></attribute>\n    <attribute name=\"length\" type=\"number\" value=\"89\"></attribute>\n  </node>\n  <node>\n    <attribute name=\"title\" type=\"string\" value=\"Waynes World\"></attribute>\n    <attribute name=\"type\" type=\"string\" value=\"movie\"></attribute>\n    <attribute name=\"year\" type=\"string\" value=\"1992\"></attribute>\n    <attribute name=\"length\" type=\"number\" value=\"94\"></attribute>\n  </node>\n</node>\n
    \n\n

    Specialized handling required when attributes are set can be defined with '<setter>' tags. The return value of\na '<setter>' will be the value set in the attribute.

    \n\n
    <node id=\"movie\">\n  <attribute name=\"title\" type=\"string\" value=\"\"></attribute>\n\n  <setter name=\"title\" args=\"t\" type=\"coffee\">\n      t = t.replace(/^The\\s+/, '') if t;\n      return t;\n  </setter>\n\n</node>\n
    \n\n

    In some cases you may need the value of an attribute to be set by the setter itself and not by the returned value, for\nthese cases a 'noop' object can be returned, indicating that no special action should be taken to automatically set the attribute.

    \n\n
    <node id=\"asyncMovie\">\n  <attribute name=\"title\" type=\"string\" value=\"\"></attribute>\n\n  <setter name=\"title\" args=\"t\">\n      var slf = this;\n      this.performNetworkOperation(t, function(returnedValue){\n        slf.title = returnedValue;\n      });\n      return noop;\n  </setter>\n\n</node>\n
    \n\n

    This node defines a set of math helper methods. The node provides a tidy container for these related utility functions.

    \n\n
    <node id=\"utils\">\n  <method name=\"add\" args=\"a,b\">\n    return a+b;\n  </method>\n  <method name=\"subtract\" args=\"a,b\">\n    return a-b;\n  </method>\n</node>\n
    \n\n

    You can also create a sub-class of node to contain non visual functionality. Here is an example of an inches to metric conversion class that is instantiated with the inches value and can convert it to either cm or m.

    \n\n
    <class name=\"inchesconverter\" extends=\"node\">\n  <attribute name=\"inchesval\" type=\"number\" value=\"0\"></attribute>\n\n  <method name=\"centimetersval\">\n    return this.inchesval*2.54;\n  </method>\n\n  <method name=\"metersval\">\n    return (this.inchesval*2.54)/100;\n  </method>\n</class>\n\n<inchesconverter id=\"conv\" inchesval=\"2\"></inchesconverter>\n\n<spacedlayout axis=\"y\"></spacedlayout>\n<text text=\"${conv.inchesval + ' inches'}\"></text>\n<text text=\"${conv.centimetersval() + ' cm'}\"></text>\n<text text=\"${conv.metersval() + ' m'}\"></text>\n
    \n\n

    A single node within a tree data structure. A node has zero or one parent\n node and zero or more child nodes. If a node has no parent it is a 'root'\n node. If a node has no child nodes it is a 'leaf' node. Parent nodes and\n parent of parents, etc. are referred to as ancestors. Child nodes and\n children of children, etc. are referred to as descendants.

    \n\n

    Lifecycle management is also provided via the 'initNode', 'doBeforeAdoption',\n 'doAfterAdoption', 'destroy', 'destroyBeforeOrphaning' and 'destroyAfterOrphaning' methods.

    \n
    Defined By

    Attributes

    : String
    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n
    : Arrayprivate

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n
    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : String
    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    : Booleanreadonly
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : String

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    : dr.Node

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    : String
    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    : Array
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    Defined By

    Methods

    ( node )private
    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( )private
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ( dr )private
    ...
    \n

    Parameters

    • dr : Object
    ( dr )private
    ...
    \n

    Parameters

    • dr : Object
    ( node )private
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( node ) : dr.nodechainable
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    ( attrs, mixins )
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after the parent has been unset.\n Subclasses must call callSuper.\n @returns void

    \n
    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after subnodes have been destroyed but before\n the parent has been unset.\n Subclasses should call callSuper.\n @returns void

    \n
    ( placement, subnode )
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a subnode is added to this node. ...

    Called when a subnode is added to this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to add a subnode. Instead call addSubnode or set_parent.\n @param node:Node the subnode that was added.\n @returns void

    \n

    Parameters

    • node : Object
    Called when a subnode is removed from this node. ...

    Called when a subnode is removed from this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to remove a subnode. Instead call removeSubnode or set_parent.\n @param node:Node the subnode that was removed.\n @returns void

    \n

    Parameters

    • node : Object
    ( filterFunc )
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    ( n, matcherFunc )
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    ( n, matcherFunc )
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object
    ( node )
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    ( parent, attrs )
    Called during initialization. ...

    Called during initialization. Sets initial state for life cycle attrs,\n calls setter methods, sets parent and lastly, sets inited to true if\n the root view that contains this node is ready. Sets initing to false.\n Subclasses must callSuper.\n @param parent:Node (or dom element for root views) the parent of\n this Node.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Called by dr.RootNode once the root node is ready. ...

    Called by dr.RootNode once the root node is ready.

    \n
    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    ( matcherFunc )
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    ( matcherFunc )
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    ( v )
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    ( name )
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    ( newParent )
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    ( filterFunc ) : dr.nodechainable
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    ( parent )
    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_node({"tagname":"class","name":"dr.node","autodetected":{},"files":[{"filename":"Node.js","href":"Node.html#dr-node"}],"extends":"Eventable","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.node","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.node","id":"method-doSubnodeRemoved","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.node","id":"method-getTypeForAttrName","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.node","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"notifyReady","tagname":"method","owner":"dr.node","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.node","short_doc":"The nonvisual base class for everything in dreem. ...","component":false,"superclasses":["Module","Eventable"],"subclasses":["dr.datapath","dr.dataset","dr.editor.undostack","dr.expectedoutput","dr.replicator","dr.style","dr.testingtimer","dr.view"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module
    Eventable
    dr.node

    Subclasses

    Files

    The nonvisual base class for everything in dreem. Handles parent/child relationships between tags.

    \n\n

    Nodes can contain methods, handlers, setters, constraints, attributes and other node instances.

    \n\n

    Here we define a data node that contains movie data.

    \n\n
    <node id=\"data\">\n  <node>\n    <attribute name=\"title\" type=\"string\" value=\"Bill and Teds Excellent Adventure\"></attribute>\n    <attribute name=\"type\" type=\"string\" value=\"movie\"></attribute>\n    <attribute name=\"year\" type=\"string\" value=\"1989\"></attribute>\n    <attribute name=\"length\" type=\"number\" value=\"89\"></attribute>\n  </node>\n  <node>\n    <attribute name=\"title\" type=\"string\" value=\"Waynes World\"></attribute>\n    <attribute name=\"type\" type=\"string\" value=\"movie\"></attribute>\n    <attribute name=\"year\" type=\"string\" value=\"1992\"></attribute>\n    <attribute name=\"length\" type=\"number\" value=\"94\"></attribute>\n  </node>\n</node>\n
    \n\n

    Specialized handling required when attributes are set can be defined with '<setter>' tags. The return value of\na '<setter>' will be the value set in the attribute.

    \n\n
    <node id=\"movie\">\n  <attribute name=\"title\" type=\"string\" value=\"\"></attribute>\n\n  <setter name=\"title\" args=\"t\" type=\"coffee\">\n      t = t.replace(/^The\\s+/, '') if t;\n      return t;\n  </setter>\n\n</node>\n
    \n\n

    In some cases you may need the value of an attribute to be set by the setter itself and not by the returned value, for\nthese cases a 'noop' object can be returned, indicating that no special action should be taken to automatically set the attribute.

    \n\n
    <node id=\"asyncMovie\">\n  <attribute name=\"title\" type=\"string\" value=\"\"></attribute>\n\n  <setter name=\"title\" args=\"t\">\n      var slf = this;\n      this.performNetworkOperation(t, function(returnedValue){\n        slf.title = returnedValue;\n      });\n      return noop;\n  </setter>\n\n</node>\n
    \n\n

    This node defines a set of math helper methods. The node provides a tidy container for these related utility functions.

    \n\n
    <node id=\"utils\">\n  <method name=\"add\" args=\"a,b\">\n    return a+b;\n  </method>\n  <method name=\"subtract\" args=\"a,b\">\n    return a-b;\n  </method>\n</node>\n
    \n\n

    You can also create a sub-class of node to contain non visual functionality. Here is an example of an inches to metric conversion class that is instantiated with the inches value and can convert it to either cm or m.

    \n\n
    <class name=\"inchesconverter\" extends=\"node\">\n  <attribute name=\"inchesval\" type=\"number\" value=\"0\"></attribute>\n\n  <method name=\"centimetersval\">\n    return this.inchesval*2.54;\n  </method>\n\n  <method name=\"metersval\">\n    return (this.inchesval*2.54)/100;\n  </method>\n</class>\n\n<inchesconverter id=\"conv\" inchesval=\"2\"></inchesconverter>\n\n<spacedlayout axis=\"y\"></spacedlayout>\n<text text=\"${conv.inchesval + ' inches'}\"></text>\n<text text=\"${conv.centimetersval() + ' cm'}\"></text>\n<text text=\"${conv.metersval() + ' m'}\"></text>\n
    \n\n

    A single node within a tree data structure. A node has zero or one parent\n node and zero or more child nodes. If a node has no parent it is a 'root'\n node. If a node has no child nodes it is a 'leaf' node. Parent nodes and\n parent of parents, etc. are referred to as ancestors. Child nodes and\n children of children, etc. are referred to as descendants.

    \n\n

    Lifecycle management is also provided via the 'initNode', 'doBeforeAdoption',\n 'doAfterAdoption', 'destroy', 'destroyBeforeOrphaning' and 'destroyAfterOrphaning' methods.

    \n
    Defined By

    Attributes

    : String
    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n
    : Arrayprivate

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n
    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : String
    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    : Booleanreadonly
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : String

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    : dr.Node

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    : String
    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    : Array
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    Defined By

    Methods

    ( node )private
    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( )private
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ( dr )private
    ...
    \n

    Parameters

    • dr : Object
    ( dr )private
    ...
    \n

    Parameters

    • dr : Object
    ( node )private
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( node ) : dr.nodechainable
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    ( attrs, mixins )
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after the parent has been unset.\n Subclasses must call callSuper.\n @returns void

    \n
    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after subnodes have been destroyed but before\n the parent has been unset.\n Subclasses should call callSuper.\n @returns void

    \n
    ( placement, subnode )
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a subnode is added to this node. ...

    Called when a subnode is added to this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to add a subnode. Instead call addSubnode or set_parent.\n @param node:Node the subnode that was added.\n @returns void

    \n

    Parameters

    • node : Object
    Called when a subnode is removed from this node. ...

    Called when a subnode is removed from this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to remove a subnode. Instead call removeSubnode or set_parent.\n @param node:Node the subnode that was removed.\n @returns void

    \n

    Parameters

    • node : Object
    ( filterFunc )
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    ( n, matcherFunc )
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    ( n, matcherFunc )
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object
    ( node )
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    ( parent, attrs )
    Called during initialization. ...

    Called during initialization. Sets initial state for life cycle attrs,\n calls setter methods, sets parent and lastly, sets inited to true if\n the root view that contains this node is ready. Sets initing to false.\n Subclasses must callSuper.\n @param parent:Node (or dom element for root views) the parent of\n this Node.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Called by dr.RootNode once the root node is ready. ...

    Called by dr.RootNode once the root node is ready.

    \n
    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    ( matcherFunc )
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    ( matcherFunc )
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    ( v )
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    ( name )
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    ( newParent )
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    ( filterFunc ) : dr.nodechainable
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    ( parent )
    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.rangeslider.js b/docs/api/output/dr.rangeslider.js index 46779e2..3c513e7 100644 --- a/docs/api/output/dr.rangeslider.js +++ b/docs/api/output/dr.rangeslider.js @@ -1 +1 @@ -Ext.data.JsonP.dr_rangeslider({"tagname":"class","name":"dr.rangeslider","autodetected":{},"files":[{"filename":"rangeslider.js","href":"rangeslider.html#dr-rangeslider"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"axis","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-axis","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"highprogresscolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-highprogresscolor","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"invert","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-invert","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"lowprogresscolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-lowprogresscolor","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"maxlowvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-maxlowvalue","meta":{}},{"name":"maxvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-maxvalue","meta":{}},{"name":"minvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-minvalue","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-selectcolor","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"value","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-value","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.rangeslider","short_doc":"An input component whose upper and lower bounds are changed via mouse clicks or drags. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    An input component whose upper and lower bounds are changed via mouse clicks or drags.

    \n\n
    <rangeslider name=\"range\" width=\"300\" height=\"40\" x=\"10\" y=\"30\" lowselectcolor=\"#00CCFF\" highselectcolor=\"#FFCCFF\" outline=\"2px dashed #00CCFF\"\n             lowvalue=\"30\"\n             highvalue=\"70\">\n</rangeslider>\n\n<text name=\"rangeLabel\" color=\"white\" height=\"40\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(this.parent.range.lowvalue * 3) + (((this.parent.range.highvalue * 3) - (this.parent.range.lowvalue * 3)) / 2) - (this.width / 2)}\"\n      text=\"${Math.round(this.parent.range.lowvalue) + ' ~ ' + Math.round(this.parent.range.highvalue)}\"></text>\n
    \n\n

    A range slider highlights the inclusive values by default, however this behavior can be reversed with exclusive=\"true\".\nThe following example demonstrates an exclusive-valued, inverted (range goes from high to low) horizontal slider.

    \n\n
    <rangeslider name=\"range\" width=\"400\" x=\"10\" y=\"30\" lowselectcolor=\"#AACCFF\" highselectcolor=\"#FFAACC\"\"\n             height=\"30\"\n             lowvalue=\"45\"\n             highvalue=\"55\"\n             invert=\"true\"\n             exclusive=\"true\">\n</rangeslider>\n\n<text name=\"highRangeLabel\" color=\"#666\" height=\"20\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(((this.parent.range.maxvalue * 4) - (this.parent.range.highvalue * 4)) / 2) - (this.width / 2)}\"\n      text=\"${this.parent.range.maxvalue + ' ~ ' + Math.round(this.parent.range.highvalue)}\"></text>\n\n<text name=\"lowRangeLabel\" color=\"#666\" height=\"20\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(this.parent.range.width - (this.parent.range.lowvalue * 4)) + (((this.parent.range.lowvalue * 4) - (this.parent.range.minvalue * 4)) / 2) - (this.width / 2)}\"\n      text=\"${Math.round(this.parent.range.lowvalue) + ' ~ ' + this.parent.range.minvalue}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    dr.rangeslider
    view source
    : \"x\"/\"y\"
    The axis to track on ...

    The axis to track on

    \n

    Defaults to: x

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : String
    The color of the high progress bar. ...

    The color of the high progress bar.

    \n

    Defaults to: "#bbbbbb"

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.rangeslider
    view source
    : Boolean
    Set to true to invert the direction of the slider. ...

    Set to true to invert the direction of the slider.

    \n

    Defaults to: false

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.rangeslider
    view source
    : String
    The color of the low progress bar. ...

    The color of the low progress bar.

    \n

    Defaults to: "#999999"

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    dr.rangeslider
    view source
    : Number
    The maximum lower value of the slider ...

    The maximum lower value of the slider

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : Number
    The maximum value of the slider ...

    The maximum value of the slider

    \n

    Defaults to: 100

    dr.rangeslider
    view source
    : Number
    The minimum lower value of the slider ...

    The minimum lower value of the slider

    \n

    Defaults to: 0

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : String
    The selected color of the slider. ...

    The selected color of the slider.

    \n

    Defaults to: "#a0a0a0"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.rangeslider
    view source
    : Number
    The current higher value of the slider. ...

    The current higher value of the slider.

    \n

    Defaults to: 0

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_rangeslider({"tagname":"class","name":"dr.rangeslider","autodetected":{},"files":[{"filename":"rangeslider.js","href":"rangeslider.html#dr-rangeslider"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"axis","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-axis","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"highprogresscolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-highprogresscolor","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"invert","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-invert","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"lowprogresscolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-lowprogresscolor","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"maxlowvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-maxlowvalue","meta":{}},{"name":"maxvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-maxvalue","meta":{}},{"name":"minvalue","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-minvalue","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-selectcolor","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"value","tagname":"attribute","owner":"dr.rangeslider","id":"attribute-value","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.rangeslider","short_doc":"An input component whose upper and lower bounds are changed via mouse clicks or drags. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    An input component whose upper and lower bounds are changed via mouse clicks or drags.

    \n\n
    <rangeslider name=\"range\" width=\"300\" height=\"40\" x=\"10\" y=\"30\" lowselectcolor=\"#00CCFF\" highselectcolor=\"#FFCCFF\" outline=\"2px dashed #00CCFF\"\n             lowvalue=\"30\"\n             highvalue=\"70\">\n</rangeslider>\n\n<text name=\"rangeLabel\" color=\"white\" height=\"40\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(this.parent.range.lowvalue * 3) + (((this.parent.range.highvalue * 3) - (this.parent.range.lowvalue * 3)) / 2) - (this.width / 2)}\"\n      text=\"${Math.round(this.parent.range.lowvalue) + ' ~ ' + Math.round(this.parent.range.highvalue)}\"></text>\n
    \n\n

    A range slider highlights the inclusive values by default, however this behavior can be reversed with exclusive=\"true\".\nThe following example demonstrates an exclusive-valued, inverted (range goes from high to low) horizontal slider.

    \n\n
    <rangeslider name=\"range\" width=\"400\" x=\"10\" y=\"30\" lowselectcolor=\"#AACCFF\" highselectcolor=\"#FFAACC\"\"\n             height=\"30\"\n             lowvalue=\"45\"\n             highvalue=\"55\"\n             invert=\"true\"\n             exclusive=\"true\">\n</rangeslider>\n\n<text name=\"highRangeLabel\" color=\"#666\" height=\"20\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(((this.parent.range.maxvalue * 4) - (this.parent.range.highvalue * 4)) / 2) - (this.width / 2)}\"\n      text=\"${this.parent.range.maxvalue + ' ~ ' + Math.round(this.parent.range.highvalue)}\"></text>\n\n<text name=\"lowRangeLabel\" color=\"#666\" height=\"20\"\n      y=\"${this.parent.range.y + (this.parent.range.height / 2) - (this.height / 2)}\"\n      x=\"${(this.parent.range.width - (this.parent.range.lowvalue * 4)) + (((this.parent.range.lowvalue * 4) - (this.parent.range.minvalue * 4)) / 2) - (this.width / 2)}\"\n      text=\"${Math.round(this.parent.range.lowvalue) + ' ~ ' + this.parent.range.minvalue}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    dr.rangeslider
    view source
    : \"x\"/\"y\"
    The axis to track on ...

    The axis to track on

    \n

    Defaults to: x

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : String
    The color of the high progress bar. ...

    The color of the high progress bar.

    \n

    Defaults to: "#bbbbbb"

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.rangeslider
    view source
    : Boolean
    Set to true to invert the direction of the slider. ...

    Set to true to invert the direction of the slider.

    \n

    Defaults to: false

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.rangeslider
    view source
    : String
    The color of the low progress bar. ...

    The color of the low progress bar.

    \n

    Defaults to: "#999999"

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    dr.rangeslider
    view source
    : Number
    The maximum lower value of the slider ...

    The maximum lower value of the slider

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : Number
    The maximum value of the slider ...

    The maximum value of the slider

    \n

    Defaults to: 100

    dr.rangeslider
    view source
    : Number
    The minimum lower value of the slider ...

    The minimum lower value of the slider

    \n

    Defaults to: 0

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.rangeslider
    view source
    : String
    The selected color of the slider. ...

    The selected color of the slider.

    \n

    Defaults to: "#a0a0a0"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.rangeslider
    view source
    : Number
    The current higher value of the slider. ...

    The current higher value of the slider.

    \n

    Defaults to: 0

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.replicator.js b/docs/api/output/dr.replicator.js index db60337..49a6ecf 100644 --- a/docs/api/output/dr.replicator.js +++ b/docs/api/output/dr.replicator.js @@ -1 +1 @@ -Ext.data.JsonP.dr_replicator({"tagname":"class","name":"dr.replicator","autodetected":{},"files":[{"filename":"replicator.js","href":"replicator.html#dr-replicator"}],"extends":"dr.node","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"async","tagname":"attribute","owner":"dr.replicator","id":"attribute-async","meta":{}},{"name":"classname","tagname":"attribute","owner":"dr.replicator","id":"attribute-classname","meta":{"required":true}},{"name":"data","tagname":"attribute","owner":"dr.replicator","id":"attribute-data","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"path","tagname":"attribute","owner":"dr.replicator","id":"attribute-path","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"pooling","tagname":"attribute","owner":"dr.replicator","id":"attribute-pooling","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.node","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.node","id":"method-doSubnodeRemoved","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.node","id":"method-getTypeForAttrName","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.node","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"notifyReady","tagname":"method","owner":"dr.node","id":"method-notifyReady","meta":{}},{"name":"refresh","tagname":"method","owner":"dr.replicator","id":"method-refresh","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onreplicated","tagname":"event","owner":"dr.replicator","id":"event-onreplicated","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.replicator","short_doc":"Handles replication and data binding. ...","component":false,"superclasses":["Module","Eventable","dr.node"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module
    Eventable
    dr.node
    dr.replicator

    Files

    Handles replication and data binding.

    \n\n

    This example shows the replicator to creating four text instances, each corresponding to an item in the data attribute:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" data=\"[1,2,3,4]\"></replicator>\n
    \n\n

    Changing the data attribute to a new array causes the replicator to create a new text for each item:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<text onclick=\"repl.setAttribute('data', [5,6,7,8]);\">Click to change data:</text>\n<replicator id=\"repl\" classname=\"text\" data=\"[1,2,3,4]\"></replicator>\n
    \n\n

    This example uses a filterexpression to filter the data to only numbers. Clicking changes filterexpression to show only non-numbers in the data:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<text onclick=\"repl.setAttribute('filterexpression', '[^\\\\d]');\">Click to change filter:</text>\n<replicator id=\"repl\" classname=\"text\" data=\"['a',1,'b',2,'c',3,4,5]\" filterexpression=\"\\d\"></replicator>\n
    \n\n

    Replicators can be used to look up datapath expressions to values in JSON data in a dr.dataset. This example looks up the color of the bicycle in the dr.dataset named bikeshop:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": {\n     \"color\": \"red\",\n     \"price\": 19.95\n   }\n }\n</dataset>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle/color\"></replicator>\n
    \n\n

    Matching one or more items will cause the replicator to create multiple copies:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[*]/color\"></replicator>\n
    \n\n

    It's possible to select a single item on from the array using an array index. This selects the second item:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[1]/color\"></replicator>\n
    \n\n

    It's also possible to replicate a range of items in the array with the [start,end,stepsize] operator. This replicates every other item:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[0,3,2]/color\"></replicator>\n
    \n\n

    Sometimes it's necessary to have complete control and flexibility over filtering and transforming results. Adding a [@] operator to the end of your datapath causes filterfunction to be called for each result. This example shows bike colors for bikes with a price greater than 20, in reverse order:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[*][@]\">\n  <method name=\"filterfunction\" args=\"obj, accum\">\n    // add the color to the beginning of the results if the price is greater than 20\n    if (obj.price > 20)\n      accum.unshift(obj.color);\n    return accum\n  </method>\n</replicator>\n
    \n\n

    See https://github.com/flitbit/json-path for more details.

    \n

    Attributes

    Defined By

    Required attributes

    dr.replicator
    view source
    : Stringrequired

    The name of the class to be replicated.

    \n

    The name of the class to be replicated.

    \n
    Defined By

    Optional attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n
    dr.replicator
    view source
    : Boolean
    If true, create views asynchronously ...

    If true, create views asynchronously

    \n

    Defaults to: true

    dr.replicator
    view source
    : Array
    A list of items to replicate. ...

    A list of items to replicate. If path is set, a datapath will be used to look up the value.

    \n

    Defaults to: []

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    dr.replicator
    view source
    : String
    If set, a datapath will be used to look up the value. ...

    If set, a datapath will be used to look up the value.

    \n

    Defaults to:

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.replicator
    view source
    : Boolean
    If true, reuse views when replicating. ...

    If true, reuse views when replicating.

    \n

    Defaults to: false

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after the parent has been unset.\n Subclasses must call callSuper.\n @returns void

    \n
    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after subnodes have been destroyed but before\n the parent has been unset.\n Subclasses should call callSuper.\n @returns void

    \n
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a subnode is added to this node. ...

    Called when a subnode is added to this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to add a subnode. Instead call addSubnode or set_parent.\n @param node:Node the subnode that was added.\n @returns void

    \n

    Parameters

    • node : Object
    Called when a subnode is removed from this node. ...

    Called when a subnode is removed from this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to remove a subnode. Instead call removeSubnode or set_parent.\n @param node:Node the subnode that was removed.\n @returns void

    \n

    Parameters

    • node : Object
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    Called during initialization. ...

    Called during initialization. Sets initial state for life cycle attrs,\n calls setter methods, sets parent and lastly, sets inited to true if\n the root view that contains this node is ready. Sets initing to false.\n Subclasses must callSuper.\n @param parent:Node (or dom element for root views) the parent of\n this Node.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Called by dr.RootNode once the root node is ready. ...

    Called by dr.RootNode once the root node is ready.

    \n
    dr.replicator
    view source
    ( )
    Refreshes the dataset manually ...

    Refreshes the dataset manually

    \n
    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    dr.replicator
    view source
    ( replicator )
    Fired when the replicator is done ...

    Fired when the replicator is done

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_replicator({"tagname":"class","name":"dr.replicator","autodetected":{},"files":[{"filename":"replicator.js","href":"replicator.html#dr-replicator"}],"extends":"dr.node","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"classname","tagname":"attribute","owner":"dr.replicator","id":"attribute-classname","meta":{"required":true}},{"name":"data","tagname":"attribute","owner":"dr.replicator","id":"attribute-data","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"path","tagname":"attribute","owner":"dr.replicator","id":"attribute-path","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"pooling","tagname":"attribute","owner":"dr.replicator","id":"attribute-pooling","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.node","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.node","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.node","id":"method-doSubnodeRemoved","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.node","id":"method-getTypeForAttrName","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.node","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"notifyReady","tagname":"method","owner":"dr.node","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onreplicated","tagname":"event","owner":"dr.replicator","id":"event-onreplicated","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.replicator","short_doc":"Handles replication and data binding. ...","component":false,"superclasses":["Module","Eventable","dr.node"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module
    Eventable
    dr.node
    dr.replicator

    Files

    Handles replication and data binding.

    \n\n

    This example shows the replicator to creating four text instances, each corresponding to an item in the data attribute:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" data=\"[1,2,3,4]\"></replicator>\n
    \n\n

    Changing the data attribute to a new array causes the replicator to create a new text for each item:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<text onclick=\"repl.setAttribute('data', [5,6,7,8]);\">Click to change data:</text>\n<replicator id=\"repl\" classname=\"text\" data=\"[1,2,3,4]\"></replicator>\n
    \n\n

    This example uses a filterexpression to filter the data to only numbers. Clicking changes filterexpression to show only non-numbers in the data:

    \n\n
    <spacedlayout spacing=\"5\"></spacedlayout>\n<text onclick=\"repl.setAttribute('filterexpression', '[^\\\\d]');\">Click to change filter:</text>\n<replicator id=\"repl\" classname=\"text\" data=\"['a',1,'b',2,'c',3,4,5]\" filterexpression=\"\\d\"></replicator>\n
    \n\n

    Replicators can be used to look up datapath expressions to values in JSON data in a dr.dataset. This example looks up the color of the bicycle in the dr.dataset named bikeshop:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": {\n     \"color\": \"red\",\n     \"price\": 19.95\n   }\n }\n</dataset>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle/color\"></replicator>\n
    \n\n

    Matching one or more items will cause the replicator to create multiple copies:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[*]/color\"></replicator>\n
    \n\n

    It's possible to select a single item on from the array using an array index. This selects the second item:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[1]/color\"></replicator>\n
    \n\n

    It's also possible to replicate a range of items in the array with the [start,end,stepsize] operator. This replicates every other item:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[0,3,2]/color\"></replicator>\n
    \n\n

    Sometimes it's necessary to have complete control and flexibility over filtering and transforming results. Adding a [@] operator to the end of your datapath causes filterfunction to be called for each result. This example shows bike colors for bikes with a price greater than 20, in reverse order:

    \n\n
    <dataset name=\"bikeshop\">\n {\n   \"bicycle\": [\n     {\n      \"color\": \"red\",\n      \"price\": 19.95\n     },\n     {\n      \"color\": \"green\",\n      \"price\": 29.95\n     },\n     {\n      \"color\": \"blue\",\n      \"price\": 59.95\n     }\n   ]\n }\n</dataset>\n<spacedlayout spacing=\"5\"></spacedlayout>\n<replicator classname=\"text\" datapath=\"$bikeshop/bicycle[*][@]\">\n  <method name=\"filterfunction\" args=\"obj, accum\">\n    // add the color to the beginning of the results if the price is greater than 20\n    if (obj.price > 20)\n      accum.unshift(obj.color);\n    return accum\n  </method>\n</replicator>\n
    \n\n

    See https://github.com/flitbit/json-path for more details.

    \n

    Attributes

    Defined By

    Required attributes

    dr.replicator
    view source
    : Stringrequired

    The name of the class to be replicated.

    \n

    The name of the class to be replicated.

    \n
    Defined By

    Optional attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n
    dr.replicator
    view source
    : Array
    A list of items to replicate. ...

    A list of items to replicate. If path is set, a datapath will be used to look up the value.

    \n

    Defaults to: []

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    dr.replicator
    view source
    : String
    If set, a datapath will be used to look up the value. ...

    If set, a datapath will be used to look up the value.

    \n

    Defaults to:

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.replicator
    view source
    : Boolean
    If true, reuse views when replicating. ...

    If true, reuse views when replicating.

    \n

    Defaults to: false

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after the parent has been unset.\n Subclasses must call callSuper.\n @returns void

    \n
    Provides a hook for subclasses to do destruction of their internals. ...

    Provides a hook for subclasses to do destruction of their internals.\n This method is called after subnodes have been destroyed but before\n the parent has been unset.\n Subclasses should call callSuper.\n @returns void

    \n
    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a subnode is added to this node. ...

    Called when a subnode is added to this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to add a subnode. Instead call addSubnode or set_parent.\n @param node:Node the subnode that was added.\n @returns void

    \n

    Parameters

    • node : Object
    Called when a subnode is removed from this node. ...

    Called when a subnode is removed from this node. Provides a hook for\n subclasses. No need for subclasses to call callSuper. Do not call this\n method to remove a subnode. Instead call removeSubnode or set_parent.\n @param node:Node the subnode that was removed.\n @returns void

    \n

    Parameters

    • node : Object
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    Called during initialization. ...

    Called during initialization. Sets initial state for life cycle attrs,\n calls setter methods, sets parent and lastly, sets inited to true if\n the root view that contains this node is ready. Sets initing to false.\n Subclasses must callSuper.\n @param parent:Node (or dom element for root views) the parent of\n this Node.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Called by dr.RootNode once the root node is ready. ...

    Called by dr.RootNode once the root node is ready.

    \n
    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    dr.replicator
    view source
    ( replicator )
    Fired when the replicator is done ...

    Fired when the replicator is done

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.resizelayout.js b/docs/api/output/dr.resizelayout.js index 5522227..8f4af50 100644 --- a/docs/api/output/dr.resizelayout.js +++ b/docs/api/output/dr.resizelayout.js @@ -1 +1 @@ -Ext.data.JsonP.dr_resizelayout({"tagname":"class","name":"dr.resizelayout","autodetected":{},"files":[{"filename":"resizelayout.js","href":"resizelayout.html#dr-resizelayout"}],"extends":"dr.spacedlayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-inset","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.resizelayout","short_doc":"An extension of spaced layout that allows one or more \"stretchy\" views\nto fill in any remaining space. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout","dr.spacedlayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    An extension of spaced layout that allows one or more \"stretchy\" views\nto fill in any remaining space.

    \n\n

    A view can be made stretchy by giving it a layouthint with a numerical\nvalue, typically 1. Extra space is divided proportionally between all\nsretchy views based on that views percentage of the sum of the\n\"stretchiness\" of all stretchy views. For example, a view with a\nlayouthint of 2 will get twice as much space as another view with\na layouthint of 1.

    \n\n

    Since resizelayouts rely on the presence of extra space, the\nupdateparent and updateparent attributes are not applicable to a\nresizelayout. Similarly, using auto sizing on the parent view along\nthe same axis as the resizelayout will result in unexpected behavior\nand should therefore be avoided.

    \n\n
    <resizelayout spacing=\"2\" inset=\"5\" outset=\"5\">\n</resizelayout>\n\n<view height=\"25\" bgcolor=\"lightpink\"></view>\n<view height=\"35\" bgcolor=\"plum\" layouthint='{\"weight\":1}'></view>\n<view height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally and a value of 'y'\nwill orient them vertically. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.\nattribute.

    \n

    Defaults to: 0

    Space after the last view. ...

    Space after the last view. Only used when updateparent is true.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_resizelayout({"tagname":"class","name":"dr.resizelayout","autodetected":{},"files":[{"filename":"resizelayout.js","href":"resizelayout.html#dr-resizelayout"}],"extends":"dr.spacedlayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-inset","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.resizelayout","short_doc":"An extension of spaced layout that allows one or more \"stretchy\" views\nto fill in any remaining space. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout","dr.spacedlayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    An extension of spaced layout that allows one or more \"stretchy\" views\nto fill in any remaining space.

    \n\n

    A view can be made stretchy by giving it a layouthint with a numerical\nvalue, typically 1. Extra space is divided proportionally between all\nsretchy views based on that views percentage of the sum of the\n\"stretchiness\" of all stretchy views. For example, a view with a\nlayouthint of 2 will get twice as much space as another view with\na layouthint of 1.

    \n\n

    Since resizelayouts rely on the presence of extra space, the\nupdateparent and updateparent attributes are not applicable to a\nresizelayout. Similarly, using auto sizing on the parent view along\nthe same axis as the resizelayout will result in unexpected behavior\nand should therefore be avoided.

    \n\n
    <resizelayout spacing=\"2\" inset=\"5\" outset=\"5\">\n</resizelayout>\n\n<view height=\"25\" bgcolor=\"lightpink\"></view>\n<view height=\"35\" bgcolor=\"plum\" layouthint='{\"weight\":1}'></view>\n<view height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally and a value of 'y'\nwill orient them vertically. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.\nattribute.

    \n

    Defaults to: 0

    Space after the last view. ...

    Space after the last view. Only used when updateparent is true.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value, count ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n
    • count : Number

      The number of views that were layed out.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.slider.js b/docs/api/output/dr.slider.js index 593d70e..201c8cf 100644 --- a/docs/api/output/dr.slider.js +++ b/docs/api/output/dr.slider.js @@ -1 +1 @@ -Ext.data.JsonP.dr_slider({"tagname":"class","name":"dr.slider","autodetected":{},"files":[{"filename":"slider.js","href":"slider.html#dr-slider"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"axis","tagname":"attribute","owner":"dr.slider","id":"attribute-axis","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"invert","tagname":"attribute","owner":"dr.slider","id":"attribute-invert","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"maxvalue","tagname":"attribute","owner":"dr.slider","id":"attribute-maxvalue","meta":{}},{"name":"minvalue","tagname":"attribute","owner":"dr.slider","id":"attribute-minvalue","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"progresscolor","tagname":"attribute","owner":"dr.slider","id":"attribute-progresscolor","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.slider","id":"attribute-selectcolor","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"value","tagname":"attribute","owner":"dr.slider","id":"attribute-value","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.slider","short_doc":"An input component whose state is changed when the mouse is dragged. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    An input component whose state is changed when the mouse is dragged.

    \n\n
    <slider name=\"hslide\" y=\"5\" width=\"250\" height=\"10\" value=\"50\" bgcolor=\"#808080\"></slider>\n
    \n\n

    Slider with a label:

    \n\n
    <spacedlayout spacing=\"8\"></spacedlayout>\n<slider name=\"hslide\" y=\"5\" width=\"250\" height=\"10\" value=\"50\" bgcolor=\"#808080\"></slider>\n<text text=\"${Math.round(this.parent.hslide.value)}\" y=\"${this.parent.hslide.y + (this.parent.hslide.height-this.height)/2}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    dr.slider
    view source
    : \"x\"/\"y\"
    The axis to track on ...

    The axis to track on

    \n

    Defaults to: x

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.slider
    view source
    : Boolean
    Set to true to invert the direction of the slider. ...

    Set to true to invert the direction of the slider.

    \n

    Defaults to: false

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    dr.slider
    view source
    : Number
    The maximum value of the slider ...

    The maximum value of the slider

    \n

    Defaults to: 100

    dr.slider
    view source
    : Number
    The minimum value of the slider ...

    The minimum value of the slider

    \n

    Defaults to: 0

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.slider
    view source
    : String
    The color of the progress bar. ...

    The color of the progress bar.

    \n

    Defaults to: "#999999"

    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.slider
    view source
    : String
    The selected color of the slider. ...

    The selected color of the slider.

    \n

    Defaults to: "#cccccc"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.slider
    view source
    : Number
    The current value of the slider. ...

    The current value of the slider.

    \n

    Defaults to: 0

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_slider({"tagname":"class","name":"dr.slider","autodetected":{},"files":[{"filename":"slider.js","href":"slider.html#dr-slider"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"axis","tagname":"attribute","owner":"dr.slider","id":"attribute-axis","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"invert","tagname":"attribute","owner":"dr.slider","id":"attribute-invert","meta":{}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"maxvalue","tagname":"attribute","owner":"dr.slider","id":"attribute-maxvalue","meta":{}},{"name":"minvalue","tagname":"attribute","owner":"dr.slider","id":"attribute-minvalue","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"progresscolor","tagname":"attribute","owner":"dr.slider","id":"attribute-progresscolor","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.slider","id":"attribute-selectcolor","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"value","tagname":"attribute","owner":"dr.slider","id":"attribute-value","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.slider","short_doc":"An input component whose state is changed when the mouse is dragged. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    An input component whose state is changed when the mouse is dragged.

    \n\n
    <slider name=\"hslide\" y=\"5\" width=\"250\" height=\"10\" value=\"50\" bgcolor=\"#808080\"></slider>\n
    \n\n

    Slider with a label:

    \n\n
    <spacedlayout spacing=\"8\"></spacedlayout>\n<slider name=\"hslide\" y=\"5\" width=\"250\" height=\"10\" value=\"50\" bgcolor=\"#808080\"></slider>\n<text text=\"${Math.round(this.parent.hslide.value)}\" y=\"${this.parent.hslide.y + (this.parent.hslide.height-this.height)/2}\"></text>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    dr.slider
    view source
    : \"x\"/\"y\"
    The axis to track on ...

    The axis to track on

    \n

    Defaults to: x

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    dr.slider
    view source
    : Boolean
    Set to true to invert the direction of the slider. ...

    Set to true to invert the direction of the slider.

    \n

    Defaults to: false

    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    dr.slider
    view source
    : Number
    The maximum value of the slider ...

    The maximum value of the slider

    \n

    Defaults to: 100

    dr.slider
    view source
    : Number
    The minimum value of the slider ...

    The minimum value of the slider

    \n

    Defaults to: 0

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.slider
    view source
    : String
    The color of the progress bar. ...

    The color of the progress bar.

    \n

    Defaults to: "#999999"

    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.slider
    view source
    : String
    The selected color of the slider. ...

    The selected color of the slider.

    \n

    Defaults to: "#cccccc"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.slider
    view source
    : Number
    The current value of the slider. ...

    The current value of the slider.

    \n

    Defaults to: 0

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.spacedlayout.js b/docs/api/output/dr.spacedlayout.js index 221e4eb..83f0295 100644 --- a/docs/api/output/dr.spacedlayout.js +++ b/docs/api/output/dr.spacedlayout.js @@ -1 +1 @@ -Ext.data.JsonP.dr_spacedlayout({"tagname":"class","name":"dr.spacedlayout","autodetected":{},"files":[{"filename":"spacedlayout.js","href":"spacedlayout.html#dr-spacedlayout"}],"extends":"dr.variablelayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-inset","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.spacedlayout","short_doc":"An extension of variableLayout that positions views horizontally or\nvertically using an initial inset and spacing bet...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":["dr.resizelayout"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Subclasses

    Files

    An extension of variableLayout that positions views horizontally or\nvertically using an initial inset and spacing between each view. If\nupdateparent is true an outset is also used to leave space after\nthe last subview.

    \n\n

    Each view managed by a spaced layout supports two layout hints.\n spacingbefore {Number} Indicates custom spacing to use before the\n view. This value overrides spacing for the view it is defined\n on. If spacingafter was used on the previous view this will\n override that. Ignored for the first view layed out.\n spacingafter {Number} Indicates custom spacing to use after the\n view. This value overrides spacing for the view it is defined\n on. Ignord on the last view layed out.

    \n\n

    This spacedlayout will position the first view at a y of 5 and each\nsubsequent view will be 2 pixels below the bottom of the preceding one.\nSince updateparent is true and an outset is defined the parent view\nwill be sized to 5 pixels more than the bottom of the last view. A\nlayout hint has been used on the fourth view so that it will have\n10 pixels of space before it and 5 pixels of space after it instead\nof the spacing of 2 defined on the layout.

    \n\n
    <spacedlayout axis=\"y\" spacing=\"2\" inset=\"5\" outset=\"5\" updateparent=\"true\">\n</spacedlayout>\n\n<view width=\"100\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"100\" height=\"35\" bgcolor=\"plum\"></view>\n<view width=\"100\" height=\"15\" bgcolor=\"lightblue\"></view>\n<view width=\"100\" height=\"35\" bgcolor=\"plum\" layouthint='{\"spacingbefore\":10, \"spacingafter\":5}'></view>\n<view width=\"100\" height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    dr.spacedlayout
    view source
    : Objectprivate

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    dr.spacedlayout
    view source
    : String
    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally and a value of 'y'\nwill orient them vertically. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    dr.spacedlayout
    view source
    : Number
    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.\nattribute.

    \n

    Defaults to: 0

    dr.spacedlayout
    view source
    : Number
    Space after the last view. ...

    Space after the last view. Only used when updateparent is true.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.spacedlayout
    view source
    : Number
    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_spacedlayout({"tagname":"class","name":"dr.spacedlayout","autodetected":{},"files":[{"filename":"spacedlayout.js","href":"spacedlayout.html#dr-spacedlayout"}],"extends":"dr.variablelayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-inset","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.spacedlayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.spacedlayout","short_doc":"An extension of variableLayout that positions views horizontally or\nvertically using an initial inset and spacing bet...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":["dr.resizelayout"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Subclasses

    Files

    An extension of variableLayout that positions views horizontally or\nvertically using an initial inset and spacing between each view. If\nupdateparent is true an outset is also used to leave space after\nthe last subview.

    \n\n

    Each view managed by a spaced layout supports two layout hints.\n spacingbefore {Number} Indicates custom spacing to use before the\n view. This value overrides spacing for the view it is defined\n on. If spacingafter was used on the previous view this will\n override that. Ignored for the first view layed out.\n spacingafter {Number} Indicates custom spacing to use after the\n view. This value overrides spacing for the view it is defined\n on. Ignord on the last view layed out.

    \n\n

    This spacedlayout will position the first view at a y of 5 and each\nsubsequent view will be 2 pixels below the bottom of the preceding one.\nSince updateparent is true and an outset is defined the parent view\nwill be sized to 5 pixels more than the bottom of the last view. A\nlayout hint has been used on the fourth view so that it will have\n10 pixels of space before it and 5 pixels of space after it instead\nof the spacing of 2 defined on the layout.

    \n\n
    <spacedlayout axis=\"y\" spacing=\"2\" inset=\"5\" outset=\"5\" updateparent=\"true\">\n</spacedlayout>\n\n<view width=\"100\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"100\" height=\"35\" bgcolor=\"plum\"></view>\n<view width=\"100\" height=\"15\" bgcolor=\"lightblue\"></view>\n<view width=\"100\" height=\"35\" bgcolor=\"plum\" layouthint='{\"spacingbefore\":10, \"spacingafter\":5}'></view>\n<view width=\"100\" height=\"15\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    dr.spacedlayout
    view source
    : Objectprivate

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    dr.spacedlayout
    view source
    : String
    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally and a value of 'y'\nwill orient them vertically. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    dr.spacedlayout
    view source
    : Number
    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.\nattribute.

    \n

    Defaults to: 0

    dr.spacedlayout
    view source
    : Number
    Space after the last view. ...

    Space after the last view. Only used when updateparent is true.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.spacedlayout
    view source
    : Number
    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value, count ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n
    • count : Number

      The number of views that were layed out.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.text.js b/docs/api/output/dr.text.js index 40c98e4..fd1d1e5 100644 --- a/docs/api/output/dr.text.js +++ b/docs/api/output/dr.text.js @@ -1 +1 @@ -Ext.data.JsonP.dr_text({"tagname":"class","name":"dr.text","autodetected":{},"files":[{"filename":"text.js","href":"text3.html#dr-text"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"bold","tagname":"attribute","owner":"dr.text","id":"attribute-bold","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"ellipsis","tagname":"attribute","owner":"dr.text","id":"attribute-ellipsis","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"fontfamily","tagname":"attribute","owner":"dr.text","id":"attribute-fontfamily","meta":{}},{"name":"fontsize","tagname":"attribute","owner":"dr.text","id":"attribute-fontsize","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"italic","tagname":"attribute","owner":"dr.text","id":"attribute-italic","meta":{}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"multiline","tagname":"attribute","owner":"dr.text","id":"attribute-multiline","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"smallcaps","tagname":"attribute","owner":"dr.text","id":"attribute-smallcaps","meta":{}},{"name":"strike","tagname":"attribute","owner":"dr.text","id":"attribute-strike","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.text","id":"attribute-text","meta":{}},{"name":"underline","tagname":"attribute","owner":"dr.text","id":"attribute-underline","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"format","tagname":"method","owner":"dr.text","id":"method-format","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.text","short_doc":"Text component that supports single and multi-line text. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Files

    Text component that supports single and multi-line text.

    \n\n

    The text component can be fixed size, or sized to fit the size of the text.

    \n\n
    <text text=\"Hello World!\" bgcolor=\"red\"></text>\n
    \n\n

    Here is a multiline text

    \n\n
    <text multiline=\"true\" text=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit\"></text>\n
    \n\n

    You might want to set the value of a text element based on the value of other attributes via a constraint. Here we set the value by concatenating three attributes together.

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <text text=\"${this.parent.firstname + ' ' + this.parent.middlename + ' ' + this.parent.lastname}\" color=\"hotpink\"></text>\n
    \n\n

    Constraints can contain more complex JavaScript code

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <text text=\"${this.parent.firstname.charAt(0) + ' ' + this.parent.middlename.charAt(0) + ' ' + this.parent.lastname.charAt(0)}\" color=\"hotpink\"></text>\n
    \n\n

    We can simplify this by using a method to return the concatenation and constraining the text value to the return value of the method

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <method name=\"initials\">\n   return this.firstname.charAt(0) + ' ' + this.middlename.charAt(0) + ' ' + this.lastname.charAt(0);\n </method>\n\n <text text=\"${this.parent.initials()}\" color=\"hotpink\"></text>\n
    \n\n

    You can override the format method to provide custom formatting for text elements. Here is a subclass of text, timetext, with the format method overridden to convert the text given in seconds into a formatted string.

    \n\n
    <class name=\"timetext\" extends=\"text\">\n   <method name=\"format\" args=\"seconds\">\n     var minutes = Math.floor(seconds / 60);\n     var seconds = Math.floor(seconds) - minutes * 60;\n     if (seconds < 10) {\n       seconds = '0' + seconds;\n     }\n     return minutes + ':' + seconds;\n   </method>\n </class>\n\n <timetext text=\"240\"></timetext>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n
    : Boolean
    Use bold text. ...

    Use bold text.

    \n

    Defaults to: false

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : Boolean
    Determines if ellipsis shouls be shown or not. ...

    Determines if ellipsis shouls be shown or not. Only works when\nmultiline is false.

    \n

    Defaults to: false

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    : Number
    The name of the font family to use, e.g. ...

    The name of the font family to use, e.g. \"Helvetica\" Include multiple fonts on a line, separated by commas.

    \n

    Defaults to: ""

    : Number

    The size of the font in pixels.

    \n

    The size of the font in pixels.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    : Boolean
    Use italic text. ...

    Use italic text.

    \n

    Defaults to: false

    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    : Boolean
    Determines how line breaks within the text are handled. ...

    Determines how line breaks within the text are handled.

    \n

    Defaults to: false

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    : Boolean
    Use small caps style. ...

    Use small caps style.

    \n

    Defaults to: false

    : Boolean
    Draw and strike-through the text (note, is incompatible with dr.text.underline) ...

    Draw and strike-through the text (note, is incompatible with dr.text.underline)

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    : String
    The contents of this input text field ...

    The contents of this input text field

    \n

    Defaults to: ""

    : Boolean
    Draw and underline under text (note, is incompatible with dr.text.strike) ...

    Draw and underline under text (note, is incompatible with dr.text.strike)

    \n

    Defaults to: false

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    ( str ) : String
    Format the text to be displayed. ...

    Format the text to be displayed. The default behavior is to\nreturn the text intact. Override to change formatting. This method\nis called whenever the text attribute is set.

    \n

    Parameters

    • str : String

      The current value of the text component.

      \n

    Returns

    • String

      The formated string to display in the component.

      \n
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_text({"tagname":"class","name":"dr.text","autodetected":{},"files":[{"filename":"text.js","href":"text3.html#dr-text"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"bold","tagname":"attribute","owner":"dr.text","id":"attribute-bold","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"ellipsis","tagname":"attribute","owner":"dr.text","id":"attribute-ellipsis","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"fontfamily","tagname":"attribute","owner":"dr.text","id":"attribute-fontfamily","meta":{}},{"name":"fontsize","tagname":"attribute","owner":"dr.text","id":"attribute-fontsize","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"italic","tagname":"attribute","owner":"dr.text","id":"attribute-italic","meta":{}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"multiline","tagname":"attribute","owner":"dr.text","id":"attribute-multiline","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"smallcaps","tagname":"attribute","owner":"dr.text","id":"attribute-smallcaps","meta":{}},{"name":"strike","tagname":"attribute","owner":"dr.text","id":"attribute-strike","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.text","id":"attribute-text","meta":{}},{"name":"textalign","tagname":"attribute","owner":"dr.text","id":"attribute-textalign","meta":{}},{"name":"underline","tagname":"attribute","owner":"dr.text","id":"attribute-underline","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"format","tagname":"method","owner":"dr.text","id":"method-format","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.text","short_doc":"Text component that supports single and multi-line text. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":["dr.textlistboxitem"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Subclasses

    Files

    Text component that supports single and multi-line text.

    \n\n

    The text component can be fixed size, or sized to fit the size of the text.

    \n\n
    <text text=\"Hello World!\" bgcolor=\"red\"></text>\n
    \n\n

    Here is a multiline text

    \n\n
    <text multiline=\"true\" text=\"Lorem ipsum dolor sit amet, consectetur adipiscing elit\"></text>\n
    \n\n

    You might want to set the value of a text element based on the value of other attributes via a constraint. Here we set the value by concatenating three attributes together.

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <text text=\"${this.parent.firstname + ' ' + this.parent.middlename + ' ' + this.parent.lastname}\" color=\"hotpink\"></text>\n
    \n\n

    Constraints can contain more complex JavaScript code

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <text text=\"${this.parent.firstname.charAt(0) + ' ' + this.parent.middlename.charAt(0) + ' ' + this.parent.lastname.charAt(0)}\" color=\"hotpink\"></text>\n
    \n\n

    We can simplify this by using a method to return the concatenation and constraining the text value to the return value of the method

    \n\n
    <attribute name=\"firstname\" type=\"string\" value=\"Lumpy\"></attribute>\n <attribute name=\"middlename\" type=\"string\" value=\"Space\"></attribute>\n <attribute name=\"lastname\" type=\"string\" value=\"Princess\"></attribute>\n\n <method name=\"initials\">\n   return this.firstname.charAt(0) + ' ' + this.middlename.charAt(0) + ' ' + this.lastname.charAt(0);\n </method>\n\n <text text=\"${this.parent.initials()}\" color=\"hotpink\"></text>\n
    \n\n

    You can override the format method to provide custom formatting for text elements. Here is a subclass of text, timetext, with the format method overridden to convert the text given in seconds into a formatted string.

    \n\n
    <class name=\"timetext\" extends=\"text\">\n   <method name=\"format\" args=\"seconds\">\n     var minutes = Math.floor(seconds / 60);\n     var seconds = Math.floor(seconds) - minutes * 60;\n     if (seconds < 10) {\n       seconds = '0' + seconds;\n     }\n     return minutes + ':' + seconds;\n   </method>\n </class>\n\n <timetext text=\"240\"></timetext>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n
    : Boolean
    Use bold text. ...

    Use bold text.

    \n

    Defaults to: false

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : Boolean
    Determines if ellipsis shouls be shown or not. ...

    Determines if ellipsis shouls be shown or not. Only works when\nmultiline is false.

    \n

    Defaults to: false

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    : Number
    The name of the font family to use, e.g. ...

    The name of the font family to use, e.g. \"Helvetica\" Include multiple fonts on a line, separated by commas.

    \n

    Defaults to: ""

    : Number

    The size of the font in pixels.

    \n

    The size of the font in pixels.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    : Boolean
    Use italic text. ...

    Use italic text.

    \n

    Defaults to: false

    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    : Boolean
    Determines how line breaks within the text are handled. ...

    Determines how line breaks within the text are handled.

    \n

    Defaults to: false

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    : Boolean
    Use small caps style. ...

    Use small caps style.

    \n

    Defaults to: false

    : Boolean
    Draw and strike-through the text (note, is incompatible with dr.text.underline) ...

    Draw and strike-through the text (note, is incompatible with dr.text.underline)

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    : String
    The contents of this input text field ...

    The contents of this input text field

    \n

    Defaults to: ""

    : Number
    Align text within its bounds. ...

    Align text within its bounds. Supported values are\n'left', 'right', 'center' and 'inherit'.

    \n

    Defaults to: ""

    : Boolean
    Draw and underline under text (note, is incompatible with dr.text.strike) ...

    Draw and underline under text (note, is incompatible with dr.text.strike)

    \n

    Defaults to: false

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    ( str ) : String
    Format the text to be displayed. ...

    Format the text to be displayed. The default behavior is to\nreturn the text intact. Override to change formatting. This method\nis called whenever the text attribute is set.

    \n

    Parameters

    • str : String

      The current value of the text component.

      \n

    Returns

    • String

      The formated string to display in the component.

      \n
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.textlistbox.js b/docs/api/output/dr.textlistbox.js new file mode 100644 index 0000000..d332ea5 --- /dev/null +++ b/docs/api/output/dr.textlistbox.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_textlistbox({"tagname":"class","name":"dr.textlistbox","autodetected":{},"files":[{"filename":"listboxtext.js","href":"listboxtext.html#dr-textlistbox"}],"extends":"dr.view","members":[{"name":"","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-","meta":{}},{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"maxheight","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-maxheight","meta":{}},{"name":"maxwidth","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-maxwidth","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"safewidth","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-safewidth","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"selectcolor","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-selectcolor","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.textlistbox","id":"attribute-spacing","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"","tagname":"method","owner":"dr.textlistbox","id":"method-","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"findSize","tagname":"method","owner":"dr.textlistbox","id":"method-findSize","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.textlistbox","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    Displays a list of items, typically text.

    \n
    Defined By

    Attributes

    dr.textlistbox
    view source
    : Object

    The currently selected dr.listboxtextitem object.

    \n

    The currently selected dr.listboxtextitem object.

    \n
    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    dr.textlistbox
    view source
    : Number
    The largest height of any subview. ...

    The largest height of any subview.

    \n

    Defaults to: 0

    dr.textlistbox
    view source
    : Number
    The largest width of any subview. ...

    The largest width of any subview.

    \n

    Defaults to: 0

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    dr.textlistbox
    view source
    : Number
    The largest width of any subview, including a scrollbar ...

    The largest width of any subview, including a scrollbar

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.textlistbox
    view source
    : String
    The color of the selected element. ...

    The color of the selected element.

    \n

    Defaults to: "white"

    dr.textlistbox
    view source
    : Number
    The vertical spacing between elements. ...

    The vertical spacing between elements.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    dr.textlistbox
    view source
    ( item )
    Select an item, by name. ...

    Select an item, by name. The value is ignored if missing.

    \n

    Parameters

    • item : String

      to select.

      \n
    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    dr.textlistbox
    view source
    ( )
    Find and return the maximum [width, height] of any text field. ...

    Find and return the maximum [width, height] of any text field.

    \n
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.textlistboxitem.js b/docs/api/output/dr.textlistboxitem.js new file mode 100644 index 0000000..8e0c249 --- /dev/null +++ b/docs/api/output/dr.textlistboxitem.js @@ -0,0 +1 @@ +Ext.data.JsonP.dr_textlistboxitem({"tagname":"class","name":"dr.textlistboxitem","autodetected":{},"files":[{"filename":"listboxtextitem.js","href":"listboxtextitem.html#dr-textlistboxitem"}],"extends":"dr.text","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"bold","tagname":"attribute","owner":"dr.text","id":"attribute-bold","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"ellipsis","tagname":"attribute","owner":"dr.text","id":"attribute-ellipsis","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"fontfamily","tagname":"attribute","owner":"dr.text","id":"attribute-fontfamily","meta":{}},{"name":"fontsize","tagname":"attribute","owner":"dr.text","id":"attribute-fontsize","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"italic","tagname":"attribute","owner":"dr.text","id":"attribute-italic","meta":{}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"multiline","tagname":"attribute","owner":"dr.text","id":"attribute-multiline","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"smallcaps","tagname":"attribute","owner":"dr.text","id":"attribute-smallcaps","meta":{}},{"name":"strike","tagname":"attribute","owner":"dr.text","id":"attribute-strike","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"text","tagname":"attribute","owner":"dr.text","id":"attribute-text","meta":{}},{"name":"textalign","tagname":"attribute","owner":"dr.text","id":"attribute-textalign","meta":{}},{"name":"underline","tagname":"attribute","owner":"dr.text","id":"attribute-underline","meta":{}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"format","tagname":"method","owner":"dr.text","id":"method-format","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.textlistboxitem","short_doc":"A textlistboxitem is an element in the dr.textlistbox component. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view","dr.text"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    A textlistboxitem is an element in the dr.textlistbox component.\nMost events are forwarded to its parent component.

    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n
    Use bold text. ...

    Use bold text.

    \n

    Defaults to: false

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Determines if ellipsis shouls be shown or not. ...

    Determines if ellipsis shouls be shown or not. Only works when\nmultiline is false.

    \n

    Defaults to: false

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    The name of the font family to use, e.g. ...

    The name of the font family to use, e.g. \"Helvetica\" Include multiple fonts on a line, separated by commas.

    \n

    Defaults to: ""

    The size of the font in pixels.

    \n

    The size of the font in pixels.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Use italic text. ...

    Use italic text.

    \n

    Defaults to: false

    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n
    Determines how line breaks within the text are handled. ...

    Determines how line breaks within the text are handled.

    \n

    Defaults to: false

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    Use small caps style. ...

    Use small caps style.

    \n

    Defaults to: false

    Draw and strike-through the text (note, is incompatible with dr.text.underline) ...

    Draw and strike-through the text (note, is incompatible with dr.text.underline)

    \n

    Defaults to: false

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    The contents of this input text field ...

    The contents of this input text field

    \n

    Defaults to: ""

    Align text within its bounds. ...

    Align text within its bounds. Supported values are\n'left', 'right', 'center' and 'inherit'.

    \n

    Defaults to: ""

    Draw and underline under text (note, is incompatible with dr.text.strike) ...

    Draw and underline under text (note, is incompatible with dr.text.strike)

    \n

    Defaults to: false

    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    ( str ) : String
    Format the text to be displayed. ...

    Format the text to be displayed. The default behavior is to\nreturn the text intact. Override to change formatting. This method\nis called whenever the text attribute is set.

    \n

    Parameters

    • str : String

      The current value of the text component.

      \n

    Returns

    • String

      The formated string to display in the component.

      \n
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.variablelayout.js b/docs/api/output/dr.variablelayout.js index 885d11b..dcb6c75 100644 --- a/docs/api/output/dr.variablelayout.js +++ b/docs/api/output/dr.variablelayout.js @@ -1 +1 @@ -Ext.data.JsonP.dr_variablelayout({"tagname":"class","name":"dr.variablelayout","autodetected":{},"files":[{"filename":"variablelayout.js","href":"variablelayout.html#dr-variablelayout"}],"extends":"dr.constantlayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-attribute","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.variablelayout","short_doc":"This layout extends constantlayout adding the capability to control\nwhat value is set on each managed view. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout"],"subclasses":["dr.alignlayout","dr.spacedlayout","dr.wrappinglayout"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.baselayout

    Subclasses

    Files

    This layout extends constantlayout adding the capability to control\nwhat value is set on each managed view. The to set on each vies is\ncontrolled by implementing the updateSubview method of this layout.

    \n\n

    The updateSubview method has four arguments: 'count', 'view',\n'attribute' and 'value'.\n Count: The 1 based index of the view being updated, i.e. the\n first view updated will have a count of 1, the second, a count\n of 2, etc.\n View: The view being updated. Your updateSubview method will\n most likely modify this view in some way.\n Attribute: The name of the attribute this layout is supposedly\n updating. This will be set to the value of\n the 'attribute' attribute of the variablelayout. You can use\n this value if you wish or ignore it if you want to.\n Value: The suggested value to set on the view. You can use it as\n is or ignore it if you want. The value provided for the first\n view will be the value of the 'value' attribute of the\n variablelayout. Subsequent values will be the return value of\n the updateSubview method for the previous view. This allows\n you to feed values forward as each view is updated.

    \n\n

    This variable layout will position the first view at a y value of 10\nand each subsequent view will be positioned with a y value 1 pixel\nbelow the bottom of the previous view. In addition, all views with\nan even count will be positioned at an x of 5 and odd views at an\nx of 10. Also, updateparent has been set to true so the\nupdateParent method will be called with the attribute and last value\nreturned from updateSubview. In this case updateParent will resize\nthe parent view to a height that fits all the subviews plus an\nadditional 10 pixels.

    \n\n
    <variablelayout attribute=\"y\" value=\"10\" updateparent=\"true\">\n    <method name=\"updateSubview\" args=\"count, view, attribute, value\">\n        view.setAttribute(attribute, value);\n        view.setAttribute('x', count % 2 === 0 ? 5 : 10);\n        return value + view.height + 1;\n    </method>\n    <method name=\"updateParent\" args=\"attribute, value\">\n        this.parent.setAttribute('height', value + 10);\n    </method>\n</variablelayout>\n\n<view width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"plum\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"lightblue\"></view>\n
    \n\n

    This variable layout works similar to the one above except it will\nskip any view that has an opacity less that 0.5. To accomplish this\nthe skipSubview method has been implemented. Also, the\nstartMonitoringSubview and stopMonitoringSubview methods have been\nimplemented so that if the opacity of a view changes the layout will\nbe updated.

    \n\n
    <variablelayout attribute=\"y\" value=\"10\" updateparent=\"true\">\n    <method name=\"updateSubview\" args=\"count, view, attribute, value\">\n        view.setAttribute(attribute, value);\n        view.setAttribute('x', count % 2 === 0 ? 5 : 10);\n        return value + view.height + 1;\n    </method>\n    <method name=\"updateParent\" args=\"attribute, value\">\n        this.parent.setAttribute('height', value + 10);\n    </method>\n    <method name=\"startMonitoringSubview\" args=\"view\">\n        this.super();\n        this.listenTo(view, 'opacity', this.update)\n    </method>\n    <method name=\"stopMonitoringSubview\" args=\"view\">\n        this.super();\n        this.stopListening(view, 'opacity', this.update)\n    </method>\n    <method name=\"skipSubview\" args=\"view\">\n        if (0.5 >= view.opacity) return true;\n        return this.super();\n    </method>\n</variablelayout>\n\n<view width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"plum\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"black\" opacity=\"0.25\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    The name of the attribute to update on each subview. ...

    The name of the attribute to update on each subview.

    \n

    Defaults to: x

    dr.variablelayout
    view source
    : boolean
    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.variablelayout
    view source
    : boolean
    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    dr.variablelayout
    view source
    ( value ) : void
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    dr.variablelayout
    view source
    ( ) : void
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    dr.variablelayout
    view source
    ( view ) : Boolean
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    dr.variablelayout
    view source
    ( view )
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    dr.variablelayout
    view source
    ( view )
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    dr.variablelayout
    view source
    ( attribute, value ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n

    Returns

    • void
      \n
    dr.variablelayout
    view source
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_variablelayout({"tagname":"class","name":"dr.variablelayout","autodetected":{},"files":[{"filename":"variablelayout.js","href":"variablelayout.html#dr-variablelayout"}],"extends":"dr.constantlayout","members":[{"name":"attribute","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-attribute","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.variablelayout","short_doc":"This layout extends constantlayout adding the capability to control\nwhat value is set on each managed view. ...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout"],"subclasses":["dr.alignlayout","dr.spacedlayout","dr.wrappinglayout"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.baselayout

    Subclasses

    Files

    This layout extends constantlayout adding the capability to control\nwhat value is set on each managed view. The to set on each vies is\ncontrolled by implementing the updateSubview method of this layout.

    \n\n

    The updateSubview method has four arguments: 'count', 'view',\n'attribute' and 'value'.\n Count: The 1 based index of the view being updated, i.e. the\n first view updated will have a count of 1, the second, a count\n of 2, etc.\n View: The view being updated. Your updateSubview method will\n most likely modify this view in some way.\n Attribute: The name of the attribute this layout is supposedly\n updating. This will be set to the value of\n the 'attribute' attribute of the variablelayout. You can use\n this value if you wish or ignore it if you want to.\n Value: The suggested value to set on the view. You can use it as\n is or ignore it if you want. The value provided for the first\n view will be the value of the 'value' attribute of the\n variablelayout. Subsequent values will be the return value of\n the updateSubview method for the previous view. This allows\n you to feed values forward as each view is updated.

    \n\n

    This variable layout will position the first view at a y value of 10\nand each subsequent view will be positioned with a y value 1 pixel\nbelow the bottom of the previous view. In addition, all views with\nan even count will be positioned at an x of 5 and odd views at an\nx of 10. Also, updateparent has been set to true so the\nupdateParent method will be called with the attribute and last value\nreturned from updateSubview. In this case updateParent will resize\nthe parent view to a height that fits all the subviews plus an\nadditional 10 pixels.

    \n\n
    <variablelayout attribute=\"y\" value=\"10\" updateparent=\"true\">\n    <method name=\"updateSubview\" args=\"count, view, attribute, value\">\n        view.setAttribute(attribute, value);\n        view.setAttribute('x', count % 2 === 0 ? 5 : 10);\n        return value + view.height + 1;\n    </method>\n    <method name=\"updateParent\" args=\"attribute, value, count\">\n        this.parent.setAttribute('height', value + 10);\n    </method>\n</variablelayout>\n\n<view width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"plum\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"lightblue\"></view>\n
    \n\n

    This variable layout works similar to the one above except it will\nskip any view that has an opacity less that 0.5. To accomplish this\nthe skipSubview method has been implemented. Also, the\nstartMonitoringSubview and stopMonitoringSubview methods have been\nimplemented so that if the opacity of a view changes the layout will\nbe updated.

    \n\n
    <variablelayout attribute=\"y\" value=\"10\" updateparent=\"true\">\n    <method name=\"updateSubview\" args=\"count, view, attribute, value\">\n        view.setAttribute(attribute, value);\n        view.setAttribute('x', count % 2 === 0 ? 5 : 10);\n        return value + view.height + 1;\n    </method>\n    <method name=\"updateParent\" args=\"attribute, value, count\">\n        this.parent.setAttribute('height', value + 10);\n    </method>\n    <method name=\"startMonitoringSubview\" args=\"view\">\n        this.super();\n        this.listenTo(view, 'opacity', this.update)\n    </method>\n    <method name=\"stopMonitoringSubview\" args=\"view\">\n        this.super();\n        this.stopListening(view, 'opacity', this.update)\n    </method>\n    <method name=\"skipSubview\" args=\"view\">\n        if (0.5 >= view.opacity) return true;\n        return this.super();\n    </method>\n</variablelayout>\n\n<view width=\"50\" height=\"25\" bgcolor=\"lightpink\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"plum\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"black\" opacity=\"0.25\"></view>\n<view width=\"50\" height=\"25\" bgcolor=\"lightblue\"></view>\n
    \n
    Defined By

    Attributes

    The name of the attribute to update on each subview. ...

    The name of the attribute to update on each subview.

    \n

    Defaults to: x

    dr.variablelayout
    view source
    : boolean
    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.variablelayout
    view source
    : boolean
    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    dr.variablelayout
    view source
    ( value ) : void
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    dr.variablelayout
    view source
    ( ) : void
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    dr.variablelayout
    view source
    ( view ) : Boolean
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    dr.variablelayout
    view source
    ( view )
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    dr.variablelayout
    view source
    ( view )
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    dr.variablelayout
    view source
    ( attribute, value, count ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n
    • count : Number

      The number of views that were layed out.

      \n

    Returns

    • void
      \n
    dr.variablelayout
    view source
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.videoplayer.js b/docs/api/output/dr.videoplayer.js index 103ac81..9f4b83c 100644 --- a/docs/api/output/dr.videoplayer.js +++ b/docs/api/output/dr.videoplayer.js @@ -1 +1 @@ -Ext.data.JsonP.dr_videoplayer({"tagname":"class","name":"dr.videoplayer","autodetected":{},"files":[{"filename":"videoplayer.js","href":"videoplayer3.html#dr-videoplayer"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"controls","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-controls","meta":{}},{"name":"currenttime","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-currenttime","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"duration","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-duration","meta":{"readonly":true}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"loop","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-loop","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"playing","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-playing","meta":{}},{"name":"poster","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-poster","meta":{}},{"name":"preload","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-preload","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-src","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"video","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-video","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"volume","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-volume","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.videoplayer","short_doc":"A media component that displays videos. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    A media component that displays videos.

    \n\n
    <spacedlayout axis=\"x\" spacing=\"5\"></spacedlayout>\n<videoplayer id=\"hplayer\" width=\"200\" height=\"150\"\n             src=\"{'video/mp4' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4',\n                   'video/webm' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.webm',\n                   'video/ogv' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv'}\">\n</videoplayer>\n\n<videoplayer id=\"aplayer\" width=\"200\" height=\"150\" controls=\"false\"\n             src=\"['http://techslides.com/demos/sample-videos/small.mp4',\n                   'http://techslides.com/demos/sample-videos/small.webm',\n                   'http://techslides.com/demos/sample-videos/small.ogv',\n                   'http://techslides.com/demos/sample-videos/small.3gp']\">\n</videoplayer>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    dr.videoplayer
    view source
    : Boolean
    Set to false to hide the video controls. ...

    Set to false to hide the video controls.

    \n

    Defaults to: true

    dr.videoplayer
    view source
    : Number
    The current playback index, in seconds. ...

    The current playback index, in seconds. Set to value to seek in the video.

    \n

    Defaults to: 0

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    dr.videoplayer
    view source
    : Numberreadonly
    The length of the video, is automatically set after the video begins\nto load. ...

    The length of the video, is automatically set after the video begins\nto load.

    \n

    Defaults to: 0

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.videoplayer
    view source
    : Boolean
    Should be video loop when reaching the end of the video. ...

    Should be video loop when reaching the end of the video.

    \n

    Defaults to: false

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.videoplayer
    view source
    : Boolean
    Indicates if the video is currently playing, set to true to\nbegin playback. ...

    Indicates if the video is currently playing, set to true to\nbegin playback.

    \n

    Defaults to: false

    dr.videoplayer
    view source
    : String

    An image that appears before playing, when no video frame is\navailable yet.

    \n

    An image that appears before playing, when no video frame is\navailable yet.

    \n
    dr.videoplayer
    view source
    : Boolean
    Set to false to refrain from preloading video content when the tag loads. ...

    Set to false to refrain from preloading video content when the tag loads.

    \n

    Defaults to: true

    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.videoplayer
    view source
    : Object
    The video source, which is either an array of urls with the correct filetype extensions:\n\n<videoplayer id=\"player\"...

    The video source, which is either an array of urls with the correct filetype extensions:

    \n\n
    <videoplayer id=\"player\" width=\"300\" height=\"150\"\n             src='[\"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4\",\n                   \"http://www.quirksmode.org/html5/videos/big_buck_bunny.webm\",\n                   \"http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv\"]'>\n</videoplayer>\n
    \n\n

    Alternatively, a hash of {mime-type: url} pairs.

    \n\n
    <videoplayer id=\"player\" width=\"300\" height=\"150\"\n             src='{\"video/mp4\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4\",\n                   \"video/webm\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.webm\",\n                   \"video/ogg\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv\"}'>\n</videoplayer>\n
    \n
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.videoplayer
    view source
    : Objectreadonly

    The underlying native video element.

    \n

    The underlying native video element.

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    dr.videoplayer
    view source
    : Number
    ...
    \n

    Defaults to: 0.5

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_videoplayer({"tagname":"class","name":"dr.videoplayer","autodetected":{},"files":[{"filename":"videoplayer.js","href":"videoplayer3.html#dr-videoplayer"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"controls","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-controls","meta":{}},{"name":"currenttime","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-currenttime","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"duration","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-duration","meta":{"readonly":true}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"loop","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-loop","meta":{}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"playing","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-playing","meta":{}},{"name":"poster","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-poster","meta":{}},{"name":"preload","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-preload","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-src","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"video","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-video","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"volume","tagname":"attribute","owner":"dr.videoplayer","id":"attribute-volume","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.videoplayer","short_doc":"A media component that displays videos. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    A media component that displays videos.

    \n\n
    <spacedlayout axis=\"x\" spacing=\"5\"></spacedlayout>\n<videoplayer id=\"hplayer\" width=\"200\" height=\"150\"\n             src=\"{'video/mp4' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4',\n                   'video/webm' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.webm',\n                   'video/ogv' : 'http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv'}\">\n</videoplayer>\n\n<videoplayer id=\"aplayer\" width=\"200\" height=\"150\" controls=\"false\"\n             src=\"['http://techslides.com/demos/sample-videos/small.mp4',\n                   'http://techslides.com/demos/sample-videos/small.webm',\n                   'http://techslides.com/demos/sample-videos/small.ogv',\n                   'http://techslides.com/demos/sample-videos/small.3gp']\">\n</videoplayer>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    dr.videoplayer
    view source
    : Boolean
    Set to false to hide the video controls. ...

    Set to false to hide the video controls.

    \n

    Defaults to: true

    dr.videoplayer
    view source
    : Number
    The current playback index, in seconds. ...

    The current playback index, in seconds. Set to value to seek in the video.

    \n

    Defaults to: 0

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    dr.videoplayer
    view source
    : Numberreadonly
    The length of the video, is automatically set after the video begins\nto load. ...

    The length of the video, is automatically set after the video begins\nto load.

    \n

    Defaults to: 0

    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    dr.videoplayer
    view source
    : Boolean
    Should be video loop when reaching the end of the video. ...

    Should be video loop when reaching the end of the video.

    \n

    Defaults to: false

    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    dr.videoplayer
    view source
    : Boolean
    Indicates if the video is currently playing, set to true to\nbegin playback. ...

    Indicates if the video is currently playing, set to true to\nbegin playback.

    \n

    Defaults to: false

    dr.videoplayer
    view source
    : String

    An image that appears before playing, when no video frame is\navailable yet.

    \n

    An image that appears before playing, when no video frame is\navailable yet.

    \n
    dr.videoplayer
    view source
    : Boolean
    Set to false to refrain from preloading video content when the tag loads. ...

    Set to false to refrain from preloading video content when the tag loads.

    \n

    Defaults to: true

    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.videoplayer
    view source
    : Object
    The video source, which is either an array of urls with the correct filetype extensions:\n\n<videoplayer id=\"player\"...

    The video source, which is either an array of urls with the correct filetype extensions:

    \n\n
    <videoplayer id=\"player\" width=\"300\" height=\"150\"\n             src='[\"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4\",\n                   \"http://www.quirksmode.org/html5/videos/big_buck_bunny.webm\",\n                   \"http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv\"]'>\n</videoplayer>\n
    \n\n

    Alternatively, a hash of {mime-type: url} pairs.

    \n\n
    <videoplayer id=\"player\" width=\"300\" height=\"150\"\n             src='{\"video/mp4\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4\",\n                   \"video/webm\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.webm\",\n                   \"video/ogg\" : \"http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv\"}'>\n</videoplayer>\n
    \n
    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    dr.videoplayer
    view source
    : Objectreadonly

    The underlying native video element.

    \n

    The underlying native video element.

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    dr.videoplayer
    view source
    : Number
    ...
    \n

    Defaults to: 0.5

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.view.js b/docs/api/output/dr.view.js index 16b561d..fa67fe1 100644 --- a/docs/api/output/dr.view.js +++ b/docs/api/output/dr.view.js @@ -1 +1 @@ -Ext.data.JsonP.dr_view({"tagname":"class","name":"dr.view","autodetected":{},"files":[{"filename":"View.js","href":"View3.html#dr-view"}],"extends":"dr.node","aside":[{"tagname":"aside","type":"guide","name":"constraints"}],"members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.view","short_doc":"The visual base class for everything in dreem. ...","component":false,"superclasses":["Module","Eventable","dr.node"],"subclasses":["dr.bitmap","dr.buttonbase","dr.indicator","dr.inputtext","dr.markup","dr.rangeslider","dr.slider","dr.text","dr.videoplayer","dr.webpage"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Subclasses

    Files

    \n

    The visual base class for everything in dreem. Views extend dr.node to add the ability to set and animate visual attributes, and interact with the mouse.

    \n\n

    Views are positioned inside their parent according to their x and y coordinates.

    \n\n

    Views can contain methods, handlers, setters, constraints, attributes and other view, node or class instances.

    \n\n

    Views can be easily converted to reusable classes/tags by changing their outermost <view> tags to <class> and adding a name attribute.

    \n\n

    Views support a number of builtin attributes. Setting attributes that aren't listed explicitly will pass through to the underlying Sprite implementation.

    \n\n

    Views currently integrate with jQuery, so any changes made to their CSS via jQuery will automatically cause them to update.

    \n\n

    Note that dreem apps must be contained inside a top-level <view></view> tag.

    \n\n

    The following example shows a pink view that contains a smaller blue view offset 10 pixels from the top and 10 from the left.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"50\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Here the blue view is wider than its parent pink view, and because the clip attribute of the parent is set to false it extends beyond the parents bounds.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\" clip=\"false\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Now we set the clip attribute on the parent view to true, causing the overflowing child view to be clipped at its parent's boundary.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\" clip=\"true\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Here we demonstrate how unsupported attributes are passed to the underlying sprite system. We make the child view semi-transparent by setting opacity. Although this is not in the list of supported attributes it is still applied.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\" opacity=\".5\"></view>\n\n</view>\n
    \n\n

    It is convenient to constrain a view's size and position to attributes of its parent view. Here we'll position the inner view so that its inset by 10 pixels in its parent.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"${this.parent.width-this.inset*2}\" height=\"${this.parent.height-this.inset*2}\" x=\"${this.inset}\" y=\"${this.inset}\" bgcolor=\"lightblue\">\n    <attribute name=\"inset\" type=\"number\" value=\"10\"></attribute>\n  </view>\n\n</view>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n
    : Booleanprivate

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n
    : Booleanprivate

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    : Boolean
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    : String

    Sets this view's background color

    \n

    Sets this view's background color

    \n
    : Number

    Sets this view's border width

    \n

    Sets this view's border width

    \n
    : String

    Sets this view's border color

    \n

    Sets this view's border color

    \n
    : String

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    : Numberreadonly
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    : Numberreadonly
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    : Numberreadonly
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : String
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    : Boolean
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    : Boolean
    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    : String
    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : Boolean
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    : Boolean
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n
    : Boolean

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    : Boolean
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    : Array
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    : Number
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    : String
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    : Numberreadonly
    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    : Numberreadonly
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n
    : Booleanreadonly

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    : String
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    : dr.layout[]readonly
    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    : Boolean
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    : Number
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    : Number

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    : String
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    : Number
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    : Boolean
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    : Boolean
    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    : Number
    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    : Number
    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    : dr.view[]readonly

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    : Boolean
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    : Number
    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    : Number
    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    : Number
    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    : Number
    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    : Number
    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    : Number
    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    : Number
    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    : Number
    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    : Number
    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    ( name, value )
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( name, value, axis )
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    ( forceUpdate )
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ( attrName, v )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    ...
    \n
    ...
    \n
    ...
    \n
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    ( )
    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    ( layout )
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    ( noScroll )
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    ( ignoreFocusTrap )
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    ( layout )
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    ( layout )
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    ( parent, attrs )
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    ( view )
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    ( view )
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( ) : dr.viewchainable
    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    ( ) : dr.viewchainable
    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    ( view )
    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    ( layout )
    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    ( view )
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    ( view )
    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    ( view )
    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    ( view )
    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    ( scroll )
    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_view({"tagname":"class","name":"dr.view","autodetected":{},"files":[{"filename":"View.js","href":"View3.html#dr-view"}],"extends":"dr.node","aside":[{"tagname":"aside","type":"guide","name":"constraints"}],"members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.view","short_doc":"The visual base class for everything in dreem. ...","component":false,"superclasses":["Module","Eventable","dr.node"],"subclasses":["dr.bitmap","dr.buttonbase","dr.dropdown","dr.fontdetect","dr.indicator","dr.inputtext","dr.markup","dr.rangeslider","dr.slider","dr.text","dr.textlistbox","dr.videoplayer","dr.webpage"],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Subclasses

    Files

    \n

    The visual base class for everything in dreem. Views extend dr.node to add the ability to set and animate visual attributes, and interact with the mouse.

    \n\n

    Views are positioned inside their parent according to their x and y coordinates.

    \n\n

    Views can contain methods, handlers, setters, constraints, attributes and other view, node or class instances.

    \n\n

    Views can be easily converted to reusable classes/tags by changing their outermost <view> tags to <class> and adding a name attribute.

    \n\n

    Views support a number of builtin attributes. Setting attributes that aren't listed explicitly will pass through to the underlying Sprite implementation.

    \n\n

    Views currently integrate with jQuery, so any changes made to their CSS via jQuery will automatically cause them to update.

    \n\n

    Note that dreem apps must be contained inside a top-level <view></view> tag.

    \n\n

    The following example shows a pink view that contains a smaller blue view offset 10 pixels from the top and 10 from the left.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"50\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Here the blue view is wider than its parent pink view, and because the clip attribute of the parent is set to false it extends beyond the parents bounds.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\" clip=\"false\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Now we set the clip attribute on the parent view to true, causing the overflowing child view to be clipped at its parent's boundary.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\" clip=\"true\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\"></view>\n\n</view>\n
    \n\n

    Here we demonstrate how unsupported attributes are passed to the underlying sprite system. We make the child view semi-transparent by setting opacity. Although this is not in the list of supported attributes it is still applied.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"250\" height=\"50\" x=\"10\" y=\"10\" bgcolor=\"lightblue\" opacity=\".5\"></view>\n\n</view>\n
    \n\n

    It is convenient to constrain a view's size and position to attributes of its parent view. Here we'll position the inner view so that its inset by 10 pixels in its parent.

    \n\n
    <view width=\"200\" height=\"100\" bgcolor=\"lightpink\">\n\n  <view width=\"${this.parent.width-this.inset*2}\" height=\"${this.parent.height-this.inset*2}\" x=\"${this.inset}\" y=\"${this.inset}\" bgcolor=\"lightblue\">\n    <attribute name=\"inset\" type=\"number\" value=\"10\"></attribute>\n  </view>\n\n</view>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n
    : Booleanprivate

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n
    : Booleanprivate

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    : Boolean
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n
    : String

    Sets this view's background color

    \n

    Sets this view's background color

    \n
    : Number

    Sets this view's border width

    \n

    Sets this view's border width

    \n
    : String

    Sets this view's border color

    \n

    Sets this view's border color

    \n
    : String

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    : Numberreadonly
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    : Numberreadonly
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    : Numberreadonly
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : String
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    : Boolean
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    : Boolean
    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    : String
    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    : Boolean
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    : Boolean
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n
    : Boolean

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    : Boolean
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    : Array
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    : Number
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    : String
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    : Numberreadonly
    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    : Numberreadonly
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n
    : Booleanreadonly

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    : String
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    : dr.layout[]readonly
    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    : Boolean
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    : Number
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    : Number

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    : String
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    : Number
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    : Boolean
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    : Boolean
    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    : Number
    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    : Number
    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n
    : dr.view[]readonly

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    : Boolean
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    : Number
    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    : Number
    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    : Number
    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    : Number
    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    : Number
    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    : Number
    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    : Number
    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    : Number
    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    : Number
    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    ( name, value )
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( name, value, axis )
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    ( forceUpdate )
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ( attrName, v )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    ...
    \n
    ...
    \n
    ...
    \n
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    ( )
    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    ( layout )
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    ( noScroll )
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    ( ignoreFocusTrap )
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    ( layout )
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    ( layout )
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    ( parent, attrs )
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    ( view )
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    ( view )
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( ) : dr.viewchainable
    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    ( ) : dr.viewchainable
    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    ( view )
    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    ( layout )
    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    ( view )
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    ( view )
    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    ( view )
    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    ( view )
    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    ( scroll )
    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.webpage.js b/docs/api/output/dr.webpage.js index 0360173..98a2509 100644 --- a/docs/api/output/dr.webpage.js +++ b/docs/api/output/dr.webpage.js @@ -1 +1 @@ -Ext.data.JsonP.dr_webpage({"tagname":"class","name":"dr.webpage","autodetected":{},"files":[{"filename":"webpage.js","href":"webpage.html#dr-webpage"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.webpage","id":"attribute-src","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.webpage","short_doc":"iframe component for embedding dreem code or html in a dreem application. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    iframe component for embedding dreem code or html in a dreem application.\nThe size of the iframe matches the width/height of the view when the\ncomponent is created. The iframe component can show a web page by\nusing the src attribute, or to show dynamic content using the\ncontents attribute.

    \n\n

    This example shows how to display a web page in an iframe. The\ncontents of the iframe are not editable:

    \n\n
    <webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\"></webpage>\n
    \n\n

    To make the web page clickable, and to add scrolling set either\nclickable or scrollable to true:

    \n\n
    <webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\" scrollable=\"true\"></webpage>\n<webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\" clickable=\"true\"></webpage>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.webpage
    view source
    : String
    url to load inside the iframe. ...

    url to load inside the iframe. By default, a file is loaded that has\nan empty body but includes the libraries needed to support Dreem code.

    \n

    Defaults to: "/iframe_stub.html"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_webpage({"tagname":"class","name":"dr.webpage","autodetected":{},"files":[{"filename":"webpage.js","href":"webpage.html#dr-webpage"}],"extends":"dr.view","members":[{"name":"$textcontent","tagname":"attribute","owner":"dr.node","id":"attribute-S-textcontent","meta":{}},{"name":"__animPool","tagname":"attribute","owner":"dr.node","id":"attribute-__animPool","meta":{"private":true}},{"name":"__autoLayoutheight","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutheight","meta":{"private":true}},{"name":"__autoLayoutwidth","tagname":"attribute","owner":"dr.view","id":"attribute-__autoLayoutwidth","meta":{"private":true}},{"name":"__disallowPlacement","tagname":"attribute","owner":"dr.node","id":"attribute-__disallowPlacement","meta":{}},{"name":"__fullBorderPaddingHeight","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingHeight","meta":{"private":true}},{"name":"__fullBorderPaddingWidth","tagname":"attribute","owner":"dr.view","id":"attribute-__fullBorderPaddingWidth","meta":{"private":true}},{"name":"__isPercentConstraint_height","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_height","meta":{}},{"name":"__isPercentConstraint_width","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_width","meta":{}},{"name":"__isPercentConstraint_x","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_x","meta":{"private":true}},{"name":"__isPercentConstraint_y","tagname":"attribute","owner":"dr.view","id":"attribute-__isPercentConstraint_y","meta":{"private":true}},{"name":"__lockRecalc","tagname":"attribute","owner":"dr.view","id":"attribute-__lockRecalc","meta":{}},{"name":"bgcolor","tagname":"attribute","owner":"dr.view","id":"attribute-bgcolor","meta":{}},{"name":"border","tagname":"attribute","owner":"dr.view","id":"attribute-border","meta":{}},{"name":"bordercolor","tagname":"attribute","owner":"dr.view","id":"attribute-bordercolor","meta":{}},{"name":"borderstyle","tagname":"attribute","owner":"dr.view","id":"attribute-borderstyle","meta":{}},{"name":"boundsheight","tagname":"attribute","owner":"dr.view","id":"attribute-boundsheight","meta":{"readonly":true}},{"name":"boundswidth","tagname":"attribute","owner":"dr.view","id":"attribute-boundswidth","meta":{"readonly":true}},{"name":"boundsx","tagname":"attribute","owner":"dr.view","id":"attribute-boundsx","meta":{"readonly":true}},{"name":"boundsxdiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsxdiff","meta":{"readonly":true}},{"name":"boundsy","tagname":"attribute","owner":"dr.view","id":"attribute-boundsy","meta":{"readonly":true}},{"name":"boundsydiff","tagname":"attribute","owner":"dr.view","id":"attribute-boundsydiff","meta":{"readonly":true}},{"name":"boxshadow","tagname":"attribute","owner":"dr.view","id":"attribute-boxshadow","meta":{}},{"name":"clickable","tagname":"attribute","owner":"dr.view","id":"attribute-clickable","meta":{}},{"name":"clip","tagname":"attribute","owner":"dr.view","id":"attribute-clip","meta":{}},{"name":"cursor","tagname":"attribute","owner":"dr.view","id":"attribute-cursor","meta":{}},{"name":"defaultplacement","tagname":"attribute","owner":"dr.node","id":"attribute-defaultplacement","meta":{}},{"name":"focusable","tagname":"attribute","owner":"dr.view","id":"attribute-focusable","meta":{}},{"name":"focuscage","tagname":"attribute","owner":"dr.view","id":"attribute-focuscage","meta":{}},{"name":"focused","tagname":"attribute","owner":"dr.view","id":"attribute-focused","meta":{}},{"name":"focusembellishment","tagname":"attribute","owner":"dr.view","id":"attribute-focusembellishment","meta":{}},{"name":"focustrap","tagname":"attribute","owner":"dr.view","id":"attribute-focustrap","meta":{}},{"name":"gradient","tagname":"attribute","owner":"dr.view","id":"attribute-gradient","meta":{}},{"name":"height","tagname":"attribute","owner":"dr.view","id":"attribute-height","meta":{}},{"name":"id","tagname":"attribute","owner":"dr.node","id":"attribute-id","meta":{}},{"name":"ignorelayout","tagname":"attribute","owner":"dr.view","id":"attribute-ignorelayout","meta":{}},{"name":"ignoreplacement","tagname":"attribute","owner":"dr.node","id":"attribute-ignoreplacement","meta":{}},{"name":"inited","tagname":"attribute","owner":"dr.node","id":"attribute-inited","meta":{"readonly":true}},{"name":"initing","tagname":"attribute","owner":"dr.node","id":"attribute-initing","meta":{"readonly":true}},{"name":"innerheight","tagname":"attribute","owner":"dr.view","id":"attribute-innerheight","meta":{"readonly":true}},{"name":"innerwidth","tagname":"attribute","owner":"dr.view","id":"attribute-innerwidth","meta":{"readonly":true}},{"name":"isBeingDestroyed","tagname":"attribute","owner":"dr.node","id":"attribute-isBeingDestroyed","meta":{"readonly":true}},{"name":"isaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isaligned","meta":{"readonly":true}},{"name":"isvaligned","tagname":"attribute","owner":"dr.view","id":"attribute-isvaligned","meta":{"readonly":true}},{"name":"layouthint","tagname":"attribute","owner":"dr.view","id":"attribute-layouthint","meta":{}},{"name":"layouts","tagname":"attribute","owner":"dr.view","id":"attribute-layouts","meta":{"readonly":true}},{"name":"maskfocus","tagname":"attribute","owner":"dr.view","id":"attribute-maskfocus","meta":{}},{"name":"name","tagname":"attribute","owner":"dr.node","id":"attribute-name","meta":{}},{"name":"opacity","tagname":"attribute","owner":"dr.view","id":"attribute-opacity","meta":{}},{"name":"padding","tagname":"attribute","owner":"dr.view","id":"attribute-padding","meta":{}},{"name":"parent","tagname":"attribute","owner":"dr.node","id":"attribute-parent","meta":{}},{"name":"perspective","tagname":"attribute","owner":"dr.view","id":"attribute-perspective","meta":{}},{"name":"placement","tagname":"attribute","owner":"dr.node","id":"attribute-placement","meta":{}},{"name":"rotation","tagname":"attribute","owner":"dr.view","id":"attribute-rotation","meta":{}},{"name":"scriptincludes","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludes","meta":{}},{"name":"scriptincludeserror","tagname":"attribute","owner":"dr.node","id":"attribute-scriptincludeserror","meta":{}},{"name":"scrollable","tagname":"attribute","owner":"dr.view","id":"attribute-scrollable","meta":{}},{"name":"scrollbars","tagname":"attribute","owner":"dr.view","id":"attribute-scrollbars","meta":{}},{"name":"scrollx","tagname":"attribute","owner":"dr.view","id":"attribute-scrollx","meta":{}},{"name":"scrolly","tagname":"attribute","owner":"dr.view","id":"attribute-scrolly","meta":{}},{"name":"src","tagname":"attribute","owner":"dr.webpage","id":"attribute-src","meta":{}},{"name":"subnodes","tagname":"attribute","owner":"dr.node","id":"attribute-subnodes","meta":{}},{"name":"subviews","tagname":"attribute","owner":"dr.view","id":"attribute-subviews","meta":{"readonly":true}},{"name":"visible","tagname":"attribute","owner":"dr.view","id":"attribute-visible","meta":{}},{"name":"width","tagname":"attribute","owner":"dr.view","id":"attribute-width","meta":{}},{"name":"x","tagname":"attribute","owner":"dr.view","id":"attribute-x","meta":{}},{"name":"xanchor","tagname":"attribute","owner":"dr.view","id":"attribute-xanchor","meta":{}},{"name":"xscale","tagname":"attribute","owner":"dr.view","id":"attribute-xscale","meta":{}},{"name":"y","tagname":"attribute","owner":"dr.view","id":"attribute-y","meta":{}},{"name":"yanchor","tagname":"attribute","owner":"dr.view","id":"attribute-yanchor","meta":{}},{"name":"yscale","tagname":"attribute","owner":"dr.view","id":"attribute-yscale","meta":{}},{"name":"z","tagname":"attribute","owner":"dr.view","id":"attribute-z","meta":{}},{"name":"zanchor","tagname":"attribute","owner":"dr.view","id":"attribute-zanchor","meta":{}},{"name":"__addNameRef","tagname":"method","owner":"dr.node","id":"method-__addNameRef","meta":{"private":true}},{"name":"__getAnimPool","tagname":"method","owner":"dr.node","id":"method-__getAnimPool","meta":{"private":true}},{"name":"__handleBlur","tagname":"method","owner":"dr.view","id":"method-__handleBlur","meta":{"private":true}},{"name":"__handleFocus","tagname":"method","owner":"dr.view","id":"method-__handleFocus","meta":{"private":true}},{"name":"__handleScroll","tagname":"method","owner":"dr.view","id":"method-__handleScroll","meta":{"private":true}},{"name":"__makeChildren","tagname":"method","owner":"dr.node","id":"method-__makeChildren","meta":{"private":true}},{"name":"__registerHandlers","tagname":"method","owner":"dr.node","id":"method-__registerHandlers","meta":{"private":true}},{"name":"__removeNameRef","tagname":"method","owner":"dr.node","id":"method-__removeNameRef","meta":{"private":true}},{"name":"__setBP","tagname":"method","owner":"dr.view","id":"method-__setBP","meta":{"private":true}},{"name":"__setupAlignConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAlignConstraint","meta":{}},{"name":"__setupAutoConstraint","tagname":"method","owner":"dr.view","id":"method-__setupAutoConstraint","meta":{"private":true}},{"name":"__setupPercentConstraint","tagname":"method","owner":"dr.view","id":"method-__setupPercentConstraint","meta":{}},{"name":"__updateBP","tagname":"method","owner":"dr.view","id":"method-__updateBP","meta":{"private":true}},{"name":"__updateBounds","tagname":"method","owner":"dr.view","id":"method-__updateBounds","meta":{}},{"name":"__updateCornerRadius","tagname":"method","owner":"dr.view","id":"method-__updateCornerRadius","meta":{"private":true}},{"name":"__updateInnerHeight","tagname":"method","owner":"dr.view","id":"method-__updateInnerHeight","meta":{"private":true}},{"name":"__updateInnerWidth","tagname":"method","owner":"dr.view","id":"method-__updateInnerWidth","meta":{"private":true}},{"name":"__updateTransform","tagname":"method","owner":"dr.view","id":"method-__updateTransform","meta":{"private":true}},{"name":"addSubnode","tagname":"method","owner":"dr.node","id":"method-addSubnode","meta":{"chainable":true}},{"name":"animate","tagname":"method","owner":"dr.node","id":"method-animate","meta":{}},{"name":"animateMultiple","tagname":"method","owner":"dr.node","id":"method-animateMultiple","meta":{"chainable":true}},{"name":"blur","tagname":"method","owner":"dr.view","id":"method-blur","meta":{}},{"name":"createChild","tagname":"method","owner":"dr.node","id":"method-createChild","meta":{}},{"name":"destroy","tagname":"method","owner":"dr.node","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyAfterOrphaning","meta":{}},{"name":"destroyBeforeOrphaning","tagname":"method","owner":"dr.view","id":"method-destroyBeforeOrphaning","meta":{}},{"name":"determinePlacement","tagname":"method","owner":"dr.node","id":"method-determinePlacement","meta":{}},{"name":"doAfterAdoption","tagname":"method","owner":"dr.node","id":"method-doAfterAdoption","meta":{}},{"name":"doBeforeAdoption","tagname":"method","owner":"dr.node","id":"method-doBeforeAdoption","meta":{}},{"name":"doLayoutAdded","tagname":"method","owner":"dr.view","id":"method-doLayoutAdded","meta":{}},{"name":"doLayoutRemoved","tagname":"method","owner":"dr.view","id":"method-doLayoutRemoved","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"dr.view","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"dr.view","id":"method-doSubnodeRemoved","meta":{}},{"name":"doSubviewAdded","tagname":"method","owner":"dr.view","id":"method-doSubviewAdded","meta":{}},{"name":"doSubviewRemoved","tagname":"method","owner":"dr.view","id":"method-doSubviewRemoved","meta":{}},{"name":"focus","tagname":"method","owner":"dr.view","id":"method-focus","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"dr.view","id":"method-getAbsolutePosition","meta":{}},{"name":"getActiveAnimators","tagname":"method","owner":"dr.node","id":"method-getActiveAnimators","meta":{}},{"name":"getAncestorWithProperty","tagname":"method","owner":"dr.node","id":"method-getAncestorWithProperty","meta":{}},{"name":"getAncestors","tagname":"method","owner":"dr.node","id":"method-getAncestors","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"dr.view","id":"method-getFirstSiblingView","meta":{}},{"name":"getFocusTrap","tagname":"method","owner":"dr.view","id":"method-getFocusTrap","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"dr.view","id":"method-getLastSiblingView","meta":{}},{"name":"getLayoutHint","tagname":"method","owner":"dr.view","id":"method-getLayoutHint","meta":{}},{"name":"getLayoutIndex","tagname":"method","owner":"dr.view","id":"method-getLayoutIndex","meta":{}},{"name":"getLayouts","tagname":"method","owner":"dr.view","id":"method-getLayouts","meta":{}},{"name":"getLeastCommonAncestor","tagname":"method","owner":"dr.node","id":"method-getLeastCommonAncestor","meta":{}},{"name":"getMatchingAncestor","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestor","meta":{}},{"name":"getMatchingAncestorOrSelf","tagname":"method","owner":"dr.node","id":"method-getMatchingAncestorOrSelf","meta":{}},{"name":"getNextFocus","tagname":"method","owner":"dr.view","id":"method-getNextFocus","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"dr.view","id":"method-getNextSiblingView","meta":{}},{"name":"getPrevFocus","tagname":"method","owner":"dr.view","id":"method-getPrevFocus","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"dr.view","id":"method-getPrevSiblingView","meta":{}},{"name":"getRoot","tagname":"method","owner":"dr.node","id":"method-getRoot","meta":{}},{"name":"getSiblingViews","tagname":"method","owner":"dr.view","id":"method-getSiblingViews","meta":{}},{"name":"getSubnodeIndex","tagname":"method","owner":"dr.node","id":"method-getSubnodeIndex","meta":{}},{"name":"getSubnodes","tagname":"method","owner":"dr.node","id":"method-getSubnodes","meta":{}},{"name":"getSubviewAtIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewAtIndex","meta":{}},{"name":"getSubviewIndex","tagname":"method","owner":"dr.view","id":"method-getSubviewIndex","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"dr.view","id":"method-getTypeForAttrName","meta":{}},{"name":"giveAwayFocus","tagname":"method","owner":"dr.view","id":"method-giveAwayFocus","meta":{}},{"name":"hasLayout","tagname":"method","owner":"dr.view","id":"method-hasLayout","meta":{}},{"name":"hasSubnode","tagname":"method","owner":"dr.node","id":"method-hasSubnode","meta":{}},{"name":"hasSubview","tagname":"method","owner":"dr.view","id":"method-hasSubview","meta":{}},{"name":"init","tagname":"method","owner":"Eventable","id":"method-init","meta":{}},{"name":"initNode","tagname":"method","owner":"dr.view","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"dr.node","id":"method-initialize","meta":{}},{"name":"isAncestorOf","tagname":"method","owner":"dr.node","id":"method-isAncestorOf","meta":{}},{"name":"isBehind","tagname":"method","owner":"dr.view","id":"method-isBehind","meta":{}},{"name":"isDescendantOf","tagname":"method","owner":"dr.node","id":"method-isDescendantOf","meta":{}},{"name":"isFocusable","tagname":"method","owner":"dr.view","id":"method-isFocusable","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"dr.view","id":"method-isInFrontOf","meta":{}},{"name":"isRoot","tagname":"method","owner":"dr.node","id":"method-isRoot","meta":{}},{"name":"isVisible","tagname":"method","owner":"dr.view","id":"method-isVisible","meta":{}},{"name":"moveBehind","tagname":"method","owner":"dr.view","id":"method-moveBehind","meta":{"chainable":true}},{"name":"moveInFrontOf","tagname":"method","owner":"dr.view","id":"method-moveInFrontOf","meta":{"chainable":true}},{"name":"moveToBack","tagname":"method","owner":"dr.view","id":"method-moveToBack","meta":{"chainable":true}},{"name":"moveToFront","tagname":"method","owner":"dr.view","id":"method-moveToFront","meta":{"chainable":true}},{"name":"notifyReady","tagname":"method","owner":"dr.view","id":"method-notifyReady","meta":{}},{"name":"removeSubnode","tagname":"method","owner":"dr.node","id":"method-removeSubnode","meta":{}},{"name":"searchAncestors","tagname":"method","owner":"dr.node","id":"method-searchAncestors","meta":{}},{"name":"searchAncestorsForClass","tagname":"method","owner":"dr.node","id":"method-searchAncestorsForClass","meta":{}},{"name":"searchAncestorsOrSelf","tagname":"method","owner":"dr.node","id":"method-searchAncestorsOrSelf","meta":{}},{"name":"set_id","tagname":"method","owner":"dr.node","id":"method-set_id","meta":{}},{"name":"set_name","tagname":"method","owner":"dr.node","id":"method-set_name","meta":{}},{"name":"set_parent","tagname":"method","owner":"dr.node","id":"method-set_parent","meta":{}},{"name":"stopActiveAnimators","tagname":"method","owner":"dr.node","id":"method-stopActiveAnimators","meta":{"chainable":true}},{"name":"walk","tagname":"method","owner":"dr.node","id":"method-walk","meta":{"chainable":true}},{"name":"onclick","tagname":"event","owner":"dr.view","id":"event-onclick","meta":{}},{"name":"onlayoutadded","tagname":"event","owner":"dr.view","id":"event-onlayoutadded","meta":{}},{"name":"onlayoutremoved","tagname":"event","owner":"dr.view","id":"event-onlayoutremoved","meta":{}},{"name":"onmousedown","tagname":"event","owner":"dr.view","id":"event-onmousedown","meta":{}},{"name":"onmouseout","tagname":"event","owner":"dr.view","id":"event-onmouseout","meta":{}},{"name":"onmouseover","tagname":"event","owner":"dr.view","id":"event-onmouseover","meta":{}},{"name":"onmouseup","tagname":"event","owner":"dr.view","id":"event-onmouseup","meta":{}},{"name":"onscroll","tagname":"event","owner":"dr.view","id":"event-onscroll","meta":{}},{"name":"onsubviewadded","tagname":"event","owner":"dr.view","id":"event-onsubviewadded","meta":{}},{"name":"onsubviewremoved","tagname":"event","owner":"dr.view","id":"event-onsubviewremoved","meta":{}},{"name":"parent","tagname":"event","owner":"dr.node","id":"event-parent","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.webpage","short_doc":"iframe component for embedding dreem code or html in a dreem application. ...","component":false,"superclasses":["Module","Eventable","dr.node","dr.view"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    Module

    Files

    iframe component for embedding dreem code or html in a dreem application.\nThe size of the iframe matches the width/height of the view when the\ncomponent is created. The iframe component can show a web page by\nusing the src attribute, or to show dynamic content using the\ncontents attribute.

    \n\n

    This example shows how to display a web page in an iframe. The\ncontents of the iframe are not editable:

    \n\n
    <webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\"></webpage>\n
    \n\n

    To make the web page clickable, and to add scrolling set either\nclickable or scrollable to true:

    \n\n
    <webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\" scrollable=\"true\"></webpage>\n<webpage src=\"http://en.wikipedia.org/wiki/San_Francisco\" width=\"300\" height=\"140\" clickable=\"true\"></webpage>\n
    \n
    Defined By

    Attributes

    The text found within the tags of an instance. ...

    The text found within the tags of an instance. Set\nwhen an instances children are being constructed.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n

    An dr.TrackActivesPool used by the 'animate' method.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto heights.

    \n

    A reference to the layout\nused for auto heights.

    \n
    : dr.AutoPropertyLayoutprivate

    A reference to the layout\nused for auto widths.

    \n

    A reference to the layout\nused for auto widths.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    Used to prevent children defined inside\nan instance from using placement.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of bordertop, borderbottom,\npaddingtop and paddingbottom.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    The sum of borderleft, borderright,\npaddingleft and paddingright.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the height attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is\nused for the width attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the x attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n

    True if a percent constraint is used\nfor the y attribute.

    \n
    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or ...

    Used to prevent recacalcuation of border,\npadding and corner radius when setting them via set_border,\nset_padding or set_cornerradius.

    \n

    Sets this view's background color

    \n

    Sets this view's background color

    \n

    Sets this view's border width

    \n

    Sets this view's border width

    \n

    Sets this view's border color

    \n

    Sets this view's border color

    \n

    Sets this view's border style (can be any css border-style value)

    \n

    Sets this view's border style (can be any css border-style value)

    \n
    The height of the bounding box for the\nview. ...

    The height of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe height non-descendant views should use if the view is rotated or\nscaled.

    \n
    The width of the bounding box for the\nview. ...

    The width of the bounding box for the\nview. This value accounts for rotation and scaling of the view. This is\nthe width non-descendant views should use if the view is rotated or\nscaled.

    \n
    : Numberreadonly
    The x position of the bounding box for the\nview. ...

    The x position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the x position\nof the view and the boundsx of the view. ...

    The difference between the x position\nof the view and the boundsx of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    : Numberreadonly
    The y position of the bounding box for the\nview. ...

    The y position of the bounding box for the\nview. This value accounts for rotation and scaling of the view.

    \n
    The difference between the y position\nof the view and the boundsy of the view. ...

    The difference between the y position\nof the view and the boundsy of the view. Useful when you need to offset\na view to make it line up when it is scaled or rotated.

    \n
    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). ...

    Drop shadow using standard CSS format (offset-x offset-y blur-radius spread-radius color). For example: \"10px 10px 5px 0px *888888\".

    \n
    If true, this view recieves mouse events. ...

    If true, this view recieves mouse events. Automatically set to true when an onclick/mouse* event is registered for this view.

    \n

    Defaults to: false

    If true, this view clips to its bounds ...

    If true, this view clips to its bounds

    \n

    Defaults to: false

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. ...

    Cursor that should be used when the mouse is over this view, can be any CSS cursor value. Only applies when clickable is true.

    \n

    Defaults to: 'pointer'

    The name of the subnode to add nodes to when\nno placement is specified. ...

    The name of the subnode to add nodes to when\nno placement is specified. Defaults to undefined which means add\nsubnodes directly to this node.

    \n
    Indicates if this view can have focus or not. ...

    Indicates if this view can have focus or not. Defaults to false.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. This is the same as focustrap except it can't be ignored\nusing a key modifier.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if this view has focus or not.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n

    Indicates if the focus embellishment\nshould be shown for this view or not when it has focus.

    \n
    Determines if focus traversal can move above this\nview or not. ...

    Determines if focus traversal can move above this\nview or not. The default is undefined which is equivalent to\nfalse. Can be ignored using a key modifier. The key modifier is\ntypically 'option'.

    \n
    Sets a linear gradient fill on the view. ...

    Sets a linear gradient fill on the view. The value\nat index 0 is the gradient angle. The remaining entries are\nthe color stops. Each color stop is a color value plus an\noptional location percentage. If no stops are provided the\ncurrent bgcolor and color will be used. If those do not exist\ntransparent will be used.

    \n
    This view's height. ...

    This view's height. There are several categories of allowed values.\n 1) Fixed: If a number is provided the height will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n height will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Auto: If the string 'auto' is provided the height will be constrained\n to the maximum y bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage height, percentage y, or a y-position of\n 'center', 'middle' or 'bottom' will also be disregarded. Note that\n 'top' is not ignored since it does not necessarily result in a\n circular constraint.

    \n

    Defaults to: 0

    Gives this node a global ID, which can be looked up in the global window object. ...

    Gives this node a global ID, which can be looked up in the global window object.\nTake care to not override builtin globals, or override your own instances!

    \n
    Indicates if layouts should ignore this view or not. ...

    Indicates if layouts should ignore this view or not. A variety of\nconfiguration mechanisms are supported. Provided true or false will\ncause the view to be ignored or not by all layouts. If instead a\nserialized map is provided the keys of the map will target values\nthe layouts with matching names. A special key of '*' indicates a\ndefault value for all layouts not specifically mentioned in the map.

    \n

    Defaults to: 'false'

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n

    If set to true placement will not be\nprocessed for this Node when it is added to a parent Node.

    \n
    : Booleanreadonly

    Set to true after this Node has\ncompleted initializing.

    \n

    Set to true after this Node has\ncompleted initializing.

    \n

    Overrides: Eventable.inited

    : Booleanreadonly

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Set to true during initialization and\nthen false when initialization is complete.

    \n

    Overrides: Eventable.initing

    The height of the view less padding and\nborder. ...

    The height of the view less padding and\nborder. This is the height child views should use if border or padding\nis being used by the view.

    \n
    The width of the view less padding and\nborder. ...

    The width of the view less padding and\nborder. This is the width child views should use if border or padding\nis being used by the view.

    \n
    Indicates that this node is in\nthe process of being destroyed. ...

    Indicates that this node is in\nthe process of being destroyed. Set to true at the beginning of\nthe destroy lifecycle phase. Undefined before that.

    \n
    : Booleanreadonly

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the x attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n

    Indicates that the y attribute is\nset to one of the \"special\" alignment values.

    \n
    Provides per view hinting to layouts. ...

    Provides per view hinting to layouts. The specific hints supported\nare layout specific. Hints are provided as a map. A map key may\nbe prefixied with the name of a layout followed by a '/'. This will\ntarget that hint at a specific layout. If the prefix is ommitted or\na prefix of '*' is used the hint will be targeted to all layouts.

    \n

    Defaults to: ''

    An array of this views's layouts. ...

    An array of this views's layouts. Only defined when needed.

    \n
    Prevents focus from traversing into this view or\nany of its subviews. ...

    Prevents focus from traversing into this view or\nany of its subviews. The default is undefined which is\nequivalent to false.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n

    Names this node in its parent scope so it can be referred to later.

    \n
    Sets this view's opacity, values can be a float from 0.0 to 1.0 ...

    Sets this view's opacity, values can be a float from 0.0 to 1.0

    \n

    Defaults to: 1.0

    Sets this view's padding

    \n

    Sets this view's padding

    \n

    The parent of this Node.

    \n

    The parent of this Node.

    \n
    Sets this view's perspective depth along the z access, values in pixels. ...

    Sets this view's perspective depth along the z access, values in pixels.\nWhen this value is set, items further from the camera will appear smaller, and closer items will be larger.

    \n

    Defaults to: 0

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. ...

    The name of the subnode of this Node to add nodes\nto when set_parent is called on the subnode. Placement can be\nnested using '.' For example 'foo.bar'. The special value of\n'' means use the default placement. For example 'foo.' means\nplace in the foo subnode and then in the default placement\nfor foo.

    \n
    Sets this view's rotation in degrees. ...

    Sets this view's rotation in degrees.

    \n

    Defaults to: 0

    A comma separated list of URLs to javascript includes required as dependencies. ...

    A comma separated list of URLs to javascript includes required as dependencies. Useful if you need to ensure a third party library is available.

    \n

    An error to show if scriptincludes fail to load

    \n

    An error to show if scriptincludes fail to load

    \n
    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds ...

    If true, this view clips to its bounds and provides scrolling to see content that overflows the bounds

    \n

    Defaults to: false

    Controls the visibility of scrollbars if scrollable is true ...

    Controls the visibility of scrollbars if scrollable is true

    \n

    Defaults to: false

    Sets the horizontal scroll position of the view. ...

    Sets the horizontal scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrollx event and a scroll event.

    \n

    Defaults to: 0

    Sets the vertical scroll position of the view. ...

    Sets the vertical scroll position of the view. Only relevant if\nthis.scrollable is true. Setting this value will generate both a\nscrolly event and a scroll event.

    \n

    Defaults to: 0

    dr.webpage
    view source
    : String
    url to load inside the iframe. ...

    url to load inside the iframe. By default, a file is loaded that has\nan empty body but includes the libraries needed to support Dreem code.

    \n

    Defaults to: "/iframe_stub.html"

    The array of child nodes for this node. ...

    The array of child nodes for this node. Should be\naccessed through the getSubnodes method.

    \n

    An array of this views's child views

    \n

    An array of this views's child views

    \n
    If false, this view is invisible ...

    If false, this view is invisible

    \n

    Defaults to: true

    This view's width. ...

    This view's width. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the width will be a fixed\n pixel size.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n width will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Auto: If the string 'auto' is provided the width will be constrained\n to the maximum x bounds of the view children of this view. This\n feature is implemented like a Layout, so you can use ignorelayout\n on a child view to disregard them for auto sizing. Furthermore,\n views with a percentage width, percentage x, or an x-position of\n 'center' or 'right' will also be disregarded. Note that 'left' is\n not ignored since it does not necessarily result in a circular\n constraint.

    \n

    Defaults to: 0

    This view's x-position. ...

    This view's x-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the x-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n x-position will constrained to a percent of the parent views\n inner width.

    \n\n

    3) Aligned Left: If the string 'left' is provided the x-position will\n be constrained so that the view's left bound is aligned with the\n inner left edge of the parent view. To clarify, aligning left is\n different from a fixed x-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Right: If the string 'right' is provided the x-position will\n be constrained so that the view's right bound is aligned with the\n inner right edge of the parent view. Like align left, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Center: If the string 'center' or 'middle' is provided the\n x-position will be constrained so that the midpoint of the width\n bound of the view is the same as the midpoint of the inner width of\n the parent view. Like align left, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed v...

    Sets the horizontal center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the x anchor will be a fixed\n pixel position.\n 2) Left: If the string 'left' is provided the left edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Right: If the string 'right' is provided the right edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n width of the view will be used.

    \n

    Defaults to: 0

    Sets this view's width scale ...

    Sets this view's width scale

    \n

    Defaults to: 1.0

    This view's y-position. ...

    This view's y-position. There are several categories of allowed values.

    \n\n

    1) Fixed: If a number is provided the y-position will be a fixed\n pixel position relative to the parent view.

    \n\n

    2) Percentage: If a number followed by a '%' sign is provided the\n y-position will constrained to a percent of the parent views\n inner height.

    \n\n

    3) Aligned Top: If the string 'top' is provided the y-position will\n be constrained so that the view's top bound is aligned with the\n inner top edge of the parent view. To clarify, aligning top is\n different from a fixed y-position of 0 since it accounts for\n transformations applied to the view.

    \n\n

    4) Aligned Bottom: If the string 'bottom' is provided the y-position\n will be constrained so that the view's bottom bound is aligned with\n the inner bottom edge of the parent view. Like align top, this means\n transformations applied to the view are accounted for.

    \n\n

    5) Aligned Middle: If the string 'middle' or 'center' is provided the\n y-position will be constrained so that the midpoint of the height\n bound of the view is the same as the midpoint of the inner height of\n the parent view. Like align top, this means transformations applied\n to the view are accounted for.

    \n

    Defaults to: 0

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed val...

    Sets the vertical center of the view's transformations (such as\nrotation) There are several categories of allowed values:\n 1) Fixed: If a number is provided the y anchor will be a fixed\n pixel position.\n 2) Top: If the string 'top' is provided the top edge of the view\n will be used. This is equivalent to a fixed value of 0.\n 3) Bottom: If the string 'bottom' is provided the bottom edge of the\n view will be used.\n 4) Center: If the string 'center' is provided the midpoint of the\n height of the view will be used.

    \n

    Defaults to: 0

    Sets this view's height scale ...

    Sets this view's height scale

    \n

    Defaults to: 1.0

    Sets this view's z position (higher values are on top of other views)\n\n(note: setting a 'z' value for a view implicit...

    Sets this view's z position (higher values are on top of other views)

    \n\n

    (note: setting a 'z' value for a view implicitly sets its parent's 'transform-style' to 'preserve-3d')

    \n

    Defaults to: 0

    Sets the z-axis center of the view's transformations (such as rotation) ...

    Sets the z-axis center of the view's transformations (such as rotation)

    \n

    Defaults to: 0

    Defined By

    Methods

    Adds a named reference to a subnode. ...

    Adds a named reference to a subnode.\n @param node:Node the node to add the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary. ...

    Gets the animation pool if it exists, or lazy instantiates it first\n if necessary.\n @returns dr.TrackActivesPool

    \n
    ...
    \n

    Parameters

    • event : Object
    ...
    \n

    Parameters

    • event : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ...
    \n

    Parameters

    • dr : Object
    ...
    \n

    Parameters

    • dr : Object
    Removes a named reference to a subnode. ...

    Removes a named reference to a subnode.\n @param node:Node the node to remove the name reference for.\n @returns void

    \n

    Parameters

    • node : Object
    ( type, v )private
    ...
    \n

    Parameters

    • type : Object
    • v : Object
    Returns a constraint string if the provided value matches an\n align special value. ...

    Returns a constraint string if the provided value matches an\n align special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    ( name, value, axis )private
    ...
    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    Returns a constraint string if the provided value matches a percent\n special value. ...

    Returns a constraint string if the provided value matches a percent\n special value.\n @private

    \n

    Parameters

    • name : Object
    • value : Object
    • axis : Object
    ( attrName, v, vertical, isBorder )private
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    • vertical : Object
    • isBorder : Object
    Updates the boundswidth and boundsheight attributes. ...

    Updates the boundswidth and boundsheight attributes.\n @private\n @returns void

    \n

    Parameters

    • forceUpdate : Object
    ...
    \n

    Parameters

    • attrName : Object
    • v : Object
    A convienence method to make a Node a child of this Node. ...

    A convienence method to make a Node a child of this Node. The\n standard way to do this is to call the set_parent method on the\n prospective child Node.\n @param node:Node the subnode to add.\n @returns This object for method chaining

    \n

    Parameters

    • node : Object

    Returns

    ( attr, to, from, relative, callback, duration, reverse, repeat, motion )
    Animates an attribute using the provided parameters. ...

    Animates an attribute using the provided parameters.\n @param attr:string/object the name of the attribute to animate. If\n an object is provided it should be the only argument and its keys\n should be the params of this method. This provides a more concise\n way of passing in sparse optional parameters.\n @param to:number the target value to animate to.\n @param from:number the target value to animate from. (optional)\n @param relative:boolean (optional)\n @param callback:function (optional)\n @param duration:number (optional)\n @param reverse:boolean (optional)\n @param repeat:number (optional)\n @param motion:function (optional)\n @returns The Animator being run.

    \n

    Parameters

    • attr : Object
    • to : Object
    • from : Object
    • relative : Object
    • callback : Object
    • duration : Object
    • reverse : Object
    • repeat : Object
    • motion : Object
    ( attrs, duration ) : dr.nodechainable
    Animate multiple attributes at once. ...

    Animate multiple attributes at once.\n @param attrs:object A dictionary of attribute names and values\n to animate to.\n @param duration:number (optional) The length of time in millis\n to run the animation for.\n @returns This object for method chaining.

    \n

    Parameters

    • attrs : Object
    • duration : Object

    Returns

    Removes the focus from this view. ...

    Removes the focus from this view. Do not call this method directly.\n @private\n @returns void

    \n
    Creates a new child node of this node. ...

    Creates a new child node of this node.\n @param attrs:object A dictionary of attributes to set on the\n new child.\n @param mixins:array An array of mixins to apply to the new child.\n @returns The new child or undefined if the child could not\n be created.

    \n

    Parameters

    • attrs : Object
    • mixins : Object
    @overrides dr.Destructible. ...

    @overrides dr.Destructible.

    \n

    Overrides: Eventable.destroy

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyAfterOrphaning

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.destroyBeforeOrphaning

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. ...

    Called from set_parent to determine where to insert a subnode in the node\n hierarchy. Subclasses will not typically override this method, but if\n they do, they probably won't need to call callSuper.\n @param placement:string the placement path to use.\n @param subnode:dr.Node the subnode being placed.\n @returns the Node to place a subnode into.

    \n

    Parameters

    • placement : Object
    • subnode : Object
    Provides a hook for subclasses to do things after this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things after this Node has its\n parent assigned.\n @returns void

    \n
    Provides a hook for subclasses to do things before this Node has its\n parent assigned. ...

    Provides a hook for subclasses to do things before this Node has its\n parent assigned. This would be the ideal place to create subviews\n so as to avoid unnecessary dom reflows. However, text size can't\n be measured until insertion into the DOM so you may want to use\n doAfterAdoption for creating subviews since it will give you less\n trouble though it will be slower.\n @returns void

    \n
    Called when a Layout is added to this View. ...

    Called when a Layout is added to this View. Do not call this method to\n add a Layout. Instead call addSubnode or set_parent.\n @param layout:Layout the layout that was added.\n @returns void

    \n

    Parameters

    • layout : Object
    Called when a Layout is removed from this View. ...

    Called when a Layout is removed from this View. Do not call this\n method to remove a Layout. Instead call removeSubnode or set_parent.\n @param layout:Layout the layout that was removed.\n @returns void

    \n

    Parameters

    • layout : Object
    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewAdded if the added subnode is a dr.View.\n @fires subviewAdded event with the provided Node if it's a View.\n @fires layoutAdded event with the provided node if it's a Layout.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeAdded

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View. ...

    @overrides dr.Node\n Calls this.doSubviewRemoved if the remove subnode is a dr.View.\n @fires subviewRemoved event with the provided Node if it's a View\n and removal succeeds.\n @fires layoutRemoved event with the provided Node if it's a Layout\n and removal succeeds.

    \n

    Parameters

    • node : Object

    Overrides: dr.node.doSubnodeRemoved

    Called when a View is added to this View. ...

    Called when a View is added to this View. Do not call this method to\n add a View. Instead call addSubnode or set_parent.\n @param sv:View the view that was added.\n @returns void

    \n

    Parameters

    • sv : Object
    Called when a View is removed from this View. ...

    Called when a View is removed from this View. Do not call this method\n to remove a View. Instead call removeSubnode or set_parent.\n @param sv:View the view that was removed.\n @returns void

    \n

    Parameters

    • sv : Object
    Calling this method will set focus onto this view if it is focusable. ...

    Calling this method will set focus onto this view if it is focusable.\n @param noScroll:boolean (optional) if true is provided no auto-scrolling\n will occur when focus is set.\n @returns void

    \n

    Parameters

    • noScroll : Object
    Gets the x and y position of the underlying dom element relative to\n the page. ...

    Gets the x and y position of the underlying dom element relative to\n the page. Transforms are not supported.\n @returns object with 'x' and 'y' keys or null if no position could\n be determined.

    \n
    Gets an array of the currently running animators that were created\n by calls to the animate method. ...

    Gets an array of the currently running animators that were created\n by calls to the animate method.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be included. If the provided values is a string it will\n be used as a matching attr name.\n @returns an array of active animators.

    \n

    Parameters

    • filterFunc : Object
    ( propertyName, propertyValue )
    Find the youngest ancestor Node that has a defined value for the\n property. ...

    Find the youngest ancestor Node that has a defined value for the\n property.\n @returns Node or undefined if no propertyName is provided or match found.

    \n

    Parameters

    • propertyName : Object
    • propertyValue : Object
    Gets an array of ancestor nodes including the node itself. ...

    Gets an array of ancestor nodes including the node itself.\n @returns array: The array of ancestor nodes.

    \n
    Gets the first sibling view. ...

    Gets the first sibling view.

    \n
    Finds the youngest ancestor (or self) that is a focustrap or focuscage. ...

    Finds the youngest ancestor (or self) that is a focustrap or focuscage.\n @param ignoreFocusTrap:boolean indicates focustraps should be\n ignored.\n @returns a View with focustrap set to true or null if not found.

    \n

    Parameters

    • ignoreFocusTrap : Object
    Gets the last sibling view. ...

    Gets the last sibling view.

    \n
    ( layoutName, hintName )
    Gets the value of a named layout hint. ...

    Gets the value of a named layout hint.\n @param layoutName:string The name of the layout to match.\n @param hintName:string The name of the hint to match.\n @return * The value of the hint or undefined if not found.

    \n

    Parameters

    • layoutName : Object
    • hintName : Object
    Gets the index of the provided Layout in the layouts array. ...

    Gets the index of the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns the index of the layout or -1 if not found.

    \n

    Parameters

    • layout : Object
    Does lazy instantiation of the layouts array. ...

    Does lazy instantiation of the layouts array.

    \n
    Gets the youngest common ancestor of this node and the provided node. ...

    Gets the youngest common ancestor of this node and the provided node.\n @param node:dr.Node The node to look for a common ancestor with.\n @returns The youngest common Node or null if none exists.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of the provided Node for which the\n matcher function returns true. ...

    Get the youngest ancestor of the provided Node for which the\n matcher function returns true.\n @param n:dr.Node the Node to start searching from. This Node is not\n tested, but its parent is.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function return...

    Get the closest ancestor of the provided Node or the Node itself for\n which the matcher function returns true.\n @param n:dr.Node the Node to start searching from.\n @param matcher:function the function to test for matching Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • n : Object
    • matcherFunc : Object
    Implement this method to return the next view that should have focus. ...

    Implement this method to return the next view that should have focus.\n If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the next sibling view of this view. ...

    Gets the next sibling view of this view.

    \n
    Implement this method to return the previous view that should have\n focus. ...

    Implement this method to return the previous view that should have\n focus. If null/undefined is returned or the method is not implemented,\n normal dom traversal will occur.

    \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the root Node for this Node. ...

    Gets the root Node for this Node. The root Node is the oldest\n ancestor or self that has no parent.\n @returns Node

    \n
    Gets the views that are our siblings. ...

    Gets the views that are our siblings.\n @returns array of dr.View or null if this view is orphaned.

    \n
    Gets the index of the provided Node in the subnodes array. ...

    Gets the index of the provided Node in the subnodes array.\n @param node:Node the subnode to get the index for.\n @returns the index of the subnode or -1 if not found.

    \n

    Parameters

    • node : Object
    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist. ...

    Gets the subnodes for this Node and does lazy instantiation of the\n subnodes array if no child Nodes exist.\n @returns array of subnodes.

    \n
    Gets the subview at the provided index. ...

    Gets the subview at the provided index.

    \n

    Parameters

    • index : Object
    Gets the index of the provided View in the subviews array. ...

    Gets the index of the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns the index of the subview or -1 if not found.

    \n

    Parameters

    • sv : Object
    @overrides ...

    @overrides

    \n

    Parameters

    • attrName : Object

    Overrides: dr.node.getTypeForAttrName

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element. ...

    Gives the focus to the next focusable element or, if nothing else\n is focusable, blurs away from this element.\n @returns void

    \n
    Checks if this View has the provided Layout in the layouts array. ...

    Checks if this View has the provided Layout in the layouts array.\n @param layout:Layout the layout to look for.\n @returns true if the layout is found, false otherwise.

    \n

    Parameters

    • layout : Object
    Checks if this Node has the provided Node in the subnodes array. ...

    Checks if this Node has the provided Node in the subnodes array.\n @param node:Node the subnode to check for.\n @returns true if the subnode is found, false otherwise.

    \n

    Parameters

    • node : Object
    Checks if this View has the provided View in the subviews array. ...

    Checks if this View has the provided View in the subviews array.\n @param sv:View the view to look for.\n @returns true if the subview is found, false otherwise.

    \n

    Parameters

    • sv : Object
    Called during initialization. ...

    Called during initialization. Calls setter methods and lastly, sets\n inited to true and initing to false. Subclasses must callSuper.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • attrs : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • parent : Object
    • attrs : Object

    Overrides: dr.node.initNode

    ( parent, attrs, mixins )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param parent:Node (or dom element for root views) (Optional) the\n parent of this Node.\n @param attrs:object (Optional) A map of attribute names and values.\n @param mixins:array (Optional) a list of mixins to be added onto\n the new instance.\n @returns void

    \n

    Parameters

    • parent : Object
    • attrs : Object
    • mixins : Object

    Overrides: Eventable.initialize

    Tests if this Node is an ancestor of the provided Node or is the\n node itself. ...

    Tests if this Node is an ancestor of the provided Node or is the\n node itself.\n @param node:Node the node to check for.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if this Node is a descendant of the provided Node or is the\n node itself. ...

    Tests if this Node is a descendant of the provided Node or is the\n node itself.\n @returns boolean

    \n

    Parameters

    • node : Object
    Tests if this view is in a state where it can receive focus. ...

    Tests if this view is in a state where it can receive focus.\n @returns boolean True if this view is visible, enabled, focusable and\n not focus masked, false otherwise.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param view:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Checks if this Node is a root Node. ...

    Checks if this Node is a root Node.\n @returns boolean

    \n
    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. ...

    Checks if this view is visible and each view in the parent chain to\n the root view is also visible. Dom elements are not explicitly\n checked. If you need to check that use dr.DomElementProxy.isDomElementVisible.\n @returns true if this view is visible, false otherwise.

    \n
    ( siblingView ) : dr.viewchainable
    Moves this view behind the provided sibling view. ...

    Moves this view behind the provided sibling view.\n @param {dr.view} The view to move behind.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    ( siblingView ) : dr.viewchainable
    Moves this view in front of the provided sibling view. ...

    Moves this view in front of the provided sibling view.\n @param {dr.view} The view to move in front of.\n @returns This object for chainability.

    \n

    Parameters

    • siblingView : Object

    Returns

    Moves this view behind all other sibling views. ...

    Moves this view behind all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    Moves this view in front of all other sibling views. ...

    Moves this view in front of all other sibling views.\n @returns This object for chainability.

    \n

    Returns

    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Overrides: dr.node.notifyReady

    A convienence method to make a Node no longer a child of this Node. ...

    A convienence method to make a Node no longer a child of this Node. The\n standard way to do this is to call the set_parent method with a value\n of null on the child Node.\n @param node:Node the subnode to remove.\n @returns the removed Node or null if removal failed.

    \n

    Parameters

    • node : Object
    Get the youngest ancestor of this Node for which the matcher function\n returns true. ...

    Get the youngest ancestor of this Node for which the matcher function\n returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestor(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Find the youngest ancestor Node that is an instance of the class. ...

    Find the youngest ancestor Node that is an instance of the class.\n @param klass the Class to search for.\n @returns Node or null if no klass is provided or match found.

    \n

    Parameters

    • klass : Object
    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. ...

    Get the youngest ancestor of this Node or the Node itself for which\n the matcher function returns true. This is a simple wrapper around\n dr.Node.getMatchingAncestorOrSelf(this, matcherFunc).\n @param matcherFunc:function the function to test for matching\n Nodes with.\n @returns Node or null if no match is found.

    \n

    Parameters

    • matcherFunc : Object
    Stores this instance in the global scope under the provided id. ...

    Stores this instance in the global scope under the provided id.

    \n

    Parameters

    • v : Object
    The 'name' of a Node allows it to be referenced by name from its\n parent node. ...

    The 'name' of a Node allows it to be referenced by name from its\n parent node. For example a Node named 'foo' that is a child of a\n Node stored in the var 'bar' would be referenced like this: bar.foo or\n bar['foo'].

    \n

    Parameters

    • name : Object
    Sets the provided Node as the new parent of this Node. ...

    Sets the provided Node as the new parent of this Node. This is the\n most direct method to do reparenting. You can also use the addSubnode\n method but it's just a wrapper around this setter.

    \n

    Parameters

    • newParent : Object
    Stops all active animations. ...

    Stops all active animations.\n @param filterFunc:function/string a function that filters which\n animations get stopped. The filter should return true for\n functions to be stopped. If the provided values is a string it will\n be used as a matching attr name.\n @returns This object for method chaining.

    \n

    Parameters

    • filterFunc : Object

    Returns

    ( processBeforeFunc, processAfterFunc ) : dr.nodechainable
    Walks the node tree depth first performing the provided\n process functions on each node. ...

    Walks the node tree depth first performing the provided\n process functions on each node.\n @param processBeforeFunc:function (optional) A function with a\n single argument which is this node. Called before walking the\n children of this node. Provide a falsey value to skip this\n processing.\n @param processAfterFunc:function (optional) A function with a\n single argument which is this node. Called after walking the\n children of this node.\n @returns This object for method chaining.

    \n

    Parameters

    • processBeforeFunc : Object
    • processAfterFunc : Object

    Returns

    Defined By

    Events

    Fired when this view is clicked ...

    Fired when this view is clicked

    \n

    Parameters

    Fired when a layout is added to this view ...

    Fired when a layout is added to this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was added

      \n
    Fired when a layout is removed from this view ...

    Fired when a layout is removed from this view

    \n

    Parameters

    • layout : dr.Layout

      The dr.layout that was removed

      \n
    Fired when the mouse goes down on this view ...

    Fired when the mouse goes down on this view

    \n

    Parameters

    Fired when the mouse moves off this view ...

    Fired when the mouse moves off this view

    \n

    Parameters

    Fired when the mouse moves over this view ...

    Fired when the mouse moves over this view

    \n

    Parameters

    Fired when the mouse goes up on this view ...

    Fired when the mouse goes up on this view

    \n

    Parameters

    Fired when the scroll position changes. ...

    Fired when the scroll position changes. Also provides information about\nthe scroll width and scroll height though it does not refire when those\nvalues change since the DOM does not generate an event when they do. This\nevent is typically delayed by a few millis after setting scrollx or\nscrolly since the underlying DOM event fires during the next DOM refresh\nperformed by the browser.

    \n

    Parameters

    • scroll : Object

      The following four properties are defined:\n scrollx:number The horizontal scroll position.\n scrolly:number The vertical scroll position.\n scrollwidth:number The width of the scrollable area. Note this is\n not the maximum value for scrollx since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollwidth - view.width + 2view.border\n scrollheight:number The height of the scrollable area. Note this is\n not the maximum value for scrolly since that depends on the bounds\n of the scrollable view. The maximum can be calculated using this\n formula: scrollheight - view.height + 2view.border

      \n
    Fired when a subview is added to this view ...

    Fired when a subview is added to this view

    \n

    Parameters

    Fired when a subview is removed from this view ...

    Fired when a subview is removed from this view

    \n

    Parameters

    Fired when the parent is set ...

    Fired when the parent is set

    \n

    Parameters

    • parent : dr.Node

      node

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/dr.wrappinglayout.js b/docs/api/output/dr.wrappinglayout.js index cc3c370..928a453 100644 --- a/docs/api/output/dr.wrappinglayout.js +++ b/docs/api/output/dr.wrappinglayout.js @@ -1 +1 @@ -Ext.data.JsonP.dr_wrappinglayout({"tagname":"class","name":"dr.wrappinglayout","autodetected":{},"files":[{"filename":"wrappinglayout.js","href":"wrappinglayout.html#dr-wrappinglayout"}],"extends":"dr.variablelayout","members":[{"name":"align","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-align","meta":{}},{"name":"attribute","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-inset","meta":{}},{"name":"justify","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-justify","meta":{}},{"name":"linealign","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-linealign","meta":{}},{"name":"lineinset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-lineinset","meta":{}},{"name":"lineoutset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-lineoutset","meta":{}},{"name":"linespacing","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-linespacing","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"doLineEnd","tagname":"method","owner":"dr.wrappinglayout","id":"method-doLineEnd","meta":{}},{"name":"doLineStart","tagname":"method","owner":"dr.wrappinglayout","id":"method-doLineStart","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}},{"name":"onlinecount","tagname":"event","owner":"dr.wrappinglayout","id":"event-onlinecount","meta":{}},{"name":"onmaxsize","tagname":"event","owner":"dr.wrappinglayout","id":"event-onmaxsize","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.wrappinglayout","short_doc":"An extension of variableLayout similar to spaced layout but with the\nadded functionality of wrapping the views onto a...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.baselayout

    Files

    An extension of variableLayout similar to spaced layout but with the\nadded functionality of wrapping the views onto a new line (or column\nif the axis is \"y\") whenever they would overflow the available space.\nThis layout positions views horizontally or vertically using an initial\ninset and spacing between each view. The outset is used in the\ncalculation of available space so that the last view in each line will\nhave at least \"outset\" space after it.

    \n\n

    Lines/Columns are positioned in a similar fashion to the individual views\nusing lineinset, linespacing and lineoutset. If updateparent is true\nthe lineoutset is used to leave space after the last line.

    \n\n

    A line break can be forced by using a \"break\" layouthint on a managed\nview. The layout hint \"break\" will force the subview to start a new\nline/column with that subview as the first view in the line/column.

    \n\n

    Since wrappinglayouts rely on the innerwidth/height of the parent view\nto determine when to wrap auto sizing on the parent view along the same\naxis as the wrappinglayout will result in unexpected behavior and\nshould therefore be avoided.

    \n\n
    <view width=\"500\" height=\"150\" bgcolor=\"#FFF4FC\">\n  <wrappinglayout axis=\"y\" spacing=\"2\" inset=\"5\" outset=\"5\" lineinset=\"10\" linespacing=\"5\" lineoutset=\"10\">\n  </wrappinglayout>\n\n  <view width=\"120\" height=\"35\" bgcolor=\"lightpink\"></view>\n  <view width=\"120\" height=\"45\" bgcolor=\"plum\" layouthint='{\"break\":true}'></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n</view>\n
    \n
    Defined By

    Attributes

    dr.wrappinglayout
    view source
    : String
    Aligns lines/columns left/top, right/bottom or center/middle. ...

    Aligns lines/columns left/top, right/bottom or center/middle. If\njustification is true this has no effect except on a line or column that\nhas only one item.

    \n

    Defaults to: 'left'

    dr.wrappinglayout
    view source
    : Objectprivate

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    dr.wrappinglayout
    view source
    : String
    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally with lines being\npositioned vertically below the preceding line. A value of 'y' will\norient the views vertically with columns positioned horizontally to\nthe right of the preceding column. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    dr.wrappinglayout
    view source
    : Number
    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : boolean
    Justifies lines/columns ...

    Justifies lines/columns

    \n

    Defaults to: false

    dr.wrappinglayout
    view source
    : String
    Aligns the items in a line relative to each other. ...

    Aligns the items in a line relative to each other. Supported values are\ntop/left, bottom/right and middle/center and none. If the value is\nnone, no line alignment will be performed which means transformed views\nmay overlap preceeding lines.

    \n

    Defaults to: 'none'

    dr.wrappinglayout
    view source
    : Number
    Space before the first line of views. ...

    Space before the first line of views.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    Space after the last line of views. ...

    Space after the last line of views. Only used when updateparent is true.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    The spacing between each line of views. ...

    The spacing between each line of views.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    Space after the last view. ...

    Space after the last view.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.wrappinglayout
    view source
    : Number
    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    dr.wrappinglayout
    view source
    ( lineindex, items, value ) : void
    Called at the end of the laying out of each line. ...

    Called at the end of the laying out of each line.

    \n

    Parameters

    • lineindex : Number

      The index of the line being layed out.

      \n
    • items : Array

      The items layed out in the line in the order they\nwere layed out.

      \n
    • value : *

      The value at the end of laying out the line.

      \n

    Returns

    • void
      \n
    dr.wrappinglayout
    view source
    ( lineindex, value ) : void
    Called at the start of the laying out of each line. ...

    Called at the start of the laying out of each line.

    \n

    Parameters

    • lineindex : Number

      The index of the line being layed out.

      \n
    • value : *

      The value at the start of laying out the line.

      \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    Defined By

    Events

    dr.wrappinglayout
    view source
    ( The )
    Fired after update. ...

    Fired after update.

    \n

    Parameters

    • The : Number

      number of lines layed out for x-axis layouts or\ncolumns for layed out for y-axis layouts.

      \n
    dr.wrappinglayout
    view source
    ( The )
    Fired after update. ...

    Fired after update.

    \n

    Parameters

    • The : Number

      maximum width achieved by any line for x-axis layouts\nor maximum height achieved by any column for y-axis layouts.

      \n
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.dr_wrappinglayout({"tagname":"class","name":"dr.wrappinglayout","autodetected":{},"files":[{"filename":"wrappinglayout.js","href":"wrappinglayout.html#dr-wrappinglayout"}],"extends":"dr.variablelayout","members":[{"name":"align","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-align","meta":{}},{"name":"attribute","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-attribute","meta":{"private":true}},{"name":"axis","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-axis","meta":{}},{"name":"inset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-inset","meta":{}},{"name":"justify","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-justify","meta":{}},{"name":"linealign","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-linealign","meta":{}},{"name":"lineinset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-lineinset","meta":{}},{"name":"lineoutset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-lineoutset","meta":{}},{"name":"linespacing","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-linespacing","meta":{}},{"name":"outset","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-outset","meta":{}},{"name":"reverse","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-reverse","meta":{}},{"name":"spacing","tagname":"attribute","owner":"dr.wrappinglayout","id":"attribute-spacing","meta":{}},{"name":"updateparent","tagname":"attribute","owner":"dr.variablelayout","id":"attribute-updateparent","meta":{}},{"name":"value","tagname":"attribute","owner":"dr.constantlayout","id":"attribute-value","meta":{}},{"name":"__addSubview","tagname":"method","owner":"dr.layout","id":"method-__addSubview","meta":{"private":true}},{"name":"__notifyReady","tagname":"method","owner":"dr.layout","id":"method-__notifyReady","meta":{"private":true}},{"name":"__removeSubview","tagname":"method","owner":"dr.layout","id":"method-__removeSubview","meta":{"private":true}},{"name":"addSubview","tagname":"method","owner":"dr.layout","id":"method-addSubview","meta":{}},{"name":"canUpdate","tagname":"method","owner":"dr.layout","id":"method-canUpdate","meta":{}},{"name":"doAfterUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doAfterUpdate","meta":{}},{"name":"doBeforeUpdate","tagname":"method","owner":"dr.variablelayout","id":"method-doBeforeUpdate","meta":{}},{"name":"doLineEnd","tagname":"method","owner":"dr.wrappinglayout","id":"method-doLineEnd","meta":{}},{"name":"doLineStart","tagname":"method","owner":"dr.wrappinglayout","id":"method-doLineStart","meta":{}},{"name":"ignore","tagname":"method","owner":"dr.layout","id":"method-ignore","meta":{}},{"name":"removeSubview","tagname":"method","owner":"dr.layout","id":"method-removeSubview","meta":{}},{"name":"skipSubview","tagname":"method","owner":"dr.variablelayout","id":"method-skipSubview","meta":{}},{"name":"startMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-startMonitoringAllSubviews","meta":{}},{"name":"startMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-startMonitoringSubview","meta":{}},{"name":"startMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-startMonitoringSubviewForIgnore","meta":{}},{"name":"stopMonitoringAllSubviews","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringAllSubviews","meta":{}},{"name":"stopMonitoringSubview","tagname":"method","owner":"dr.variablelayout","id":"method-stopMonitoringSubview","meta":{}},{"name":"stopMonitoringSubviewForIgnore","tagname":"method","owner":"dr.layout","id":"method-stopMonitoringSubviewForIgnore","meta":{}},{"name":"update","tagname":"method","owner":"dr.constantlayout","id":"method-update","meta":{}},{"name":"updateParent","tagname":"method","owner":"dr.variablelayout","id":"method-updateParent","meta":{}},{"name":"updateSubview","tagname":"method","owner":"dr.variablelayout","id":"method-updateSubview","meta":{}},{"name":"onlinecount","tagname":"event","owner":"dr.wrappinglayout","id":"event-onlinecount","meta":{}},{"name":"onmaxsize","tagname":"event","owner":"dr.wrappinglayout","id":"event-onmaxsize","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-dr.wrappinglayout","short_doc":"An extension of variableLayout similar to spaced layout but with the\nadded functionality of wrapping the views onto a...","component":false,"superclasses":["dr.baselayout","dr.layout","dr.constantlayout","dr.variablelayout"],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Hierarchy

    dr.baselayout

    Files

    An extension of variableLayout similar to spaced layout but with the\nadded functionality of wrapping the views onto a new line (or column\nif the axis is \"y\") whenever they would overflow the available space.\nThis layout positions views horizontally or vertically using an initial\ninset and spacing between each view. The outset is used in the\ncalculation of available space so that the last view in each line will\nhave at least \"outset\" space after it.

    \n\n

    Lines/Columns are positioned in a similar fashion to the individual views\nusing lineinset, linespacing and lineoutset. If updateparent is true\nthe lineoutset is used to leave space after the last line.

    \n\n

    A line break can be forced by using a \"break\" layouthint on a managed\nview. The layout hint \"break\" will force the subview to start a new\nline/column with that subview as the first view in the line/column.

    \n\n

    Since wrappinglayouts rely on the innerwidth/height of the parent view\nto determine when to wrap auto sizing on the parent view along the same\naxis as the wrappinglayout will result in unexpected behavior and\nshould therefore be avoided.

    \n\n
    <view width=\"500\" height=\"150\" bgcolor=\"#FFF4FC\">\n  <wrappinglayout axis=\"y\" spacing=\"2\" inset=\"5\" outset=\"5\" lineinset=\"10\" linespacing=\"5\" lineoutset=\"10\">\n  </wrappinglayout>\n\n  <view width=\"120\" height=\"35\" bgcolor=\"lightpink\"></view>\n  <view width=\"120\" height=\"45\" bgcolor=\"plum\" layouthint='{\"break\":true}'></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n  <view width=\"120\" height=\"25\" bgcolor=\"lightblue\"></view>\n</view>\n
    \n
    Defined By

    Attributes

    dr.wrappinglayout
    view source
    : String
    Aligns lines/columns left/top, right/bottom or center/middle. ...

    Aligns lines/columns left/top, right/bottom or center/middle. If\njustification is true this has no effect except on a line or column that\nhas only one item.

    \n

    Defaults to: 'left'

    dr.wrappinglayout
    view source
    : Objectprivate

    The axis attribute is an alias for this attribute.

    \n

    The axis attribute is an alias for this attribute.

    \n

    Overrides: dr.constantlayout.attribute

    dr.wrappinglayout
    view source
    : String
    The orientation of the layout. ...

    The orientation of the layout. Supported values are 'x' and 'y'.\nA value of 'x' will orient the views horizontally with lines being\npositioned vertically below the preceding line. A value of 'y' will\norient the views vertically with columns positioned horizontally to\nthe right of the preceding column. This is an alias for the \"attribute\"\nattribute.

    \n

    Defaults to: 'x'

    dr.wrappinglayout
    view source
    : Number
    Space before the first view. ...

    Space before the first view. This is an alias for the \"value\" attribute.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : boolean
    Justifies lines/columns ...

    Justifies lines/columns

    \n

    Defaults to: false

    dr.wrappinglayout
    view source
    : String
    Aligns the items in a line relative to each other. ...

    Aligns the items in a line relative to each other. Supported values are\ntop/left, bottom/right and middle/center and none. If the value is\nnone, no line alignment will be performed which means transformed views\nmay overlap preceeding lines.

    \n

    Defaults to: 'none'

    dr.wrappinglayout
    view source
    : Number
    Space before the first line of views. ...

    Space before the first line of views.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    Space after the last line of views. ...

    Space after the last line of views. Only used when updateparent is true.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    The spacing between each line of views. ...

    The spacing between each line of views.

    \n

    Defaults to: 0

    dr.wrappinglayout
    view source
    : Number
    Space after the last view. ...

    Space after the last view.

    \n

    Defaults to: 0

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. ...

    If true the layout will run through the views in the opposite order when\ncalling updateSubview. For subclasses of variablelayout this will\ntypically result in views being layed out in the opposite direction,\nright to left instead of left to right, bottom to top instead of top to\nbottom, etc.

    \n

    Defaults to: false

    dr.wrappinglayout
    view source
    : Number
    The spacing between views. ...

    The spacing between views.

    \n

    Defaults to: 0

    If true the updateParent method of the variablelayout will be called. ...

    If true the updateParent method of the variablelayout will be called.\nThe updateParent method provides an opportunity for the layout to\nmodify the parent view in some way each time update completes. A typical\nimplementation is to resize the parent to fit the newly layed out child\nviews.

    \n

    Defaults to: false

    The speed of an animated update of the managed views. ...

    The speed of an animated update of the managed views. If 0 no animation\nwill be performed

    \n

    Defaults to: 0

    Defined By

    Methods

    ...
    \n

    Parameters

    • view : Object
    ...
    \n

    Parameters

    • view : Object
    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and up...

    Adds the provided view to the subviews array of this layout, starts\n monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to add to this layout.\n @return {void}

    \n

    Parameters

    • view : Object
    Checks if the layout can be updated right now or not. ...

    Checks if the layout can be updated right now or not. Should be called\n by the \"update\" method of the layout to check if it is OK to do the\n update. The default implementation checks if the layout is locked and\n the parent is inited.\n @return {boolean} true if not locked, false otherwise.

    \n
    Called by the update method after any processing is done but before the\noptional updateParent method is called. ...

    Called by the update method after any processing is done but before the\noptional updateParent method is called. This method gives the variablelayout\na chance to do any special teardown after updateSubview has been called\nfor each managed view.

    \n

    Parameters

    • value : *

      The last value calculated by the updateSubview calls.

      \n

    Returns

    • void
      \n
    Called by the update method before any processing is done. ...

    Called by the update method before any processing is done. This method\ngives the variablelayout a chance to do any special setup before update is\nprocessed for each view. This is a good place to calculate any values\nthat will be needed during the calls to updateSubview.

    \n

    Returns

    • void
      \n
    dr.wrappinglayout
    view source
    ( lineindex, items, value ) : void
    Called at the end of the laying out of each line. ...

    Called at the end of the laying out of each line.

    \n

    Parameters

    • lineindex : Number

      The index of the line being layed out.

      \n
    • items : Array

      The items layed out in the line in the order they\nwere layed out.

      \n
    • value : *

      The value at the end of laying out the line.

      \n

    Returns

    • void
      \n
    dr.wrappinglayout
    view source
    ( lineindex, value ) : void
    Called at the start of the laying out of each line. ...

    Called at the start of the laying out of each line.

    \n

    Parameters

    • lineindex : Number

      The index of the line being layed out.

      \n
    • value : *

      The value at the start of laying out the line.

      \n

    Returns

    • void
      \n
    Checks if a subview can be added to this Layout or not. ...

    Checks if a subview can be added to this Layout or not. The default\n implementation checks the 'ignorelayout' attributes of the subview.\n @param {dr.view} view The view to check.\n @return {boolean} True means the subview will be skipped, false otherwise.

    \n

    Parameters

    • view : Object
    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes an...

    Removes the provided View from the subviews array of this Layout,\n stops monitoring the view for changes and updates the layout.\n @param {dr.view} view The view to remove from this layout.\n @return {number} the index of the removed subview or -1 if not removed.

    \n

    Parameters

    • view : Object
    Called for each subview in the layout to determine if the view should\nbe updated or not. ...

    Called for each subview in the layout to determine if the view should\nbe updated or not. The default implementation returns true if the\nsubview is not visible since views that can't be seen don't typically\nneed to be positioned. You could implement your own skipSubview method\nto use other attributes of a view to determine if a view should be\nupdated or not. An important point is that skipped views are still\nmonitored by the layout. Therefore, if you use a different attribute to\ndetermine wether to skip a view or not you should probably also provide\ncustom implementations of startMonitoringSubview and stopMonitoringSubview\nso that when the attribute changes to/from a value that would result in\nthe view being skipped the layout will update.

    \n

    Parameters

    • view : dr.view

      The subview to check.

      \n

    Returns

    • Boolean

      True if the subview should be skipped during\n layout updates.

      \n
    Calls startMonitoringSubview for all views. ...

    Calls startMonitoringSubview for all views. Used by layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes. Monitoring the visible attribute of\na view is useful since most layouts will want to \"reflow\" as views\nbecome visible or hidden.

    \n

    Parameters

    Overrides: dr.layout.startMonitoringSubview

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine ...

    Use this method to add listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each listenTo should look like: this.listenTo(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Calls stopMonitoringSubview for all views. ...

    Calls stopMonitoringSubview for all views. Used by Layout\n implementations when a change occurs to the layout that requires\n refreshing all the subview monitoring.\n @return {void}

    \n
    Provides a default implementation that calls update when the\nvisibility of a subview changes. ...

    Provides a default implementation that calls update when the\nvisibility of a subview changes.

    \n

    Parameters

    Overrides: dr.layout.stopMonitoringSubview

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determi...

    Use this method to remove listeners for any properties that need to be\n monitored on a subview that determine if it will be ignored by the layout.\n Each stopListening should look like: this.stopListening(view, propname, func)\n The default implementation monitors ignorelayout.\n @param {dr.view} view The view to monitor.\n @return {void}

    \n

    Parameters

    • view : Object
    • func : Object
    Set the attribute to the value on every subview managed by this layout. ...

    Set the attribute to the value on every subview managed by this layout.

    \n

    Overrides: dr.layout.update

    ( attribute, value, count ) : void
    Called if the updateparent attribute is true. ...

    Called if the updateparent attribute is true. Subclasses should\nimplement this if they want to modify the parent view.

    \n

    Parameters

    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the parent.

      \n
    • count : Number

      The number of views that were layed out.

      \n

    Returns

    • void
      \n
    ( count, view, attribute, value ) : *
    Called for each subview in the layout. ...

    Called for each subview in the layout.

    \n

    Parameters

    • count : Number

      The number of subviews that have been layed out\n including the current one. i.e. count will be 1 for the first\n subview layed out.

      \n
    • view : dr.view

      The subview being layed out.

      \n
    • attribute : String

      The name of the attribute to update.

      \n
    • value : *

      The value to set on the subview.

      \n

    Returns

    • *

      The value to use for the next subview.

      \n
    Defined By

    Events

    dr.wrappinglayout
    view source
    ( The )
    Fired after update. ...

    Fired after update.

    \n

    Parameters

    • The : Number

      number of lines layed out for x-axis layouts or\ncolumns for layed out for y-axis layouts.

      \n
    dr.wrappinglayout
    view source
    ( The )
    Fired after update. ...

    Fired after update.

    \n

    Parameters

    • The : Number

      maximum width achieved by any line for x-axis layouts\nor maximum height achieved by any column for y-axis layouts.

      \n
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/output/global.js b/docs/api/output/global.js index 6ce5272..4c0e557 100644 --- a/docs/api/output/global.js +++ b/docs/api/output/global.js @@ -1 +1 @@ -Ext.data.JsonP.global({"tagname":"class","name":"global","alternateClassNames":[],"members":[{"name":"","tagname":"property","owner":"global","id":"property-","meta":{}},{"name":"CONFIG_ATTR_NAMES","tagname":"property","owner":"global","id":"property-CONFIG_ATTR_NAMES","meta":{}},{"name":"CONSTRAINT_FUNCTION_NAMES","tagname":"property","owner":"global","id":"property-CONSTRAINT_FUNCTION_NAMES","meta":{}},{"name":"DEFAULT_ACTIVATION_KEYS","tagname":"property","owner":"global","id":"property-DEFAULT_ACTIVATION_KEYS","meta":{}},{"name":"EVENT_TYPES","tagname":"property","owner":"global","id":"property-EVENT_TYPES","meta":{}},{"name":"GETTER_NAMES","tagname":"property","owner":"global","id":"property-GETTER_NAMES","meta":{}},{"name":"IDdictionary","tagname":"property","owner":"global","id":"property-IDdictionary","meta":{}},{"name":"PLATFORM_EVENTS","tagname":"property","owner":"global","id":"property-PLATFORM_EVENTS","meta":{}},{"name":"SETTER_NAMES","tagname":"property","owner":"global","id":"property-SETTER_NAMES","meta":{}},{"name":"__GUID_COUNTER","tagname":"property","owner":"global","id":"property-__GUID_COUNTER","meta":{}},{"name":"addEventListener","tagname":"property","owner":"global","id":"property-addEventListener","meta":{}},{"name":"isArray","tagname":"property","owner":"global","id":"property-isArray","meta":{}},{"name":"keys","tagname":"property","owner":"global","id":"property-keys","meta":{}},{"name":"now","tagname":"property","owner":"global","id":"property-now","meta":{}},{"name":"pendingEventQueue","tagname":"property","owner":"global","id":"property-pendingEventQueue","meta":{}},{"name":"platform","tagname":"property","owner":"global","id":"property-platform","meta":{}},{"name":"__WebkitPositionHack","tagname":"method","owner":"global","id":"method-__WebkitPositionHack","meta":{"private":true}},{"name":"__advance","tagname":"method","owner":"global","id":"method-__advance","meta":{"private":true}},{"name":"__calculateLoopTime","tagname":"method","owner":"global","id":"method-__calculateLoopTime","meta":{"private":true}},{"name":"__calculateRemainder","tagname":"method","owner":"global","id":"method-__calculateRemainder","meta":{"private":true}},{"name":"__calculateTotalDuration","tagname":"method","owner":"global","id":"method-__calculateTotalDuration","meta":{"private":true}},{"name":"__comparePosition","tagname":"method","owner":"global","id":"method-__comparePosition","meta":{"private":true}},{"name":"__doContextMenu","tagname":"method","owner":"global","id":"method-__doContextMenu","meta":{"private":true}},{"name":"__doDragCheck","tagname":"method","owner":"global","id":"method-__doDragCheck","meta":{"private":true}},{"name":"__doMouseDown","tagname":"method","owner":"global","id":"method-__doMouseDown","meta":{"private":true}},{"name":"__doMouseOverOnIdle","tagname":"method","owner":"global","id":"method-__doMouseOverOnIdle","meta":{"private":true}},{"name":"__doMouseUp","tagname":"method","owner":"global","id":"method-__doMouseUp","meta":{"private":true}},{"name":"__findModelForDomElement","tagname":"method","owner":"global","id":"method-__findModelForDomElement","meta":{}},{"name":"__fireEvent","tagname":"method","owner":"global","id":"method-__fireEvent","meta":{}},{"name":"__focusTraverse","tagname":"method","owner":"global","id":"method-__focusTraverse","meta":{}},{"name":"__getColorValue","tagname":"method","owner":"global","id":"method-__getColorValue","meta":{"private":true}},{"name":"__getComputedStyle","tagname":"method","owner":"global","id":"method-__getComputedStyle","meta":{}},{"name":"__getDeepestDescendant","tagname":"method","owner":"global","id":"method-__getDeepestDescendant","meta":{}},{"name":"__getIntersection","tagname":"method","owner":"global","id":"method-__getIntersection","meta":{"private":true}},{"name":"__handleFocused","tagname":"method","owner":"global","id":"method-__handleFocused","meta":{"private":true}},{"name":"__handleKeyDown","tagname":"method","owner":"global","id":"method-__handleKeyDown","meta":{"private":true}},{"name":"__handleKeyPress","tagname":"method","owner":"global","id":"method-__handleKeyPress","meta":{"private":true}},{"name":"__handleKeyUp","tagname":"method","owner":"global","id":"method-__handleKeyUp","meta":{"private":true}},{"name":"__handleResizeEvent","tagname":"method","owner":"global","id":"method-__handleResizeEvent","meta":{"private":true}},{"name":"__isDomElementVisible","tagname":"method","owner":"global","id":"method-__isDomElementVisible","meta":{}},{"name":"__isFlipped","tagname":"method","owner":"global","id":"method-__isFlipped","meta":{"private":true}},{"name":"__listenToDocument","tagname":"method","owner":"global","id":"method-__listenToDocument","meta":{"private":true}},{"name":"__notifyAnimators","tagname":"method","owner":"global","id":"method-__notifyAnimators","meta":{"private":true}},{"name":"__requestDragPosition","tagname":"method","owner":"global","id":"method-__requestDragPosition","meta":{"private":true}},{"name":"__resetProgress","tagname":"method","owner":"global","id":"method-__resetProgress","meta":{"private":true}},{"name":"__shouldPreventDefault","tagname":"method","owner":"global","id":"method-__shouldPreventDefault","meta":{"private":true}},{"name":"__skipX","tagname":"method","owner":"global","id":"method-__skipX","meta":{}},{"name":"__skipY","tagname":"method","owner":"global","id":"method-__skipY","meta":{"private":true}},{"name":"__unlistenToDocument","tagname":"method","owner":"global","id":"method-__unlistenToDocument","meta":{"private":true}},{"name":"__update","tagname":"method","owner":"global","id":"method-__update","meta":{"private":true}},{"name":"__updateDuration","tagname":"method","owner":"global","id":"method-__updateDuration","meta":{"private":true}},{"name":"__updateMultiline","tagname":"method","owner":"global","id":"method-__updateMultiline","meta":{"private":true}},{"name":"__updateOverflow","tagname":"method","owner":"global","id":"method-__updateOverflow","meta":{"private":true}},{"name":"__updatePointerEvents","tagname":"method","owner":"global","id":"method-__updatePointerEvents","meta":{"private":true}},{"name":"__updateViewSize","tagname":"method","owner":"global","id":"method-__updateViewSize","meta":{"private":true}},{"name":"__watchForAbort","tagname":"method","owner":"global","id":"method-__watchForAbort","meta":{"private":true}},{"name":"add","tagname":"method","owner":"global","id":"method-add","meta":{"chainable":true}},{"name":"addRoot","tagname":"method","owner":"global","id":"method-addRoot","meta":{}},{"name":"applyDiff","tagname":"method","owner":"global","id":"method-applyDiff","meta":{"chainable":true}},{"name":"attachObserver","tagname":"method","owner":"global","id":"method-attachObserver","meta":{}},{"name":"bindConstraint","tagname":"method","owner":"global","id":"method-bindConstraint","meta":{"private":true}},{"name":"browser","tagname":"method","owner":"global","id":"method-browser","meta":{}},{"name":"callOnIdle","tagname":"method","owner":"global","id":"method-callOnIdle","meta":{}},{"name":"clean","tagname":"method","owner":"global","id":"method-clean","meta":{}},{"name":"cleanChannelValue","tagname":"method","owner":"global","id":"method-cleanChannelValue","meta":{}},{"name":"clear","tagname":"method","owner":"global","id":"method-clear","meta":{}},{"name":"clone","tagname":"method","owner":"global","id":"method-clone","meta":{}},{"name":"closeTo","tagname":"method","owner":"global","id":"method-closeTo","meta":{}},{"name":"constraintify","tagname":"method","owner":"global","id":"method-constraintify","meta":{"private":true}},{"name":"createElement","tagname":"method","owner":"global","id":"method-createElement","meta":{}},{"name":"createPlatformMethodRef","tagname":"method","owner":"global","id":"method-createPlatformMethodRef","meta":{}},{"name":"degreesToRadians","tagname":"method","owner":"global","id":"method-degreesToRadians","meta":{}},{"name":"destroy","tagname":"method","owner":"global","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"global","id":"method-destroyAfterOrphaning","meta":{}},{"name":"detachAllObservers","tagname":"method","owner":"global","id":"method-detachAllObservers","meta":{}},{"name":"detachObserver","tagname":"method","owner":"global","id":"method-detachObserver","meta":{}},{"name":"divide","tagname":"method","owner":"global","id":"method-divide","meta":{"chainable":true}},{"name":"doActivated","tagname":"method","owner":"global","id":"method-doActivated","meta":{}},{"name":"doActivationKeyAborted","tagname":"method","owner":"global","id":"method-doActivationKeyAborted","meta":{}},{"name":"doActivationKeyDown","tagname":"method","owner":"global","id":"method-doActivationKeyDown","meta":{}},{"name":"doActivationKeyUp","tagname":"method","owner":"global","id":"method-doActivationKeyUp","meta":{}},{"name":"doDisabled","tagname":"method","owner":"global","id":"method-doDisabled","meta":{}},{"name":"doLoop","tagname":"method","owner":"global","id":"method-doLoop","meta":{"private":true}},{"name":"doMouseDown","tagname":"method","owner":"global","id":"method-doMouseDown","meta":{}},{"name":"doMouseOut","tagname":"method","owner":"global","id":"method-doMouseOut","meta":{}},{"name":"doMouseOver","tagname":"method","owner":"global","id":"method-doMouseOver","meta":{}},{"name":"doMouseUp","tagname":"method","owner":"global","id":"method-doMouseUp","meta":{}},{"name":"doMouseUpInside","tagname":"method","owner":"global","id":"method-doMouseUpInside","meta":{}},{"name":"doMouseUpOutside","tagname":"method","owner":"global","id":"method-doMouseUpOutside","meta":{}},{"name":"doResolve","tagname":"method","owner":"global","id":"method-doResolve","meta":{}},{"name":"doSmoothMouseOver","tagname":"method","owner":"global","id":"method-doSmoothMouseOver","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"global","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"global","id":"method-doSubnodeRemoved","meta":{}},{"name":"drawActiveState","tagname":"method","owner":"global","id":"method-drawActiveState","meta":{}},{"name":"drawDisabledState","tagname":"method","owner":"global","id":"method-drawDisabledState","meta":{}},{"name":"drawFocusedState","tagname":"method","owner":"global","id":"method-drawFocusedState","meta":{}},{"name":"drawHoverState","tagname":"method","owner":"global","id":"method-drawHoverState","meta":{}},{"name":"drawReadyState","tagname":"method","owner":"global","id":"method-drawReadyState","meta":{}},{"name":"dumpStack","tagname":"method","owner":"global","id":"method-dumpStack","meta":{}},{"name":"editor","tagname":"method","owner":"global","id":"method-editor","meta":{}},{"name":"extend","tagname":"method","owner":"global","id":"method-extend","meta":{}},{"name":"extractConstraintExpression","tagname":"method","owner":"global","id":"method-extractConstraintExpression","meta":{"private":true}},{"name":"generateConfigAttrName","tagname":"method","owner":"global","id":"method-generateConfigAttrName","meta":{}},{"name":"generateConstraintFunctionName","tagname":"method","owner":"global","id":"method-generateConstraintFunctionName","meta":{}},{"name":"generateGetterName","tagname":"method","owner":"global","id":"method-generateGetterName","meta":{}},{"name":"generateGuid","tagname":"method","owner":"global","id":"method-generateGuid","meta":{}},{"name":"generateName","tagname":"method","owner":"global","id":"method-generateName","meta":{}},{"name":"generateSetterName","tagname":"method","owner":"global","id":"method-generateSetterName","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"global","id":"method-getAbsolutePosition","meta":{}},{"name":"getAncestorArray","tagname":"method","owner":"global","id":"method-getAncestorArray","meta":{}},{"name":"getAttribute","tagname":"method","owner":"global","id":"method-getAttribute","meta":{}},{"name":"getBlueChannel","tagname":"method","owner":"global","id":"method-getBlueChannel","meta":{}},{"name":"getBoundingBox","tagname":"method","owner":"global","id":"method-getBoundingBox","meta":{}},{"name":"getBounds","tagname":"method","owner":"global","id":"method-getBounds","meta":{}},{"name":"getCaretPosition","tagname":"method","owner":"global","id":"method-getCaretPosition","meta":{}},{"name":"getColorNumber","tagname":"method","owner":"global","id":"method-getColorNumber","meta":{}},{"name":"getDiffFrom","tagname":"method","owner":"global","id":"method-getDiffFrom","meta":{}},{"name":"getDragViews","tagname":"method","owner":"global","id":"method-getDragViews","meta":{}},{"name":"getGreenChannel","tagname":"method","owner":"global","id":"method-getGreenChannel","meta":{}},{"name":"getHeight","tagname":"method","owner":"global","id":"method-getHeight","meta":{}},{"name":"getHtmlHexString","tagname":"method","owner":"global","id":"method-getHtmlHexString","meta":{}},{"name":"getInnerHTML","tagname":"method","owner":"global","id":"method-getInnerHTML","meta":{}},{"name":"getLighterColor","tagname":"method","owner":"global","id":"method-getLighterColor","meta":{}},{"name":"getObservables","tagname":"method","owner":"global","id":"method-getObservables","meta":{}},{"name":"getObservers","tagname":"method","owner":"global","id":"method-getObservers","meta":{}},{"name":"getRedChannel","tagname":"method","owner":"global","id":"method-getRedChannel","meta":{}},{"name":"getRoots","tagname":"method","owner":"global","id":"method-getRoots","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"global","id":"method-getTypeForAttrName","meta":{"private":true}},{"name":"getWidth","tagname":"method","owner":"global","id":"method-getWidth","meta":{}},{"name":"handleFocusChange","tagname":"method","owner":"global","id":"method-handleFocusChange","meta":{"private":true}},{"name":"hasObservables","tagname":"method","owner":"global","id":"method-hasObservables","meta":{}},{"name":"hasObservers","tagname":"method","owner":"global","id":"method-hasObservers","meta":{}},{"name":"initNode","tagname":"method","owner":"global","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"global","id":"method-initialize","meta":{}},{"name":"isAcceleratorKeyDown","tagname":"method","owner":"global","id":"method-isAcceleratorKeyDown","meta":{}},{"name":"isAltKeyDown","tagname":"method","owner":"global","id":"method-isAltKeyDown","meta":{}},{"name":"isBehind","tagname":"method","owner":"global","id":"method-isBehind","meta":{}},{"name":"isCommandKeyDown","tagname":"method","owner":"global","id":"method-isCommandKeyDown","meta":{}},{"name":"isConstraintExpression","tagname":"method","owner":"global","id":"method-isConstraintExpression","meta":{"private":true}},{"name":"isControlKeyDown","tagname":"method","owner":"global","id":"method-isControlKeyDown","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"global","id":"method-isInFrontOf","meta":{}},{"name":"isKeyDown","tagname":"method","owner":"global","id":"method-isKeyDown","meta":{}},{"name":"isLighterThan","tagname":"method","owner":"global","id":"method-isLighterThan","meta":{}},{"name":"isListeningTo","tagname":"method","owner":"global","id":"method-isListeningTo","meta":{}},{"name":"isPlatformEvent","tagname":"method","owner":"global","id":"method-isPlatformEvent","meta":{}},{"name":"isShiftKeyDown","tagname":"method","owner":"global","id":"method-isShiftKeyDown","meta":{}},{"name":"listenTo","tagname":"method","owner":"global","id":"method-listenTo","meta":{"chainable":true}},{"name":"listenToOnce","tagname":"method","owner":"global","id":"method-listenToOnce","meta":{}},{"name":"listenToPlatform","tagname":"method","owner":"global","id":"method-listenToPlatform","meta":{}},{"name":"makeColorFromHexString","tagname":"method","owner":"global","id":"method-makeColorFromHexString","meta":{}},{"name":"makeColorFromNumber","tagname":"method","owner":"global","id":"method-makeColorFromNumber","meta":{}},{"name":"makeColorNumberFromChannels","tagname":"method","owner":"global","id":"method-makeColorNumberFromChannels","meta":{}},{"name":"makePuppet","tagname":"method","owner":"global","id":"method-makePuppet","meta":{"private":true}},{"name":"memoize","tagname":"method","owner":"global","id":"method-memoize","meta":{}},{"name":"moveBehind","tagname":"method","owner":"global","id":"method-moveBehind","meta":{}},{"name":"moveInFrontOf","tagname":"method","owner":"global","id":"method-moveInFrontOf","meta":{}},{"name":"moveToBack","tagname":"method","owner":"global","id":"method-moveToBack","meta":{}},{"name":"moveToFront","tagname":"method","owner":"global","id":"method-moveToFront","meta":{}},{"name":"multiply","tagname":"method","owner":"global","id":"method-multiply","meta":{"chainable":true}},{"name":"next","tagname":"method","owner":"global","id":"method-next","meta":{}},{"name":"noop","tagname":"method","owner":"global","id":"method-noop","meta":{}},{"name":"notify","tagname":"method","owner":"global","id":"method-notify","meta":{}},{"name":"notifyBlur","tagname":"method","owner":"global","id":"method-notifyBlur","meta":{}},{"name":"notifyDebug","tagname":"method","owner":"global","id":"method-notifyDebug","meta":{}},{"name":"notifyError","tagname":"method","owner":"global","id":"method-notifyError","meta":{}},{"name":"notifyFocus","tagname":"method","owner":"global","id":"method-notifyFocus","meta":{}},{"name":"notifyMsg","tagname":"method","owner":"global","id":"method-notifyMsg","meta":{}},{"name":"notifyReady","tagname":"method","owner":"global","id":"method-notifyReady","meta":{}},{"name":"notifyWarn","tagname":"method","owner":"global","id":"method-notifyWarn","meta":{}},{"name":"prev","tagname":"method","owner":"global","id":"method-prev","meta":{}},{"name":"radiansToDegrees","tagname":"method","owner":"global","id":"method-radiansToDegrees","meta":{}},{"name":"rebindConstraints","tagname":"method","owner":"global","id":"method-rebindConstraints","meta":{}},{"name":"register","tagname":"method","owner":"global","id":"method-register","meta":{}},{"name":"releasePuppet","tagname":"method","owner":"global","id":"method-releasePuppet","meta":{"private":true}},{"name":"removeRoot","tagname":"method","owner":"global","id":"method-removeRoot","meta":{}},{"name":"reset","tagname":"method","owner":"global","id":"method-reset","meta":{}},{"name":"resolveName","tagname":"method","owner":"global","id":"method-resolveName","meta":{}},{"name":"retainFocusDuringDomUpdate","tagname":"method","owner":"global","id":"method-retainFocusDuringDomUpdate","meta":{}},{"name":"rewind","tagname":"method","owner":"global","id":"method-rewind","meta":{}},{"name":"rgbToHex","tagname":"method","owner":"global","id":"method-rgbToHex","meta":{}},{"name":"rotate","tagname":"method","owner":"global","id":"method-rotate","meta":{"chainable":true}},{"name":"scale","tagname":"method","owner":"global","id":"method-scale","meta":{"chainable":true}},{"name":"selectAll","tagname":"method","owner":"global","id":"method-selectAll","meta":{}},{"name":"sendEvent","tagname":"method","owner":"global","id":"method-sendEvent","meta":{"chainable":true}},{"name":"sendReadyEvent","tagname":"method","owner":"global","id":"method-sendReadyEvent","meta":{}},{"name":"setActual","tagname":"method","owner":"global","id":"method-setActual","meta":{}},{"name":"setActualAttribute","tagname":"method","owner":"global","id":"method-setActualAttribute","meta":{"chainable":true}},{"name":"setAttribute","tagname":"method","owner":"global","id":"method-setAttribute","meta":{"chainable":true}},{"name":"setAttributes","tagname":"method","owner":"global","id":"method-setAttributes","meta":{}},{"name":"setBlue","tagname":"method","owner":"global","id":"method-setBlue","meta":{}},{"name":"setCaretPosition","tagname":"method","owner":"global","id":"method-setCaretPosition","meta":{}},{"name":"setCaretToEnd","tagname":"method","owner":"global","id":"method-setCaretToEnd","meta":{}},{"name":"setCaretToStart","tagname":"method","owner":"global","id":"method-setCaretToStart","meta":{}},{"name":"setConstraint","tagname":"method","owner":"global","id":"method-setConstraint","meta":{"chainable":true}},{"name":"setGreen","tagname":"method","owner":"global","id":"method-setGreen","meta":{}},{"name":"setInnerHTML","tagname":"method","owner":"global","id":"method-setInnerHTML","meta":{}},{"name":"setRed","tagname":"method","owner":"global","id":"method-setRed","meta":{}},{"name":"setSimpleActual","tagname":"method","owner":"global","id":"method-setSimpleActual","meta":{}},{"name":"set_boxshadow","tagname":"method","owner":"global","id":"method-set_boxshadow","meta":{}},{"name":"set_disabled","tagname":"method","owner":"global","id":"method-set_disabled","meta":{}},{"name":"set_focused","tagname":"method","owner":"global","id":"method-set_focused","meta":{}},{"name":"set_focusedView","tagname":"method","owner":"global","id":"method-set_focusedView","meta":{}},{"name":"setupConstraint","tagname":"method","owner":"global","id":"method-setupConstraint","meta":{}},{"name":"simulatePlatformEvent","tagname":"method","owner":"global","id":"method-simulatePlatformEvent","meta":{}},{"name":"startDrag","tagname":"method","owner":"global","id":"method-startDrag","meta":{}},{"name":"stopDrag","tagname":"method","owner":"global","id":"method-stopDrag","meta":{}},{"name":"stopListening","tagname":"method","owner":"global","id":"method-stopListening","meta":{"chainable":true}},{"name":"stopListeningToAllObservables","tagname":"method","owner":"global","id":"method-stopListeningToAllObservables","meta":{}},{"name":"stopListeningToAllPlatformSources","tagname":"method","owner":"global","id":"method-stopListeningToAllPlatformSources","meta":{}},{"name":"stopListeningToPlatform","tagname":"method","owner":"global","id":"method-stopListeningToPlatform","meta":{}},{"name":"subtract","tagname":"method","owner":"global","id":"method-subtract","meta":{"chainable":true}},{"name":"syncTo","tagname":"method","owner":"global","id":"method-syncTo","meta":{}},{"name":"toHex","tagname":"method","owner":"global","id":"method-toHex","meta":{}},{"name":"transformAroundOrigin","tagname":"method","owner":"global","id":"method-transformAroundOrigin","meta":{}},{"name":"translate","tagname":"method","owner":"global","id":"method-translate","meta":{"chainable":true}},{"name":"trigger","tagname":"method","owner":"global","id":"method-trigger","meta":{}},{"name":"unregister","tagname":"method","owner":"global","id":"method-unregister","meta":{}},{"name":"updateDrag","tagname":"method","owner":"global","id":"method-updateDrag","meta":{}},{"name":"updatePosition","tagname":"method","owner":"global","id":"method-updatePosition","meta":{}},{"name":"updateTarget","tagname":"method","owner":"global","id":"method-updateTarget","meta":{}},{"name":"updateUI","tagname":"method","owner":"global","id":"method-updateUI","meta":{}},{"name":"wrapFunction","tagname":"method","owner":"global","id":"method-wrapFunction","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Global variables and functions.

    \n
    Defined By

    Properties

    : Object
    A mixin that sizes a root view to the viewport width, height or both. ...

    A mixin that sizes a root view to the viewport width, height or both.

    \n\n

    Events:\n None

    \n\n

    Attributes:\n minwidth:number the minimum width below which this view will not\n resize its width. Defaults to 0.\n minheight:number the minimum height below which this view will not\n resize its height. Defaults to 0.

    \n
    Caches config attribute names. ...

    Caches config attribute names.

    \n

    Defaults to: {}

    Caches constraint function names. ...

    Caches constraint function names.

    \n

    Defaults to: {}

    The default activation keys are enter (13) and spacebar (32). ...

    The default activation keys are enter (13) and spacebar (32).

    \n

    Defaults to: [13, 32]

    : Object
    A map of supported iframe event types. ...

    A map of supported iframe event types.

    \n

    Defaults to: {onload: true}

    Caches getter names. ...

    Caches getter names.

    \n

    Defaults to: {}

    Dictionary to map global ID's to the dreem global root. ...

    Dictionary to map global ID's to the dreem global root. Used for\n constraint-resolving. See dr.sprite.storeGlobal and\n dr.sprite.retrieveGlobal for methods that access this dictionary.\n @private

    \n

    Defaults to: {}

    The boolean indicates if it is capture phase or not. ...

    The boolean indicates if it is capture phase or not.

    \n

    Defaults to: {onfocus: false, onblur: false, onkeypress: false, onkeydown: false, onkeyup: false, onmouseover: false, onmouseout: false, onmousedown: false, onmouseup: false, onclick: false, ondblclick: false, onmousemove: false, oncontextmenu: false, onwheel: false}

    Caches setter names. ...

    Caches setter names.

    \n

    Defaults to: {}

    Used to generate globally unique IDs. ...

    Used to generate globally unique IDs.\n @private

    \n

    Defaults to: 0

    Event listener code Adapted from:\n http://javascript.about.com/library/bllisten.htm\n A more r...

    Event listener code Adapted from:\n http://javascript.about.com/library/bllisten.htm\n A more robust solution can be found here:\n http://msdn.microsoft.com/en-us/magazine/ff728624.aspx

    \n
    : Object
    Provides support for Array.isArray in IE8 and earlier. ...

    Provides support for Array.isArray in IE8 and earlier.\n Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray

    \n
    : Object
    Provides support for Object.keys in IE8 and earlier. ...

    Provides support for Object.keys in IE8 and earlier.\n Taken from: http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation

    \n
    : Object
    Provides support for Date.now in IE8 and ealier. ...

    Provides support for Date.now in IE8 and ealier.\n Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now

    \n
    Holds events until dr.ready is true. ...

    Holds events until dr.ready is true.

    \n

    Defaults to: []

    : Object
    Based on browser detection from: http://www.quirksmode.org/js/detect.html\n\n Events:\n none\n\n Att...

    Based on browser detection from: http://www.quirksmode.org/js/detect.html

    \n\n
           Events:\n           none\n\n       Attributes:\n           browser:string The browser name.\n           version:number The browser version number.\n           os:string The operating system.\n
    \n
    Defined By

    Methods

    ...
    \n
    ( timeDiff )private
    ...
    \n

    Parameters

    • timeDiff : Object
    ...
    \n
    ( reverse, repeat, remainderTime )private
    ...
    \n

    Parameters

    • reverse : Object
    • repeat : Object
    • remainderTime : Object
    ( view, front )private
    ...
    \n

    Parameters

    • view : Object
    • front : Object
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ...
    \n
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    Finds the closest model for the provided dom element. ...

    Finds the closest model for the provided dom element.\n @param elem:domElement to element to start looking from.\n @returns dr.sprite.View or null if not found.\n @private

    \n

    Parameters

    • elem : Object
    ( type, event, observers )
    Fire the event to the observers. ...

    Fire the event to the observers.\n @private\n @param type:string The type of event to fire.\n @param event:Object The event to fire.\n @param observers:array An array of method names and contexts to invoke\n providing the event as the sole argument.\n @returns void

    \n

    Parameters

    • type : Object
    • event : Object
    • observers : Object
    ( isForward, ignoreFocusTrap )
    Traverse forward or backward from the currently focused view. ...

    Traverse forward or backward from the currently focused view.\n @param isForward:boolean indicates forward or backward dom traversal.\n @param ignoreFocusTrap:boolean indicates if focus traps should be\n skipped over or not.\n @returns the new view to give focus to, or null if there is no view\n to focus on or an unmanaged dom element will receive focus.

    \n

    Parameters

    • isForward : Object
    • ignoreFocusTrap : Object
    ( from, to, motionValue, relative, value )private
    ...
    \n

    Parameters

    • from : Object
    • to : Object
    • motionValue : Object
    • relative : Object
    • value : Object
    Gets the computed style for a dom element. ...

    Gets the computed style for a dom element.\n @param elem:dom element the dom element to get the style for.\n @returns object the style object.

    \n

    Parameters

    • elem : Object
    Gets the deepest dom element that is a descendant of the provided\n dom element or the element itself. ...

    Gets the deepest dom element that is a descendant of the provided\n dom element or the element itself.\n @param elem:domElement The dom element to search downward from.\n @returns a dom element.\n @private

    \n

    Parameters

    • elem : Object
    ( a1, a2, b1, b2 )private
    ...
    \n

    Parameters

    • a1 : Object
    • a2 : Object
    • b1 : Object
    • b2 : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( w, h )private
    ...
    \n

    Parameters

    • w : Object
    • h : Object
    Tests if a dom element is visible or not. ...

    Tests if a dom element is visible or not.\n @param elem:DomElement the element to check visibility for.\n @returns boolean True if visible, false otherwise.

    \n

    Parameters

    • elem : Object
    ( )private
    ...
    \n
    ...
    \n
    ( attrName, value )private
    ...
    \n

    Parameters

    • attrName : Object
    • value : Object
    ( mousePos )private
    ...
    \n

    Parameters

    • mousePos : Object
    ...
    \n
    ( keyCode, targetElem )private
    ...
    \n

    Parameters

    • keyCode : Object
    • targetElem : Object
    ( view )
    No need to measure children that are not visible or that use a percent\n position or size since this leads t...

    No need to measure children that are not visible or that use a percent\n position or size since this leads to circular sizing constraints.\n Also skip children that use an align of bottom/right or center/middle\n since those also lead to circular sizing constraints.\n @private

    \n

    Parameters

    • view : Object
    ( view )private
    ...
    \n

    Parameters

    • view : Object
    ...
    \n
    ( idleEvent )private
    ...
    \n

    Parameters

    • idleEvent : Object
    ...
    \n
    ...
    \n
    ...
    \n
    ...
    \n
    ( event )private
    ...
    \n

    Parameters

    • event : Object
    ( c ) : globalchainable
    Adds the provided color to this color. ...

    Adds the provided color to this color.\n @param c:dr.Color the color to add.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • c : Object

    Returns

    Add a rootable to the global list of root views. ...

    Add a rootable to the global list of root views.\n @param r:RootNode the RootNode to add.\n @returns void

    \n

    Parameters

    • r : Object
    ( diff ) : globalchainable
    Applies the provided diff object to this color. ...

    Applies the provided diff object to this color.\n @param diff:object the color diff to apply.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • diff : Object

    Returns

    ( observer, methodName, eventType )
    Auto register for platform events when registering for a normal\n event with the same event type. ...

    Auto register for platform events when registering for a normal\n event with the same event type.\n @overrides dr.Observable

    \n

    Parameters

    • observer : Object
    • methodName : Object
    • eventType : Object
    ( attrName, expression, isAsync )private
    ...
    \n

    Parameters

    • attrName : Object
    • expression : Object
    • isAsync : Object
    ( url, withdevtools )
    Opens a webbrowser on the specified url ...

    Opens a webbrowser on the specified url

    \n

    Parameters

    • url : String

      Url to open

      \n
    • withdevtools : Bool

      Open developer tools too (gives focus on OSX)

      \n
    ( callback, scope )
    Invokes the provided callback function once on the next idle event. ...

    Invokes the provided callback function once on the next idle event.\n @param callback:function/string The function to call or a path\n to a function to call relative to the provided scope.\n @param scope:object (optional) If provided this scope will be\n bound to the callback function.\n @returns void

    \n

    Parameters

    • callback : Object
    • scope : Object
    @overrides ...

    @overrides

    \n
    Limits a channel value to integers between 0 and 255. ...

    Limits a channel value to integers between 0 and 255.\n @param value:number the channel value to clean up.\n @returns number

    \n

    Parameters

    • value : Object
    Clears the current focus. ...

    Clears the current focus.\n @returns void

    \n
    Clones this Color. ...

    Clones this Color.\n @returns dr.Color A copy of this dr.Color.

    \n
    ( a, b, epsilon )
    Common float comparison function. ...

    Common float comparison function.

    \n

    Parameters

    • a : Object
    • b : Object
    • epsilon : Object
    ( expression )private
    ...
    \n

    Parameters

    • expression : Object
    ( parentElem, tagname, props, body )
    Creates a now dom element. ...

    Creates a now dom element.\n @runtime:browser\n @param parentElem:DomElement (optional) The dom element to append\n the new element to. If not provided document.body is used.\n @param tagname:string (optional) The name of the tag. If not\n provided div is used.\n @param props:object (optional) Properties to set on the element.\n @param body:string (optional) The inner html for the new element.\n @returns The created dom element.

    \n

    Parameters

    • parentElem : Object
    • tagname : Object
    • props : Object
    • body : Object
    ( platformObserver, methodName, eventType )
    @overrides ...

    @overrides

    \n

    Parameters

    • platformObserver : Object
    • methodName : Object
    • eventType : Object
    Convert radians to degrees. ...

    Convert radians to degrees.\n @param {Number} deg The degrees to convert.\n @return {Number} The radians

    \n

    Parameters

    • deg : Object
    Destroys this Object. ...

    Destroys this Object. Subclasses must call callSuper.\n @returns void

    \n
    @overrides dr.View ...

    @overrides dr.View

    \n
    Removes all observers from this Observable. ...

    Removes all observers from this Observable.\n @returns void

    \n
    ( observer, methodName, eventType )
    Auto unregister for platform events when registering for a normal\n event with the same event type. ...

    Auto unregister for platform events when registering for a normal\n event with the same event type.\n @overrides dr.Observable

    \n

    Parameters

    • observer : Object
    • methodName : Object
    • eventType : Object
    ( s ) : globalchainable
    Divides this color by the provided scalar. ...

    Divides this color by the provided scalar.\n @param s:number the scaler to divide by.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • s : Object

    Returns

    Called when this view should be activated. ...

    Called when this view should be activated.\n @returns void

    \n
    Called when focus is lost while an activation key is down. ...

    Called when focus is lost while an activation key is down. Default\n implementation does nothing.\n @param key:number the keycode that is down.\n @returns void

    \n

    Parameters

    • key : Object
    ( key, isRepeat )
    Called when an activation key is pressed down. ...

    Called when an activation key is pressed down. Default implementation\n does nothing.\n @param key:number the keycode that is down.\n @param isRepeat:boolean Indicates if this is a key repeat event or not.\n @returns void

    \n

    Parameters

    • key : Object
    • isRepeat : Object
    Called when an activation key is release up. ...

    Called when an activation key is release up. This executes the\n 'doActivated' method by default.\n @param key:number the keycode that is up.\n @returns void

    \n

    Parameters

    • key : Object
    Called after the disabled attribute is set. ...

    Called after the disabled attribute is set. Default behavior attempts\n to give away focus and calls the updateUI method of dr.UpdateableUI if\n it is defined.\n @returns void

    \n
    ( remainderTime, loopTime )private
    ...
    \n

    Parameters

    • remainderTime : Object
    • loopTime : Object
    ( event )
    Called when the mouse is down on this view. ...

    Called when the mouse is down on this view. Subclasses must call callSuper.\n @returns void

    \n

    Parameters

    • event : Object
    ( event )
    Called when the mouse leaves this view. ...

    Called when the mouse leaves this view. Subclasses must call callSuper.\n @returns void

    \n

    Parameters

    • event : Object
    ( event )
    Called when the mouse is over this view. ...

    Called when the mouse is over this view. Subclasses must call callSuper.\n @returns void

    \n

    Parameters

    • event : Object
    ( event )
    Called when the mouse is up on this view. ...

    Called when the mouse is up on this view. Subclasses must call callSuper.\n @returns void

    \n

    Parameters

    • event : Object
    Called when the mouse is up and we are still over the view. ...

    Called when the mouse is up and we are still over the view. Executes\n the 'doActivated' method by default.\n @returns void

    \n

    Parameters

    • event : Object
    Called when the mouse is up and we are not over the view. ...

    Called when the mouse is up and we are not over the view. Fires\n an 'onmouseupoutside' event.\n @returns void

    \n

    Parameters

    • event : Object
    ( fn, onFulfilled, onRejected )
    Take a potentially misbehaving resolver function and make sure\nonFulfilled and onRejected are only called once. ...

    Take a potentially misbehaving resolver function and make sure\nonFulfilled and onRejected are only called once.

    \n\n

    Makes no guarantees about asynchrony.

    \n

    Parameters

    • fn : Object
    • onFulfilled : Object
    • onRejected : Object
    Called when mouseover state changes. ...

    Called when mouseover state changes. This method is called after\n an event filtering process has reduced frequent over/out events\n originating from the dom.\n @returns void

    \n

    Parameters

    • isOver : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • node : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • node : Object
    Draw the UI when the component has a pending activation. ...

    Draw the UI when the component has a pending activation. For mouse\n interactions this corresponds to the down state.\n @returns void

    \n
    Draw the UI when the component is in the disabled state. ...

    Draw the UI when the component is in the disabled state.\n @returns void

    \n
    Draw the UI when the component has focus. ...

    Draw the UI when the component has focus. The default implementation\n calls drawHoverState.\n @returns void

    \n
    Draw the UI when the component is on the verge of being interacted\n with. ...

    Draw the UI when the component is on the verge of being interacted\n with. For mouse interactions this corresponds to the over state.\n @returns void

    \n
    Draw the UI when the component is ready to be interacted with. ...

    Draw the UI when the component is ready to be interacted with. For\n mouse interactions this corresponds to the enabled state when the\n mouse is not over the component.\n @returns void

    \n
    ( err, type )
    A wrapper on dr.global.error.notify\n @param err:Error/string The error or message to dump stack for. ...

    A wrapper on dr.global.error.notify\n @param err:Error/string The error or message to dump stack for.\n @param type:string (optional) The type of console message to write.\n Allowed values are 'error', 'warn', 'log' and 'debug'. Defaults to\n 'error'.\n @returns void

    \n

    Parameters

    • err : Object
    • type : Object
    ( file, line, file )
    Opens a code editor on the file / line /columnt ...

    Opens a code editor on the file / line /columnt

    \n

    Parameters

    • file : String

      File to open

      \n
    • line : Int

      Line to set cursor to

      \n
    • file : Int

      File to open

      \n
    ( targetObj, sourceObj )
    Copies properties from the source objects to the target object. ...

    Copies properties from the source objects to the target object.\n @param targetObj:object The object that properties will be copied into.\n @param sourceObj:object The object that properties will be copied from.\n @param arguments... Additional arguments beyond the second will also\n be used as source objects and copied in order from left to right.\n @param mappingFunction:function (optional) If the last argument is a\n function it will be used to copy values from the source to the\n target. The function will be passed three values, the key, the\n target and the source. The mapping function should copy the\n source value into the target value if so desired.\n @returns The target object.

    \n

    Parameters

    • targetObj : Object
    • sourceObj : Object
    ...
    \n

    Parameters

    • value : Object
    Generate a config name for an attribute. ...

    Generate a config name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generate a constraint function name for an attribute. ...

    Generate a constraint function name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generate a getter name for an attribute. ...

    Generate a getter name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generates a globally unique id, (GUID). ...

    Generates a globally unique id, (GUID).\n @return number

    \n
    ( attrName, prefix )
    Generates a method name by capitalizing the attrName and\n prepending the prefix. ...

    Generates a method name by capitalizing the attrName and\n prepending the prefix.\n @returns string

    \n

    Parameters

    • attrName : Object
    • prefix : Object
    Generate a setter name for an attribute. ...

    Generate a setter name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    ( ancestorView )
    Gets the x and y position of the dom element relative to the\n ancestor dom element or the page. ...

    Gets the x and y position of the dom element relative to the\n ancestor dom element or the page. Transforms are not supported.\n @param ancestorView:View (optional) An ancestor View\n that if encountered will halt the page position calculation\n thus giving the position relative to ancestorView.\n @returns object with 'x' and 'y' keys or null if an error has\n occurred.

    \n

    Parameters

    • ancestorView : Object
    ( ancestor )
    Gets an array of ancestor platform objects including the platform\n object for this sprite. ...

    Gets an array of ancestor platform objects including the platform\n object for this sprite.\n @param ancestor (optional) The platform element to stop\n getting ancestors at.\n @returns an array of ancestor elements.

    \n

    Parameters

    • ancestor : Object
    ( attrName )
    A generic getter function that can be called to get a value from this\n object. ...

    A generic getter function that can be called to get a value from this\n object. Will defer to a defined getter if it exists.\n @param attrName:string The name of the attribute to get.\n @returns the attribute value.

    \n

    Parameters

    • attrName : Object
    Gets the blue channel from a \"color\" number. ...

    Gets the blue channel from a \"color\" number.\n @returns number

    \n

    Parameters

    • value : Object
    Gets the bounding box for this path. ...

    Gets the bounding box for this path.\n @return object with properties x, y, width and height or null\n if no bounding box could be calculated.

    \n
    Gets the bounding rect object with enties: x, y, width and height. ...

    Gets the bounding rect object with enties: x, y, width and height.

    \n
    Gets the location of the caret. ...

    Gets the location of the caret.\n @returns int.

    \n
    Gets the numerical representation of this color. ...

    Gets the numerical representation of this color.\n @returns number: The number that represents this color.

    \n
    Gets an object holding color channel diffs. ...

    Gets an object holding color channel diffs.\n @param c:dr.Color the color to diff from.\n @returns object containing the diffs for the red, green and blue\n channels.

    \n

    Parameters

    • c : Object
    ( ) : Object
    ...
    \n

    Returns

    • Object

      an array of views that can be moused down on to start the\n drag. Subclasses should override this to return an appropriate list\n of views. By default this view is returned thus making the entire\n view capable of starting a drag.

      \n
    Gets the green channel from a \"color\" number. ...

    Gets the green channel from a \"color\" number.\n @returns number

    \n

    Parameters

    • value : Object
    Gets the window's innerHeight. ...

    Gets the window's innerHeight.\n @returns the current height of the window.

    \n
    Gets the hex string representation of this color. ...

    Gets the hex string representation of this color.\n @returns string: A hex color such as '#a0bbcc'.

    \n
    Gets the inner html of the dom element backing this sprite. ...

    Gets the inner html of the dom element backing this sprite.\n @runtime browser

    \n
    Returns the lighter of the two provided colors. ...

    Returns the lighter of the two provided colors.\n @param a:number A color number.\n @param b:number A color number.\n @returns The number that represents the lighter color.

    \n

    Parameters

    • a : Object
    • b : Object
    ( eventType )
    Gets an array of observables and method names for the provided type. ...

    Gets an array of observables and method names for the provided type.\n The array is structured as:\n [methodName1, observableObj1, methodName2, observableObj2,...].\n @param eventType:string the event type to check for.\n @returns an array of observables.

    \n

    Parameters

    • eventType : Object
    Gets an array of observers and method names for the provided type. ...

    Gets an array of observers and method names for the provided type.\n The array is structured as:\n [methodName1, observerObj1, methodName2, observerObj2,...].\n @param type:string The name of the event to get observers for.\n @returns array: The observers of the event.

    \n

    Parameters

    • type : Object
    Gets the red channel from a \"color\" number. ...

    Gets the red channel from a \"color\" number.\n @return number

    \n

    Parameters

    • value : Object
    Gets the list of global root views. ...

    Gets the list of global root views.\n @returns array of RootNodes.

    \n
    ( attrName )private
    ...
    \n

    Parameters

    • attrName : Object
    Gets the window's innerWidth. ...

    Gets the window's innerWidth.\n @returns the current width of the window.

    \n
    ( focused )private
    ...
    \n

    Parameters

    • focused : Object
    ( eventType )
    Checks if any observables exist for the provided event type. ...

    Checks if any observables exist for the provided event type.\n @param eventType:string the event type to check for.\n @returns true if any exist, false otherwise.

    \n

    Parameters

    • eventType : Object
    Checks if any observers exist for the provided event type. ...

    Checks if any observers exist for the provided event type.\n @param type:string The name of the event to check.\n @returns boolean: True if any exist, false otherwise.

    \n

    Parameters

    • type : Object
    ( parent, attrs )
    @overrides ...

    @overrides

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( view, attrs )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param view:dr.View The view this sprite is backing.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • view : Object
    • attrs : Object
    Tests if the platform specific \"accelerator\" key is down. ...

    Tests if the platform specific \"accelerator\" key is down.

    \n
    Tests if the 'alt' key is down. ...

    Tests if the 'alt' key is down.

    \n
    ( view )
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param siblingView:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if the 'command' key is down. ...

    Tests if the 'command' key is down.

    \n
    ( value )private
    ...
    \n

    Parameters

    • value : Object
    Tests if the 'control' key is down. ...

    Tests if the 'control' key is down.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param siblingView:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    ( keyCode )
    Tests if a key is currently pressed down or not. ...

    Tests if a key is currently pressed down or not.\n @param keyCode:number the key to test.\n @returns true if the key is down, false otherwise.

    \n

    Parameters

    • keyCode : Object
    Tests if this color is lighter than the provided color. ...

    Tests if this color is lighter than the provided color.\n @param c:dr.Color the color to compare to.\n @returns boolean: True if this color is lighter, false otherwise.

    \n

    Parameters

    • c : Object
    ( observable, eventType, methodName )
    Checks if this Observer is attached to the provided observable for\n the methodName and eventType. ...

    Checks if this Observer is attached to the provided observable for\n the methodName and eventType.\n @param observable:dr.Observable the Observable to check with.\n @param eventType:string the event type to check for.\n @param methodName:string the method name on this instance to execute.\n @returns true if attached, false otherwise.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    ( eventType )
    @overrides\n All global mouse platform events should be handled during the\n capture phase. ...

    @overrides\n All global mouse platform events should be handled during the\n capture phase.

    \n

    Parameters

    • eventType : Object
    Tests if the 'shift' key is down. ...

    Tests if the 'shift' key is down.

    \n
    ( observable, eventTypes, methodName, once ) : globalchainable
    Registers this Observer with the provided Observable\n for the provided eventType. ...

    Registers this Observer with the provided Observable\n for the provided eventType.\n @param observable:dr.Observable the Observable to attach to.\n @param eventTypes:string the event type to attach for. May be a\n comma or space separated list of event types.\n @param methodName:string the method name on this instance to execute.\n @param once:boolean (optional) if true this Observer will detach\n from the Observable after the event is handled once.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventTypes : Object
    • methodName : Object
    • once : Object

    Returns

    ( observable, eventType, methodName )
    A wrapper on listenTo where the 'once' argument is set to true. ...

    A wrapper on listenTo where the 'once' argument is set to true.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    ( spriteBacked, eventType, methodName, capture )
    Attaches this PlatformObserverAdapter to the a SpriteBacked Node\n for an event type. ...

    Attaches this PlatformObserverAdapter to the a SpriteBacked Node\n for an event type.\n @returns void

    \n

    Parameters

    • spriteBacked : Object
    • eventType : Object
    • methodName : Object
    • capture : Object
    Creates an dr.Color from an html color string. ...

    Creates an dr.Color from an html color string.\n @param value:string A hex string representation of a color, such\n as '#ff339b'.\n @returns dr.Color or null if no color could be parsed.

    \n

    Parameters

    • value : Object
    Creates an dr.Color from a \"color\" number. ...

    Creates an dr.Color from a \"color\" number.\n @returns dr.Color

    \n

    Parameters

    • value : Object
    ( red, green, blue )
    Creates a \"color\" number from the provided color channels. ...

    Creates a \"color\" number from the provided color channels.\n @param red:number the red channel\n @param green:number the green channel\n @param blue:number the blue channel\n @returns number

    \n

    Parameters

    • red : Object
    • green : Object
    • blue : Object
    ( animGroup )private
    ...
    \n

    Parameters

    • animGroup : Object
    Memoize a function. ...

    Memoize a function.\n @param f:function The function to memoize\n @returns function: The memoized function.

    \n

    Parameters

    • f : Object
    ( otherView )
    Moves this sprite behind the sprite of the provided sibling view. ...

    Moves this sprite behind the sprite of the provided sibling view.

    \n

    Parameters

    • otherView : Object
    ( otherView )
    Moves this sprite in front of the sprite of the provided\n sibling view. ...

    Moves this sprite in front of the sprite of the provided\n sibling view.

    \n

    Parameters

    • otherView : Object
    Moves this sprite behind all other sibling sprites. ...

    Moves this sprite behind all other sibling sprites.

    \n
    Moves this sprite in front of all other sibling sprites. ...

    Moves this sprite in front of all other sibling sprites.

    \n
    ( s ) : globalchainable
    Multiplys this color by the provided scalar. ...

    Multiplys this color by the provided scalar.\n @param s:number the scaler to multiply by.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • s : Object

    Returns

    ( ignoreFocusTrap )
    Move focus to the next focusable element. ...

    Move focus to the next focusable element.\n @param ignoreFocusTrap:boolean If true focus traps will be skipped over.\n @returns void

    \n

    Parameters

    • ignoreFocusTrap : Object
    Common noop function. ...

    Common noop function. Also used as a return value for setters to\n prevent the default setAttribute behavior.

    \n
    ( consoleFuncName, eventType, msg, err )
    Broadcasts that an error has occurred and also logs the error to the\n console if so configured. ...

    Broadcasts that an error has occurred and also logs the error to the\n console if so configured.\n @param consoleFuncName:string (optional) The name of the function to\n call on the console. Standard values are:'error', 'warn', 'log'\n and 'debug'. If not provided no console logging will occur\n regardless of the value of this.consoleLogging.\n @param eventType:string (optional) The type of the event that will be\n broadcast. If not provided 'error' will be used.\n @param msg:* (optional) Usually a string, this is additional information\n that will be provided in the value object of the broadcast event.\n @param err:Error (optional) A javascript error object from which a\n stacktrace will be taken. If not provided a stacktrace will be\n automatically generated.\n @private

    \n

    Parameters

    • consoleFuncName : Object
    • eventType : Object
    • msg : Object
    • err : Object
    ( focusable )
    Called by a FocusObservable when it has lost focus. ...

    Called by a FocusObservable when it has lost focus.\n @param focusable:FocusObservable the view that lost focus.\n @returns void.

    \n

    Parameters

    • focusable : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'debug'. ...

    A wrapper on this.notify where consoleFuncName is 'debug'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'error'. ...

    A wrapper on this.notify where consoleFuncName is 'error'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( focusable )
    Called by a FocusObservable when it has received focus. ...

    Called by a FocusObservable when it has received focus.\n @param focusable:FocusObservable the view that received focus.\n @returns void.

    \n

    Parameters

    • focusable : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'log'. ...

    A wrapper on this.notify where consoleFuncName is 'log'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    Called at the end of instantiation. ...

    Called at the end of instantiation. Bind all the constraints registered\n during instantiation and notifies each root view that we are \"ready\".

    \n
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'warn'. ...

    A wrapper on this.notify where consoleFuncName is 'warn'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( ignoreFocusTrap )
    Move focus to the previous focusable element. ...

    Move focus to the previous focusable element.\n @param ignoreFocusTrap:boolean If true focus traps will be skipped over.\n @returns void

    \n

    Parameters

    • ignoreFocusTrap : Object
    Convert degrees to radians. ...

    Convert degrees to radians.\n @param {Number} rad The radians to convert.\n @return {Number} The radians

    \n

    Parameters

    • rad : Object
    Rebinds all constraints on this object. ...

    Rebinds all constraints on this object.

    \n
    ( key, v )
    Registers the provided global under the key. ...

    Registers the provided global under the key. Fires a register\n event. If a global is already registered under the key the existing\n global is unregistered first.\n @returns void

    \n

    Parameters

    • key : Object
    • v : Object
    ( animGroup )private
    ...
    \n

    Parameters

    • animGroup : Object
    Remove a rootable from the global list of root views. ...

    Remove a rootable from the global list of root views.\n @param r:RootNode the RootNode to remove.\n @returns void

    \n

    Parameters

    • r : Object
    @overrides ...

    @overrides

    \n
    ( objName, scope )
    Takes a '.' separated string such as \"foo.bar.baz\" and resolves it\n into the value found at that location r...

    Takes a '.' separated string such as \"foo.bar.baz\" and resolves it\n into the value found at that location relative to a starting scope.\n If no scope is provided global scope is used.\n @param objName:string|array The name to resolve or an array of path\n parts in descending order.\n @param scope:Object The scope to resolve from. If resolution fails\n against this scope the global scope will then be tried.\n @returns The referenced object or undefined if resolution failed.

    \n

    Parameters

    • objName : Object
    • scope : Object
    ( viewBeingRemoved, wrappedFunc )
    Preserves focus and scroll position during dom updates. ...

    Preserves focus and scroll position during dom updates. Focus can\n get lost in webkit when an element is removed from the dom.\n viewBeingRemoved:dr.View\n wrapperFunc:function a function to execute that manipulates the\n dom in some way, typically a remove followed by an insert.\n @returns void

    \n

    Parameters

    • viewBeingRemoved : Object
    • wrappedFunc : Object
    ( executeCallback )
    Puts the animator back to an initial configured state. ...

    Puts the animator back to an initial configured state.\n @param executeCallback:boolean (optional) if true the callback, if\n it exists, will be executed.\n @returns void

    \n

    Parameters

    • executeCallback : Object
    ( red, green, blue, prependHash )
    Converts red, green, and blue color channel numbers to a six\n character hex string. ...

    Converts red, green, and blue color channel numbers to a six\n character hex string.\n @param red:number The red color channel.\n @param green:number The green color channel.\n @param blue:number The blue color channel.\n @param prependHash:boolean (optional) If true a '#' character\n will be prepended to the return value.\n @returns string: Something like: '#ff9c02' or 'ff9c02'

    \n

    Parameters

    • red : Object
    • green : Object
    • blue : Object
    • prependHash : Object
    ( a ) : globalchainable
    Rotates this path around 0,0 by the provided angle in degrees. ...

    Rotates this path around 0,0 by the provided angle in degrees.\n @param a:number The angle in degrees to rotate.

    \n

    Parameters

    • a : Object

    Returns

    ( sx, sy ) : globalchainable
    Scales this path around the origin by the provided scale amount\n @param sx:number The amount to scale along...

    Scales this path around the origin by the provided scale amount\n @param sx:number The amount to scale along the x-axis.\n @param sy:number The amount to scale along the y-axis.

    \n

    Parameters

    • sx : Object
    • sy : Object

    Returns

    Selects all the text in the input element. ...

    Selects all the text in the input element.\n @returns void

    \n
    ( type, value ) : globalchainable
    Generates a new event from the provided type and value and fires it\n to the provided observers or the regis...

    Generates a new event from the provided type and value and fires it\n to the provided observers or the registered observers.\n @param type:string The event type to fire.\n @param value:* The value to set on the event.\n @returns This object for chainability.

    \n

    Parameters

    • type : Object
    • value : Object

    Returns

    Called from dr.notifyReady. ...

    Called from dr.notifyReady. Sends a dreeminit event. Used by\n phantomjs testing

    \n
    ( attrName, value, type, defaultValue, beforeEventFunc )
    Sets the actual value of an attribute on an object and fires an\n event if the value has changed. ...

    Sets the actual value of an attribute on an object and fires an\n event if the value has changed.\n @param attrName:string The name of the attribute to set.\n @param value: The value to set.\n @param type:string The type to try to coerce the value to.\n @param defaultValue: (optional) The default value to use when\n coercion fails.\n @param beforeEventFunc:function (optional) A function that gets called\n before the event may be fired.\n @returns boolean: True if the value was changed, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    • type : Object
    • defaultValue : Object
    • beforeEventFunc : Object
    ( attrName, value ) : globalchainable
    A generic setter function that is called to set the actual value\n of an attribute on this object. ...

    A generic setter function that is called to set the actual value\n of an attribute on this object. Will defer to a defined setter if\n it exists. The implementation assumes this object is an\n Observable so it will have a 'sendEvent' method.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • value : Object

    Returns

    ( attrName, value ) : globalchainable
    A generic setter function that can be called to set the configured\n value of an attribute on this object. ...

    A generic setter function that can be called to set the configured\n value of an attribute on this object. Will first test if the\n \"config\" value has changed and if so it will proceed to update the\n value, bind/unbind constraints and finally set the actual\n attribute value via the setActualAttribute method.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • value : Object

    Returns

    Calls a setter function for each attribute in the provided map. ...

    Calls a setter function for each attribute in the provided map.\n @param attrs:object a map of attributes to set.\n @returns void.

    \n

    Parameters

    • attrs : Object
    ( blue )
    Sets the blue channel value. ...

    Sets the blue channel value.

    \n

    Parameters

    • blue : Object
    ( start, end )
    Sets the caret and selection. ...

    Sets the caret and selection.\n @param start:int the start of the selection or location of the caret\n if no end is provided.\n @param end:int (optional) the end of the selection.\n @returns void

    \n

    Parameters

    • start : Object
    • end : Object
    Sets the caret to the end of the text input. ...

    Sets the caret to the end of the text input.\n @returns void

    \n
    Sets the caret to the start of the text input. ...

    Sets the caret to the start of the text input.\n @returns void

    \n
    ( attrName, expression ) : globalchainable
    A convienence method for setting an attribute as a constraint. ...

    A convienence method for setting an attribute as a constraint.\n This is a wrapper around setAttribute with '${expression}' for\n the value.\n @param attrName:string The name of the attribute to set.\n @param expression:string The expression to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • expression : Object

    Returns

    ( green )
    Sets the green channel value. ...

    Sets the green channel value.

    \n

    Parameters

    • green : Object
    Sets the inner html of the dom element backing this sprite. ...

    Sets the inner html of the dom element backing this sprite.\n @runtime browser

    \n

    Parameters

    • html : Object
    ( red )
    Sets the red channel value. ...

    Sets the red channel value.

    \n

    Parameters

    • red : Object
    ( attrName, value, fireEvent )
    Sets the actual value of an attribute on an object. ...

    Sets the actual value of an attribute on an object.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @param fireEvent:boolean (optional) If true an attempt will be made\n to fire an event. Defaults to undefined which is equivalent\n to false.\n @returns boolean: True if the value was changed, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    • fireEvent : Object
    Sets the CSS boxShadow property. ...

    Sets the CSS boxShadow property.\n @param v:array where index 0 is the horizontal shadow offset,\n index 1 is the vertical shadow offset, index 2 is the blur amount,\n and index 3 is the color.\n @returns void

    \n

    Parameters

    • v : Object
    @overrides dr.Disableable ...

    @overrides dr.Disableable

    \n

    Parameters

    • v : Object
    @overrides dr.View ...

    @overrides dr.View

    \n

    Parameters

    • v : Object
    Sets the currently focused view. ...

    Sets the currently focused view.

    \n

    Parameters

    • v : Object
    ( attrName, value )
    Attempts to setup the provided value as a constraint. ...

    Attempts to setup the provided value as a constraint.\n @param attrName:string The name of the attribute the constraint is for.\n @param value:* The value, possibly a constraint expression, to set.\n @return boolean True if the value was a constraint, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    ( spriteBacked, eventName, customOpts )
    Generates a platform event on a dom element. ...

    Generates a platform event on a dom element. Adapted from:\n http://stackoverflow.com/questions/6157929/how-to-simulate-mouse-click-using-javascript\n @param view:dr.View the view to simulate the event on.\n @param eventName:string the name of the dom event to generate.\n @param customOpts:Object (optional) a map of options that will\n be added onto the platform event object.\n @returns void

    \n

    Parameters

    • spriteBacked : Object
    • eventName : Object
    • customOpts : Object
    ( event )
    Active until stopDrag is called. ...

    Active until stopDrag is called. The view position will be bound\n to the mouse position. Subclasses typically call this onmousedown for\n subviews that allow dragging the view.\n @param event:event The event the mouse event when the drag started.\n @returns void

    \n

    Parameters

    • event : Object
    ( event, isAbort )
    Stop the drag. ...

    Stop the drag. (see startDrag for more details)\n @param event:object The event that ended the drag.\n @param isAbort:boolean Indicates if the drag ended normally or was\n aborted.\n @returns void

    \n

    Parameters

    • event : Object
    • isAbort : Object
    ( observable, eventTypes, methodName ) : globalchainable
    Unregisters this Observer from the provided Observable\n for the provided eventType. ...

    Unregisters this Observer from the provided Observable\n for the provided eventType.\n @param observable:dr.Observable the Observable to attach to.\n @param eventTypes:string the event type to unattach for. May be a\n comma or space separated list of event types.\n @param methodName:string the method name on this instance to execute.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventTypes : Object
    • methodName : Object

    Returns

    Tries to detach this Observer from all Observables it\n is attached to. ...

    Tries to detach this Observer from all Observables it\n is attached to.\n @returns void

    \n
    Detaches this PlatformObserver from all PlatformObservables it is attached to. ...

    Detaches this PlatformObserver from all PlatformObservables it is attached to.\n @returns void

    \n
    ( spriteBacked, eventType, methodName, capture )
    Detaches this PlatformObserverAdapter from a SpriteBacked Node for an\n event type. ...

    Detaches this PlatformObserverAdapter from a SpriteBacked Node for an\n event type.\n @returns boolean True if detachment succeeded, false otherwise.

    \n

    Parameters

    • spriteBacked : Object
    • eventType : Object
    • methodName : Object
    • capture : Object
    ( c ) : globalchainable
    Subtracts the provided color from this color. ...

    Subtracts the provided color from this color.\n @param c:dr.Color the color to subtract.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • c : Object

    Returns

    ( observable, eventType, methodName, attrName, once )
    Does the same thing as this.listenTo and also immediately calls the\n method with an event containing the at...

    Does the same thing as this.listenTo and also immediately calls the\n method with an event containing the attributes value. If 'once' is\n true no attachment will occur which means this probably isn't the\n correct method to use in that situation.\n @param observable:dr.Observable the Observable to attach to.\n @param eventType:string the event type to attach for.\n @param methodName:string the method name on this instance to execute.\n @param attrName:string (optional: the eventType will be used if not\n provided) the name of the attribute on the Observable\n to pull the value from.\n @param once:boolean (optional) if true this Observer will detach\n from the Observable after the event is handled once.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    • attrName : Object
    • once : Object
    ( value )
    Converts a number or string representation of a number to a\n two character hex string. ...

    Converts a number or string representation of a number to a\n two character hex string.\n @param value:number/string The number or string to convert.\n @returns string: A two character hex string such as: '0c' or 'c9'.

    \n

    Parameters

    • value : Object
    ( scalex, scaley, angle, xOrigin, yOrigin )
    Rotates and scales this path around the provided origin by the angle in\n degrees, scalex and scaley. ...

    Rotates and scales this path around the provided origin by the angle in\n degrees, scalex and scaley.\n @param scalex:number The amount to scale along the x axis.\n @param scaley:number The amount to scale along the y axis.\n @param angle:number The amount to scale.\n @param xOrigin:number The amount to scale.\n @param yOrigin:number The amount to scale.

    \n

    Parameters

    • scalex : Object
    • scaley : Object
    • angle : Object
    • xOrigin : Object
    • yOrigin : Object
    ( dx, dy ) : globalchainable
    Shift this path by the provided x and y amount. ...

    Shift this path by the provided x and y amount.

    \n

    Parameters

    • dx : Object
    • dy : Object

    Returns

    ( platformEventName, opts )
    @overrides\n Try to update the UI immediately if an event was triggered\n programatically. ...

    @overrides\n Try to update the UI immediately if an event was triggered\n programatically.

    \n

    Parameters

    • platformEventName : Object
    • opts : Object
    Unegisters the global for the provided key. ...

    Unegisters the global for the provided key. Fires an unregister\n event if the key exists.\n @returns void

    \n

    Parameters

    • key : Object
    ( event )
    Called on every mousemove event while dragging. ...

    Called on every mousemove event while dragging.\n @returns void

    \n

    Parameters

    • event : Object
    Repositions the view to the provided values. ...

    Repositions the view to the provided values. The default implementation\n is to directly set x and y. Subclasses should override this method\n when it is necessary to constrain the position.\n @param x:number the new x position.\n @param y:number the new y position.\n @returns void

    \n

    Parameters

    • x : Object
    • y : Object
    ( target, progress, oldProgress, flip )
    @overrides ...

    @overrides

    \n

    Parameters

    • target : Object
    • progress : Object
    • oldProgress : Object
    • flip : Object
    Updates the UI whenever a change occurs that requires a visual update. ...

    Updates the UI whenever a change occurs that requires a visual update.\n Subclasses should implement this as needed.\n @returns void

    \n
    ( fn, wrapperFn )
    Used to wrap the first function with the second function. ...

    Used to wrap the first function with the second function. The first\n function is exposed as this.callSuper within the wrapper function.\n @param fn:function the function to wrap.\n @param wrapperFn:function the wrapper function.\n @returns a wrapped function.

    \n

    Parameters

    • fn : Object
    • wrapperFn : Object
    ","meta":{}}); \ No newline at end of file +Ext.data.JsonP.global({"tagname":"class","name":"global","alternateClassNames":[],"members":[{"name":"activateKeyDown","tagname":"attribute","owner":"global","id":"attribute-activateKeyDown","meta":{"readonly":true}},{"name":"activationkeys","tagname":"attribute","owner":"global","id":"attribute-activationkeys","meta":{}},{"name":"allowabort","tagname":"attribute","owner":"global","id":"attribute-allowabort","meta":{}},{"name":"centeronmouse","tagname":"attribute","owner":"global","id":"attribute-centeronmouse","meta":{}},{"name":"disabled","tagname":"attribute","owner":"global","id":"attribute-disabled","meta":{}},{"name":"distancebeforedrag","tagname":"attribute","owner":"global","id":"attribute-distancebeforedrag","meta":{}},{"name":"dragaxis","tagname":"attribute","owner":"global","id":"attribute-dragaxis","meta":{}},{"name":"isdraggable","tagname":"attribute","owner":"global","id":"attribute-isdraggable","meta":{}},{"name":"isdragging","tagname":"attribute","owner":"global","id":"attribute-isdragging","meta":{}},{"name":"ismousedown","tagname":"attribute","owner":"global","id":"attribute-ismousedown","meta":{}},{"name":"ismouseover","tagname":"attribute","owner":"global","id":"attribute-ismouseover","meta":{}},{"name":"repeatkeydown","tagname":"attribute","owner":"global","id":"attribute-repeatkeydown","meta":{}},{"name":"","tagname":"property","owner":"global","id":"property-","meta":{}},{"name":"CONFIG_ATTR_NAMES","tagname":"property","owner":"global","id":"property-CONFIG_ATTR_NAMES","meta":{}},{"name":"CONSTRAINT_FUNCTION_NAMES","tagname":"property","owner":"global","id":"property-CONSTRAINT_FUNCTION_NAMES","meta":{}},{"name":"EVENT_TYPES","tagname":"property","owner":"global","id":"property-EVENT_TYPES","meta":{}},{"name":"GETTER_NAMES","tagname":"property","owner":"global","id":"property-GETTER_NAMES","meta":{}},{"name":"IDdictionary","tagname":"property","owner":"global","id":"property-IDdictionary","meta":{}},{"name":"PLATFORM_EVENTS","tagname":"property","owner":"global","id":"property-PLATFORM_EVENTS","meta":{}},{"name":"SETTER_NAMES","tagname":"property","owner":"global","id":"property-SETTER_NAMES","meta":{}},{"name":"__GUID_COUNTER","tagname":"property","owner":"global","id":"property-__GUID_COUNTER","meta":{}},{"name":"addEventListener","tagname":"property","owner":"global","id":"property-addEventListener","meta":{}},{"name":"isArray","tagname":"property","owner":"global","id":"property-isArray","meta":{}},{"name":"keys","tagname":"property","owner":"global","id":"property-keys","meta":{}},{"name":"now","tagname":"property","owner":"global","id":"property-now","meta":{}},{"name":"pendingEventQueue","tagname":"property","owner":"global","id":"property-pendingEventQueue","meta":{}},{"name":"platform","tagname":"property","owner":"global","id":"property-platform","meta":{}},{"name":"__WebkitPositionHack","tagname":"method","owner":"global","id":"method-__WebkitPositionHack","meta":{"private":true}},{"name":"__advance","tagname":"method","owner":"global","id":"method-__advance","meta":{"private":true}},{"name":"__calculateLoopTime","tagname":"method","owner":"global","id":"method-__calculateLoopTime","meta":{"private":true}},{"name":"__calculateRemainder","tagname":"method","owner":"global","id":"method-__calculateRemainder","meta":{"private":true}},{"name":"__calculateTotalDuration","tagname":"method","owner":"global","id":"method-__calculateTotalDuration","meta":{"private":true}},{"name":"__comparePosition","tagname":"method","owner":"global","id":"method-__comparePosition","meta":{"private":true}},{"name":"__findModelForDomElement","tagname":"method","owner":"global","id":"method-__findModelForDomElement","meta":{}},{"name":"__fireEvent","tagname":"method","owner":"global","id":"method-__fireEvent","meta":{}},{"name":"__focusTraverse","tagname":"method","owner":"global","id":"method-__focusTraverse","meta":{}},{"name":"__getColorValue","tagname":"method","owner":"global","id":"method-__getColorValue","meta":{"private":true}},{"name":"__getComputedStyle","tagname":"method","owner":"global","id":"method-__getComputedStyle","meta":{}},{"name":"__getDeepestDescendant","tagname":"method","owner":"global","id":"method-__getDeepestDescendant","meta":{}},{"name":"__getIntersection","tagname":"method","owner":"global","id":"method-__getIntersection","meta":{"private":true}},{"name":"__handleFocused","tagname":"method","owner":"global","id":"method-__handleFocused","meta":{"private":true}},{"name":"__handleKeyDown","tagname":"method","owner":"global","id":"method-__handleKeyDown","meta":{"private":true}},{"name":"__handleKeyPress","tagname":"method","owner":"global","id":"method-__handleKeyPress","meta":{"private":true}},{"name":"__handleKeyUp","tagname":"method","owner":"global","id":"method-__handleKeyUp","meta":{"private":true}},{"name":"__handleResizeEvent","tagname":"method","owner":"global","id":"method-__handleResizeEvent","meta":{"private":true}},{"name":"__isDomElementVisible","tagname":"method","owner":"global","id":"method-__isDomElementVisible","meta":{}},{"name":"__isFlipped","tagname":"method","owner":"global","id":"method-__isFlipped","meta":{"private":true}},{"name":"__listenToDocument","tagname":"method","owner":"global","id":"method-__listenToDocument","meta":{"private":true}},{"name":"__notifyAnimators","tagname":"method","owner":"global","id":"method-__notifyAnimators","meta":{"private":true}},{"name":"__resetProgress","tagname":"method","owner":"global","id":"method-__resetProgress","meta":{"private":true}},{"name":"__sendEvent","tagname":"method","owner":"global","id":"method-__sendEvent","meta":{"private":true}},{"name":"__shouldPreventDefault","tagname":"method","owner":"global","id":"method-__shouldPreventDefault","meta":{"private":true}},{"name":"__skipX","tagname":"method","owner":"global","id":"method-__skipX","meta":{}},{"name":"__skipY","tagname":"method","owner":"global","id":"method-__skipY","meta":{"private":true}},{"name":"__unlistenToDocument","tagname":"method","owner":"global","id":"method-__unlistenToDocument","meta":{"private":true}},{"name":"__update","tagname":"method","owner":"global","id":"method-__update","meta":{"private":true}},{"name":"__updateDuration","tagname":"method","owner":"global","id":"method-__updateDuration","meta":{"private":true}},{"name":"__updateMultiline","tagname":"method","owner":"global","id":"method-__updateMultiline","meta":{"private":true}},{"name":"__updateOverflow","tagname":"method","owner":"global","id":"method-__updateOverflow","meta":{"private":true}},{"name":"__updatePointerEvents","tagname":"method","owner":"global","id":"method-__updatePointerEvents","meta":{"private":true}},{"name":"__updateViewSize","tagname":"method","owner":"global","id":"method-__updateViewSize","meta":{"private":true}},{"name":"add","tagname":"method","owner":"global","id":"method-add","meta":{"chainable":true}},{"name":"addRoot","tagname":"method","owner":"global","id":"method-addRoot","meta":{}},{"name":"applyDiff","tagname":"method","owner":"global","id":"method-applyDiff","meta":{"chainable":true}},{"name":"attachObserver","tagname":"method","owner":"global","id":"method-attachObserver","meta":{}},{"name":"bindConstraint","tagname":"method","owner":"global","id":"method-bindConstraint","meta":{"private":true}},{"name":"browser","tagname":"method","owner":"global","id":"method-browser","meta":{}},{"name":"callOnIdle","tagname":"method","owner":"global","id":"method-callOnIdle","meta":{}},{"name":"clean","tagname":"method","owner":"global","id":"method-clean","meta":{}},{"name":"cleanChannelValue","tagname":"method","owner":"global","id":"method-cleanChannelValue","meta":{}},{"name":"clear","tagname":"method","owner":"global","id":"method-clear","meta":{}},{"name":"clone","tagname":"method","owner":"global","id":"method-clone","meta":{}},{"name":"closeTo","tagname":"method","owner":"global","id":"method-closeTo","meta":{}},{"name":"constraintify","tagname":"method","owner":"global","id":"method-constraintify","meta":{"private":true}},{"name":"createElement","tagname":"method","owner":"global","id":"method-createElement","meta":{}},{"name":"createPlatformMethodRef","tagname":"method","owner":"global","id":"method-createPlatformMethodRef","meta":{}},{"name":"degreesToRadians","tagname":"method","owner":"global","id":"method-degreesToRadians","meta":{}},{"name":"destroy","tagname":"method","owner":"global","id":"method-destroy","meta":{}},{"name":"destroyAfterOrphaning","tagname":"method","owner":"global","id":"method-destroyAfterOrphaning","meta":{}},{"name":"detachAllObservers","tagname":"method","owner":"global","id":"method-detachAllObservers","meta":{}},{"name":"detachObserver","tagname":"method","owner":"global","id":"method-detachObserver","meta":{}},{"name":"divide","tagname":"method","owner":"global","id":"method-divide","meta":{"chainable":true}},{"name":"doActivated","tagname":"method","owner":"global","id":"method-doActivated","meta":{}},{"name":"doActivationKeyAborted","tagname":"method","owner":"global","id":"method-doActivationKeyAborted","meta":{"abstract":true}},{"name":"doActivationKeyDown","tagname":"method","owner":"global","id":"method-doActivationKeyDown","meta":{"abstract":true}},{"name":"doActivationKeyUp","tagname":"method","owner":"global","id":"method-doActivationKeyUp","meta":{}},{"name":"doBlur","tagname":"method","owner":"global","id":"method-doBlur","meta":{}},{"name":"doDisabled","tagname":"method","owner":"global","id":"method-doDisabled","meta":{}},{"name":"doLoop","tagname":"method","owner":"global","id":"method-doLoop","meta":{"private":true}},{"name":"doMouseDown","tagname":"method","owner":"global","id":"method-doMouseDown","meta":{}},{"name":"doMouseOut","tagname":"method","owner":"global","id":"method-doMouseOut","meta":{}},{"name":"doMouseOver","tagname":"method","owner":"global","id":"method-doMouseOver","meta":{}},{"name":"doMouseUp","tagname":"method","owner":"global","id":"method-doMouseUp","meta":{}},{"name":"doMouseUpInside","tagname":"method","owner":"global","id":"method-doMouseUpInside","meta":{}},{"name":"doMouseUpOutside","tagname":"method","owner":"global","id":"method-doMouseUpOutside","meta":{}},{"name":"doResolve","tagname":"method","owner":"global","id":"method-doResolve","meta":{}},{"name":"doSmoothMouseOver","tagname":"method","owner":"global","id":"method-doSmoothMouseOver","meta":{}},{"name":"doSubnodeAdded","tagname":"method","owner":"global","id":"method-doSubnodeAdded","meta":{}},{"name":"doSubnodeRemoved","tagname":"method","owner":"global","id":"method-doSubnodeRemoved","meta":{}},{"name":"drawActiveState","tagname":"method","owner":"global","id":"method-drawActiveState","meta":{"abstract":true}},{"name":"drawDisabledState","tagname":"method","owner":"global","id":"method-drawDisabledState","meta":{"abstract":true}},{"name":"drawFocusedState","tagname":"method","owner":"global","id":"method-drawFocusedState","meta":{}},{"name":"drawHoverState","tagname":"method","owner":"global","id":"method-drawHoverState","meta":{"abstract":true}},{"name":"drawReadyState","tagname":"method","owner":"global","id":"method-drawReadyState","meta":{"abstract":true}},{"name":"dumpStack","tagname":"method","owner":"global","id":"method-dumpStack","meta":{}},{"name":"editor","tagname":"method","owner":"global","id":"method-editor","meta":{}},{"name":"extend","tagname":"method","owner":"global","id":"method-extend","meta":{}},{"name":"extractConstraintExpression","tagname":"method","owner":"global","id":"method-extractConstraintExpression","meta":{"private":true}},{"name":"fillTextTemplate","tagname":"method","owner":"global","id":"method-fillTextTemplate","meta":{}},{"name":"generateConfigAttrName","tagname":"method","owner":"global","id":"method-generateConfigAttrName","meta":{}},{"name":"generateConstraintFunctionName","tagname":"method","owner":"global","id":"method-generateConstraintFunctionName","meta":{}},{"name":"generateGetterName","tagname":"method","owner":"global","id":"method-generateGetterName","meta":{}},{"name":"generateGuid","tagname":"method","owner":"global","id":"method-generateGuid","meta":{}},{"name":"generateName","tagname":"method","owner":"global","id":"method-generateName","meta":{}},{"name":"generateSetterName","tagname":"method","owner":"global","id":"method-generateSetterName","meta":{}},{"name":"getAbsolutePosition","tagname":"method","owner":"global","id":"method-getAbsolutePosition","meta":{}},{"name":"getActualAttribute","tagname":"method","owner":"global","id":"method-getActualAttribute","meta":{}},{"name":"getAncestorArray","tagname":"method","owner":"global","id":"method-getAncestorArray","meta":{}},{"name":"getAttribute","tagname":"method","owner":"global","id":"method-getAttribute","meta":{}},{"name":"getBlueChannel","tagname":"method","owner":"global","id":"method-getBlueChannel","meta":{}},{"name":"getBoundingBox","tagname":"method","owner":"global","id":"method-getBoundingBox","meta":{}},{"name":"getBounds","tagname":"method","owner":"global","id":"method-getBounds","meta":{}},{"name":"getCaretPosition","tagname":"method","owner":"global","id":"method-getCaretPosition","meta":{}},{"name":"getColorNumber","tagname":"method","owner":"global","id":"method-getColorNumber","meta":{}},{"name":"getConstraintTemplate","tagname":"method","owner":"global","id":"method-getConstraintTemplate","meta":{"private":true}},{"name":"getDiffFrom","tagname":"method","owner":"global","id":"method-getDiffFrom","meta":{}},{"name":"getDistanceFromOriginalLocation","tagname":"method","owner":"global","id":"method-getDistanceFromOriginalLocation","meta":{}},{"name":"getDragViews","tagname":"method","owner":"global","id":"method-getDragViews","meta":{}},{"name":"getFirstSiblingView","tagname":"method","owner":"global","id":"method-getFirstSiblingView","meta":{}},{"name":"getGreenChannel","tagname":"method","owner":"global","id":"method-getGreenChannel","meta":{}},{"name":"getHeight","tagname":"method","owner":"global","id":"method-getHeight","meta":{}},{"name":"getHtmlHexString","tagname":"method","owner":"global","id":"method-getHtmlHexString","meta":{}},{"name":"getInnerHTML","tagname":"method","owner":"global","id":"method-getInnerHTML","meta":{}},{"name":"getLastSiblingView","tagname":"method","owner":"global","id":"method-getLastSiblingView","meta":{}},{"name":"getLighterColor","tagname":"method","owner":"global","id":"method-getLighterColor","meta":{}},{"name":"getNextSiblingView","tagname":"method","owner":"global","id":"method-getNextSiblingView","meta":{}},{"name":"getObservables","tagname":"method","owner":"global","id":"method-getObservables","meta":{}},{"name":"getObservers","tagname":"method","owner":"global","id":"method-getObservers","meta":{}},{"name":"getPrevSiblingView","tagname":"method","owner":"global","id":"method-getPrevSiblingView","meta":{}},{"name":"getRedChannel","tagname":"method","owner":"global","id":"method-getRedChannel","meta":{}},{"name":"getRoots","tagname":"method","owner":"global","id":"method-getRoots","meta":{}},{"name":"getTypeForAttrName","tagname":"method","owner":"global","id":"method-getTypeForAttrName","meta":{"private":true}},{"name":"getWidth","tagname":"method","owner":"global","id":"method-getWidth","meta":{}},{"name":"handleFocusChange","tagname":"method","owner":"global","id":"method-handleFocusChange","meta":{"private":true}},{"name":"hasObservables","tagname":"method","owner":"global","id":"method-hasObservables","meta":{}},{"name":"hasObservers","tagname":"method","owner":"global","id":"method-hasObservers","meta":{}},{"name":"initNode","tagname":"method","owner":"global","id":"method-initNode","meta":{}},{"name":"initialize","tagname":"method","owner":"global","id":"method-initialize","meta":{}},{"name":"invokePlatformObserverCallback","tagname":"method","owner":"global","id":"method-invokePlatformObserverCallback","meta":{"private":true}},{"name":"isAcceleratorKeyDown","tagname":"method","owner":"global","id":"method-isAcceleratorKeyDown","meta":{}},{"name":"isAltKeyDown","tagname":"method","owner":"global","id":"method-isAltKeyDown","meta":{}},{"name":"isBehind","tagname":"method","owner":"global","id":"method-isBehind","meta":{}},{"name":"isCommandKeyDown","tagname":"method","owner":"global","id":"method-isCommandKeyDown","meta":{}},{"name":"isConstraintExpression","tagname":"method","owner":"global","id":"method-isConstraintExpression","meta":{"private":true}},{"name":"isControlKeyDown","tagname":"method","owner":"global","id":"method-isControlKeyDown","meta":{}},{"name":"isInFrontOf","tagname":"method","owner":"global","id":"method-isInFrontOf","meta":{}},{"name":"isKeyDown","tagname":"method","owner":"global","id":"method-isKeyDown","meta":{}},{"name":"isLighterThan","tagname":"method","owner":"global","id":"method-isLighterThan","meta":{}},{"name":"isListeningTo","tagname":"method","owner":"global","id":"method-isListeningTo","meta":{}},{"name":"isPlatformEvent","tagname":"method","owner":"global","id":"method-isPlatformEvent","meta":{}},{"name":"isShiftKeyDown","tagname":"method","owner":"global","id":"method-isShiftKeyDown","meta":{}},{"name":"listenTo","tagname":"method","owner":"global","id":"method-listenTo","meta":{"chainable":true}},{"name":"listenToOnce","tagname":"method","owner":"global","id":"method-listenToOnce","meta":{}},{"name":"listenToPlatform","tagname":"method","owner":"global","id":"method-listenToPlatform","meta":{}},{"name":"makeColorFromHexString","tagname":"method","owner":"global","id":"method-makeColorFromHexString","meta":{}},{"name":"makeColorFromNumber","tagname":"method","owner":"global","id":"method-makeColorFromNumber","meta":{}},{"name":"makeColorNumberFromChannels","tagname":"method","owner":"global","id":"method-makeColorNumberFromChannels","meta":{}},{"name":"makePuppet","tagname":"method","owner":"global","id":"method-makePuppet","meta":{"private":true}},{"name":"memoize","tagname":"method","owner":"global","id":"method-memoize","meta":{}},{"name":"moveBehind","tagname":"method","owner":"global","id":"method-moveBehind","meta":{}},{"name":"moveInFrontOf","tagname":"method","owner":"global","id":"method-moveInFrontOf","meta":{}},{"name":"moveToBack","tagname":"method","owner":"global","id":"method-moveToBack","meta":{}},{"name":"moveToFront","tagname":"method","owner":"global","id":"method-moveToFront","meta":{}},{"name":"multiply","tagname":"method","owner":"global","id":"method-multiply","meta":{"chainable":true}},{"name":"next","tagname":"method","owner":"global","id":"method-next","meta":{}},{"name":"noop","tagname":"method","owner":"global","id":"method-noop","meta":{}},{"name":"notify","tagname":"method","owner":"global","id":"method-notify","meta":{}},{"name":"notifyBlur","tagname":"method","owner":"global","id":"method-notifyBlur","meta":{}},{"name":"notifyDebug","tagname":"method","owner":"global","id":"method-notifyDebug","meta":{}},{"name":"notifyError","tagname":"method","owner":"global","id":"method-notifyError","meta":{}},{"name":"notifyFocus","tagname":"method","owner":"global","id":"method-notifyFocus","meta":{}},{"name":"notifyMsg","tagname":"method","owner":"global","id":"method-notifyMsg","meta":{}},{"name":"notifyReady","tagname":"method","owner":"global","id":"method-notifyReady","meta":{}},{"name":"notifyWarn","tagname":"method","owner":"global","id":"method-notifyWarn","meta":{}},{"name":"prev","tagname":"method","owner":"global","id":"method-prev","meta":{}},{"name":"radiansToDegrees","tagname":"method","owner":"global","id":"method-radiansToDegrees","meta":{}},{"name":"rebindConstraints","tagname":"method","owner":"global","id":"method-rebindConstraints","meta":{}},{"name":"register","tagname":"method","owner":"global","id":"method-register","meta":{}},{"name":"releasePuppet","tagname":"method","owner":"global","id":"method-releasePuppet","meta":{"private":true}},{"name":"removeRoot","tagname":"method","owner":"global","id":"method-removeRoot","meta":{}},{"name":"reset","tagname":"method","owner":"global","id":"method-reset","meta":{}},{"name":"resolveName","tagname":"method","owner":"global","id":"method-resolveName","meta":{}},{"name":"retainFocusDuringDomUpdate","tagname":"method","owner":"global","id":"method-retainFocusDuringDomUpdate","meta":{}},{"name":"rewind","tagname":"method","owner":"global","id":"method-rewind","meta":{}},{"name":"rgbToHex","tagname":"method","owner":"global","id":"method-rgbToHex","meta":{}},{"name":"rotate","tagname":"method","owner":"global","id":"method-rotate","meta":{"chainable":true}},{"name":"scale","tagname":"method","owner":"global","id":"method-scale","meta":{"chainable":true}},{"name":"selectAll","tagname":"method","owner":"global","id":"method-selectAll","meta":{}},{"name":"sendEvent","tagname":"method","owner":"global","id":"method-sendEvent","meta":{"chainable":true}},{"name":"sendReadyEvent","tagname":"method","owner":"global","id":"method-sendReadyEvent","meta":{}},{"name":"setActual","tagname":"method","owner":"global","id":"method-setActual","meta":{}},{"name":"setActualAttribute","tagname":"method","owner":"global","id":"method-setActualAttribute","meta":{"chainable":true}},{"name":"setAttribute","tagname":"method","owner":"global","id":"method-setAttribute","meta":{"chainable":true}},{"name":"setAttributes","tagname":"method","owner":"global","id":"method-setAttributes","meta":{}},{"name":"setBlue","tagname":"method","owner":"global","id":"method-setBlue","meta":{}},{"name":"setCaretPosition","tagname":"method","owner":"global","id":"method-setCaretPosition","meta":{}},{"name":"setCaretToEnd","tagname":"method","owner":"global","id":"method-setCaretToEnd","meta":{}},{"name":"setCaretToStart","tagname":"method","owner":"global","id":"method-setCaretToStart","meta":{}},{"name":"setConstraint","tagname":"method","owner":"global","id":"method-setConstraint","meta":{"chainable":true}},{"name":"setGreen","tagname":"method","owner":"global","id":"method-setGreen","meta":{}},{"name":"setInnerHTML","tagname":"method","owner":"global","id":"method-setInnerHTML","meta":{}},{"name":"setRed","tagname":"method","owner":"global","id":"method-setRed","meta":{}},{"name":"setSimpleActual","tagname":"method","owner":"global","id":"method-setSimpleActual","meta":{}},{"name":"set_boxshadow","tagname":"method","owner":"global","id":"method-set_boxshadow","meta":{}},{"name":"set_focusedView","tagname":"method","owner":"global","id":"method-set_focusedView","meta":{}},{"name":"setupConstraint","tagname":"method","owner":"global","id":"method-setupConstraint","meta":{}},{"name":"simulatePlatformEvent","tagname":"method","owner":"global","id":"method-simulatePlatformEvent","meta":{}},{"name":"startDrag","tagname":"method","owner":"global","id":"method-startDrag","meta":{}},{"name":"stopDrag","tagname":"method","owner":"global","id":"method-stopDrag","meta":{}},{"name":"stopListening","tagname":"method","owner":"global","id":"method-stopListening","meta":{"chainable":true}},{"name":"stopListeningToAllObservables","tagname":"method","owner":"global","id":"method-stopListeningToAllObservables","meta":{}},{"name":"stopListeningToAllPlatformSources","tagname":"method","owner":"global","id":"method-stopListeningToAllPlatformSources","meta":{}},{"name":"stopListeningToPlatform","tagname":"method","owner":"global","id":"method-stopListeningToPlatform","meta":{}},{"name":"subtract","tagname":"method","owner":"global","id":"method-subtract","meta":{"chainable":true}},{"name":"syncTo","tagname":"method","owner":"global","id":"method-syncTo","meta":{}},{"name":"toHex","tagname":"method","owner":"global","id":"method-toHex","meta":{}},{"name":"transformAroundOrigin","tagname":"method","owner":"global","id":"method-transformAroundOrigin","meta":{}},{"name":"translate","tagname":"method","owner":"global","id":"method-translate","meta":{"chainable":true}},{"name":"trigger","tagname":"method","owner":"global","id":"method-trigger","meta":{}},{"name":"unregister","tagname":"method","owner":"global","id":"method-unregister","meta":{}},{"name":"updateDrag","tagname":"method","owner":"global","id":"method-updateDrag","meta":{}},{"name":"updatePosition","tagname":"method","owner":"global","id":"method-updatePosition","meta":{}},{"name":"updateTarget","tagname":"method","owner":"global","id":"method-updateTarget","meta":{}},{"name":"updateUI","tagname":"method","owner":"global","id":"method-updateUI","meta":{"abstract":true}},{"name":"wrapFunction","tagname":"method","owner":"global","id":"method-wrapFunction","meta":{}}],"aliases":{},"files":[{"filename":"","href":""}],"component":false,"superclasses":[],"subclasses":[],"mixedInto":[],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"

    Global variables and functions.

    \n
    Defined By

    Attributes

    : Numberreadonly
    The keycode of the activation key that is currently down. ...

    The keycode of the activation key that is currently down. This will\nbe -1 when no key is down.

    \n
    An array of chars The keys that when keyed down will activate this\ncomponent. ...

    An array of chars The keys that when keyed down will activate this\ncomponent. Note: The value is not copied so modification of the array\noutside the scope of this object will effect behavior.

    \n
    : Boolean

    Allows a drag to be aborted by the user by pressing the 'esc' key.

    \n

    Allows a drag to be aborted by the user by pressing the 'esc' key.

    \n
    : Boolean

    If true this draggable will update the draginitx and draginity to keep\nthe view centered on the mouse.

    \n

    If true this draggable will update the draginitx and draginity to keep\nthe view centered on the mouse.

    \n
    : Boolean

    Indicates that this component is disabled.

    \n

    Indicates that this component is disabled.

    \n

    The distance, in pixels, before a mouse down and drag is considered a\ndrag action.

    \n

    The distance, in pixels, before a mouse down and drag is considered a\ndrag action.

    \n
    : String
    Limits dragging to a single axis. ...

    Limits dragging to a single axis. Supported values: 'x', 'y', 'both'.

    \n
    : Boolean

    Configures the view to be draggable or not.

    \n

    Configures the view to be draggable or not.

    \n
    : Boolean

    Indicates that this view is currently being dragged.

    \n

    Indicates that this view is currently being dragged.

    \n
    : Boolean

    Indicates if the mouse is down or not.

    \n

    Indicates if the mouse is down or not.

    \n
    : Boolean

    Indicates if the mouse is over this view or not.

    \n

    Indicates if the mouse is over this view or not.

    \n
    : Boolean

    Indicates if doActivationKeyDown will be called for repeated keydown\nevents or not.

    \n

    Indicates if doActivationKeyDown will be called for repeated keydown\nevents or not.

    \n
    Defined By

    Properties

    : Object
    {UI Behavior}\nAdds an udpateUI method that should be called to update the UI. ...

    {UI Behavior}\nAdds an udpateUI method that should be called to update the UI. Various\nmixins will rely on the updateUI method to trigger visual updates.

    \n
    Caches config attribute names. ...

    Caches config attribute names.

    \n

    Defaults to: {}

    Caches constraint function names. ...

    Caches constraint function names.

    \n

    Defaults to: {}

    : Object
    A map of supported iframe event types. ...

    A map of supported iframe event types.

    \n

    Defaults to: {onload: true}

    Caches getter names. ...

    Caches getter names.

    \n

    Defaults to: {}

    Dictionary to map global ID's to the dreem global root. ...

    Dictionary to map global ID's to the dreem global root. Used for\n constraint-resolving. See dr.sprite.storeGlobal and\n dr.sprite.retrieveGlobal for methods that access this dictionary.\n @private

    \n

    Defaults to: {}

    The boolean indicates if it is capture phase or not. ...

    The boolean indicates if it is capture phase or not.

    \n

    Defaults to: {onfocus: false, onblur: false, onkeypress: false, onkeydown: false, onkeyup: false, onmouseover: false, onmouseout: false, onmousedown: false, onmouseup: false, onclick: false, ondblclick: false, onmousemove: false, oncontextmenu: false, onwheel: false}

    Caches setter names. ...

    Caches setter names.

    \n

    Defaults to: {}

    Used to generate globally unique IDs. ...

    Used to generate globally unique IDs.\n @private

    \n

    Defaults to: 0

    Event listener code Adapted from:\n http://javascript.about.com/library/bllisten.htm\n A more r...

    Event listener code Adapted from:\n http://javascript.about.com/library/bllisten.htm\n A more robust solution can be found here:\n http://msdn.microsoft.com/en-us/magazine/ff728624.aspx

    \n
    : Object
    Provides support for Array.isArray in IE8 and earlier. ...

    Provides support for Array.isArray in IE8 and earlier.\n Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray

    \n
    : Object
    Provides support for Object.keys in IE8 and earlier. ...

    Provides support for Object.keys in IE8 and earlier.\n Taken from: http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation

    \n
    : Object
    Provides support for Date.now in IE8 and ealier. ...

    Provides support for Date.now in IE8 and ealier.\n Taken from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now

    \n
    Holds events until dr.ready is true. ...

    Holds events until dr.ready is true.

    \n

    Defaults to: []

    : Object
    Based on browser detection from: http://www.quirksmode.org/js/detect.html\n\n Events:\n none\n\n Att...

    Based on browser detection from: http://www.quirksmode.org/js/detect.html

    \n\n
           Events:\n           none\n\n       Attributes:\n           browser:string The browser name.\n           version:number The browser version number.\n           os:string The operating system.\n
    \n
    Defined By

    Methods

    ...
    \n
    ( timeDiff )private
    ...
    \n

    Parameters

    • timeDiff : Object
    ...
    \n
    ( reverse, repeat, remainderTime )private
    ...
    \n

    Parameters

    • reverse : Object
    • repeat : Object
    • remainderTime : Object
    ( view, front )private
    ...
    \n

    Parameters

    • view : Object
    • front : Object
    Finds the closest model for the provided dom element. ...

    Finds the closest model for the provided dom element.\n @param elem:domElement to element to start looking from.\n @returns dr.sprite.View or null if not found.\n @private

    \n

    Parameters

    • elem : Object
    ( type, event, observers )
    Fire the event to the observers. ...

    Fire the event to the observers.\n @private\n @param type:string The type of event to fire.\n @param event:Object The event to fire.\n @param observers:array An array of method names and contexts to invoke\n providing the event as the sole argument.\n @returns void

    \n

    Parameters

    • type : Object
    • event : Object
    • observers : Object
    ( isForward, ignoreFocusTrap )
    Traverse forward or backward from the currently focused view. ...

    Traverse forward or backward from the currently focused view.\n @param isForward:boolean indicates forward or backward dom traversal.\n @param ignoreFocusTrap:boolean indicates if focus traps should be\n skipped over or not.\n @returns the new view to give focus to, or null if there is no view\n to focus on or an unmanaged dom element will receive focus.

    \n

    Parameters

    • isForward : Object
    • ignoreFocusTrap : Object
    ( from, to, motionValue, relative, value )private
    ...
    \n

    Parameters

    • from : Object
    • to : Object
    • motionValue : Object
    • relative : Object
    • value : Object
    Gets the computed style for a dom element. ...

    Gets the computed style for a dom element.\n @param elem:dom element the dom element to get the style for.\n @returns object the style object.

    \n

    Parameters

    • elem : Object
    Gets the deepest dom element that is a descendant of the provided\n dom element or the element itself. ...

    Gets the deepest dom element that is a descendant of the provided\n dom element or the element itself.\n @param elem:domElement The dom element to search downward from.\n @returns a dom element.\n @private

    \n

    Parameters

    • elem : Object
    ( a1, a2, b1, b2 )private
    ...
    \n

    Parameters

    • a1 : Object
    • a2 : Object
    • b1 : Object
    • b2 : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( platformEvent )private
    ...
    \n

    Parameters

    • platformEvent : Object
    ( w, h )private
    ...
    \n

    Parameters

    • w : Object
    • h : Object
    Tests if a dom element is visible or not. ...

    Tests if a dom element is visible or not.\n @param elem:DomElement the element to check visibility for.\n @returns boolean True if visible, false otherwise.

    \n

    Parameters

    • elem : Object
    ( )private
    ...
    \n
    ...
    \n
    ( attrName, value )private
    ...
    \n

    Parameters

    • attrName : Object
    • value : Object
    ...
    \n
    ( eventType, platformEvent, keyCode )private
    ...
    \n

    Parameters

    • eventType : Object
    • platformEvent : Object
    • keyCode : Object
    ( keyCode, targetElem )private
    ...
    \n

    Parameters

    • keyCode : Object
    • targetElem : Object
    ( view )
    No need to measure children that are not visible or that use a percent\n position or size since this leads t...

    No need to measure children that are not visible or that use a percent\n position or size since this leads to circular sizing constraints.\n Also skip children that use an align of bottom/right or center/middle\n since those also lead to circular sizing constraints.\n @private

    \n

    Parameters

    • view : Object
    ( view )private
    ...
    \n

    Parameters

    • view : Object
    ...
    \n
    ( idleEvent )private
    ...
    \n

    Parameters

    • idleEvent : Object
    ...
    \n
    ...
    \n
    ...
    \n
    ...
    \n
    ( c ) : globalchainable
    Adds the provided color to this color. ...

    Adds the provided color to this color.\n @param c:dr.Color the color to add.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • c : Object

    Returns

    Add a rootable to the global list of root views. ...

    Add a rootable to the global list of root views.\n @param r:RootNode the RootNode to add.\n @returns void

    \n

    Parameters

    • r : Object
    ( diff ) : globalchainable
    Applies the provided diff object to this color. ...

    Applies the provided diff object to this color.\n @param diff:object the color diff to apply.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • diff : Object

    Returns

    ( observer, methodName, eventType )
    Auto register for platform events when registering for a normal\n event with the same event type. ...

    Auto register for platform events when registering for a normal\n event with the same event type.\n @overrides dr.Observable

    \n

    Parameters

    • observer : Object
    • methodName : Object
    • eventType : Object
    ( attrName, expression, isAsync )private
    ...
    \n

    Parameters

    • attrName : Object
    • expression : Object
    • isAsync : Object
    ( url, withdevtools )
    Opens a webbrowser on the specified url ...

    Opens a webbrowser on the specified url

    \n

    Parameters

    • url : String

      Url to open

      \n
    • withdevtools : Bool

      Open developer tools too (gives focus on OSX)

      \n
    ( callback, scope )
    Invokes the provided callback function once on the next idle event. ...

    Invokes the provided callback function once on the next idle event.\n @param callback:function/string The function to call or a path\n to a function to call relative to the provided scope.\n @param scope:object (optional) If provided this scope will be\n bound to the callback function.\n @returns void

    \n

    Parameters

    • callback : Object
    • scope : Object
    @overrides ...

    @overrides

    \n
    Limits a channel value to integers between 0 and 255. ...

    Limits a channel value to integers between 0 and 255.\n @param value:number the channel value to clean up.\n @returns number

    \n

    Parameters

    • value : Object
    Clears the current focus. ...

    Clears the current focus.\n @returns void

    \n
    Clones this Color. ...

    Clones this Color.\n @returns dr.Color A copy of this dr.Color.

    \n
    ( a, b, epsilon )
    Common float comparison function. ...

    Common float comparison function.

    \n

    Parameters

    • a : Object
    • b : Object
    • epsilon : Object
    ( expression )private
    ...
    \n

    Parameters

    • expression : Object
    ( parentElem, tagname, props, body )
    Creates a now dom element. ...

    Creates a now dom element.\n @runtime:browser\n @param parentElem:DomElement (optional) The dom element to append\n the new element to. If not provided document.body is used.\n @param tagname:string (optional) The name of the tag. If not\n provided div is used.\n @param props:object (optional) Properties to set on the element.\n @param body:string (optional) The inner html for the new element.\n @returns The created dom element.

    \n

    Parameters

    • parentElem : Object
    • tagname : Object
    • props : Object
    • body : Object
    ( platformObserver, methodName, eventType )
    @overrides ...

    @overrides

    \n

    Parameters

    • platformObserver : Object
    • methodName : Object
    • eventType : Object
    Convert radians to degrees. ...

    Convert radians to degrees.\n @param {Number} deg The degrees to convert.\n @return {Number} The radians

    \n

    Parameters

    • deg : Object
    Destroys this Object. ...

    Destroys this Object. Subclasses must call callSuper.\n @returns void

    \n
    @overrides dr.View ...

    @overrides dr.View

    \n
    Removes all observers from this Observable. ...

    Removes all observers from this Observable.\n @returns void

    \n
    ( observer, methodName, eventType )
    Auto unregister for platform events when registering for a normal\n event with the same event type. ...

    Auto unregister for platform events when registering for a normal\n event with the same event type.\n @overrides dr.Observable

    \n

    Parameters

    • observer : Object
    • methodName : Object
    • eventType : Object
    ( s ) : globalchainable
    Divides this color by the provided scalar. ...

    Divides this color by the provided scalar.\n @param s:number the scaler to divide by.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • s : Object

    Returns

    ( ) : void
    Called when this view should be activated. ...

    Called when this view should be activated.

    \n

    Returns

    • void
      \n
    ( key ) : voidabstract
    Called when focus is lost while an activation key is down. ...

    Called when focus is lost while an activation key is down.

    \n

    Parameters

    • key : Number

      the keycode that is down.

      \n

    Returns

    • void
      \n
    ( key, isRepeat ) : voidabstract
    Called when an activation key is pressed down. ...

    Called when an activation key is pressed down.

    \n

    Parameters

    • key : Number

      the keycode that is down.

      \n
    • isRepeat : Boolean

      Indicates if this is a key repeat event or not.

      \n

    Returns

    • void
      \n
    ( key ) : void
    Called when an activation key is release up. ...

    Called when an activation key is release up. This executes the\n'doActivated' method by default.

    \n

    Parameters

    • key : Number

      the keycode that is up.

      \n

    Returns

    • void
      \n
    ( ) : void
    @overrides dr.view ...

    @overrides dr.view

    \n

    Returns

    • void
      \n
    ( ) : void
    Called after the disabled attribute is set. ...

    Called after the disabled attribute is set. Default behavior attempts\nto give away focus and calls the updateUI method of dr.UpdateableUI if\nit is defined.

    \n

    Returns

    • void
      \n
    ( remainderTime, loopTime )private
    ...
    \n

    Parameters

    • remainderTime : Object
    • loopTime : Object
    ( event ) : void
    Called when the mouse is down on this view. ...

    Called when the mouse is down on this view. Subclasses must call call super.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( event ) : void
    Called when the mouse leaves this view. ...

    Called when the mouse leaves this view. Subclasses must call call super.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( event ) : void
    Called when the mouse is over this view. ...

    Called when the mouse is over this view. Subclasses must call call super.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( event ) : void
    Called when the mouse is up on this view. ...

    Called when the mouse is up on this view. Subclasses must call call super.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( event ) : void
    Called when the mouse is up and we are still over the view. ...

    Called when the mouse is up and we are still over the view. Executes\nthe 'doActivated' method by default.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( event ) : void
    Called when the mouse is up and we are not over the view. ...

    Called when the mouse is up and we are not over the view. Fires\nan 'onmouseupoutside' event.

    \n

    Parameters

    • event : Object
      \n

    Returns

    • void
      \n
    ( fn, onFulfilled, onRejected )
    Take a potentially misbehaving resolver function and make sure\nonFulfilled and onRejected are only called once. ...

    Take a potentially misbehaving resolver function and make sure\nonFulfilled and onRejected are only called once.

    \n\n

    Makes no guarantees about asynchrony.

    \n

    Parameters

    • fn : Object
    • onFulfilled : Object
    • onRejected : Object
    ( isOver ) : void
    Called when ismouseover state changes. ...

    Called when ismouseover state changes. This method is called after\nan event filtering process has reduced frequent over/out events\noriginating from the dom.

    \n

    Parameters

    • isOver : Boolean
      \n

    Returns

    • void
      \n
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • node : Object
    @overrides dr.Node ...

    @overrides dr.Node

    \n

    Parameters

    • node : Object
    ( ) : voidabstract
    Draw the UI when the component has a pending activation. ...

    Draw the UI when the component has a pending activation. For mouse\ninteractions this corresponds to the down state.

    \n

    Returns

    • void
      \n
    ( ) : voidabstract
    Draw the UI when the component is in the disabled state. ...

    Draw the UI when the component is in the disabled state.

    \n

    Returns

    • void
      \n
    Draw the UI when the component has focus. ...

    Draw the UI when the component has focus. The default implementation\ncalls drawHoverState.

    \n

    Returns

    • void
      \n
    ( ) : voidabstract
    Draw the UI when the component is on the verge of being interacted\nwith. ...

    Draw the UI when the component is on the verge of being interacted\nwith. For mouse interactions this corresponds to the over state.

    \n

    Returns

    • void
      \n
    ( ) : voidabstract
    Draw the UI when the component is ready to be interacted with. ...

    Draw the UI when the component is ready to be interacted with. For\nmouse interactions this corresponds to the enabled state when the\nmouse is not over the component.

    \n

    Returns

    • void
      \n
    ( err, type )
    A wrapper on dr.global.error.notify\n @param err:Error/string The error or message to dump stack for. ...

    A wrapper on dr.global.error.notify\n @param err:Error/string The error or message to dump stack for.\n @param type:string (optional) The type of console message to write.\n Allowed values are 'error', 'warn', 'log' and 'debug'. Defaults to\n 'error'.\n @returns void

    \n

    Parameters

    • err : Object
    • type : Object
    ( file, line, file )
    Opens a code editor on the file / line /columnt ...

    Opens a code editor on the file / line /columnt

    \n

    Parameters

    • file : String

      File to open

      \n
    • line : Int

      Line to set cursor to

      \n
    • file : Int

      File to open

      \n
    ( targetObj, sourceObj )
    Copies properties from the source objects to the target object. ...

    Copies properties from the source objects to the target object.\n @param targetObj:object The object that properties will be copied into.\n @param sourceObj:object The object that properties will be copied from.\n @param arguments... Additional arguments beyond the second will also\n be used as source objects and copied in order from left to right.\n @param mappingFunction:function (optional) If the last argument is a\n function it will be used to copy values from the source to the\n target. The function will be passed three values, the key, the\n target and the source. The mapping function should copy the\n source value into the target value if so desired.\n @returns The target object.

    \n

    Parameters

    • targetObj : Object
    • sourceObj : Object
    ...
    \n

    Parameters

    • value : Object
    Populates a text \"template\" with 1 or more arguments. ...

    Populates a text \"template\" with 1 or more arguments. The\n template consists of a string with text interspersed with\n curly-braced indices. The arguments are replaced in order one at\n a time into the template. For example:

    \n\n
               dr.fillTextTemplate(\"{0}/{2}/{1} hey {0}\", 1, 2, 3) \n           will return \"1/3/2 hey 1\".\n\n       @param (first arg):string The template to use.\n       @param (remaining args):(coerced to string) The parameters for the\n           template.\n       @returns A populated string.\n
    \n
    Generate a config name for an attribute. ...

    Generate a config name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generate a constraint function name for an attribute. ...

    Generate a constraint function name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generate a getter name for an attribute. ...

    Generate a getter name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    Generates a globally unique id, (GUID). ...

    Generates a globally unique id, (GUID).\n @return number

    \n
    ( attrName, prefix )
    Generates a method name by capitalizing the attrName and\n prepending the prefix. ...

    Generates a method name by capitalizing the attrName and\n prepending the prefix.\n @returns string

    \n

    Parameters

    • attrName : Object
    • prefix : Object
    Generate a setter name for an attribute. ...

    Generate a setter name for an attribute.\n @returns string

    \n

    Parameters

    • attrName : Object
    ( ancestorView )
    Gets the x and y position of the dom element relative to the\n ancestor dom element or the page. ...

    Gets the x and y position of the dom element relative to the\n ancestor dom element or the page. Transforms are not supported.\n @param ancestorView:View (optional) An ancestor View\n that if encountered will halt the page position calculation\n thus giving the position relative to ancestorView.\n @returns object with 'x' and 'y' keys or null if an error has\n occurred.

    \n

    Parameters

    • ancestorView : Object
    A generic getter function that can be called to get a value from this\n object. ...

    A generic getter function that can be called to get a value from this\n object. Will defer to a defined getter if it exists.\n @param attrName:string The name of the attribute to get.\n @returns the attribute value.

    \n

    Parameters

    • attrName : Object
    ( ancestor )
    Gets an array of ancestor platform objects including the platform\n object for this sprite. ...

    Gets an array of ancestor platform objects including the platform\n object for this sprite.\n @param ancestor (optional) The platform element to stop\n getting ancestors at.\n @returns an array of ancestor elements.

    \n

    Parameters

    • ancestor : Object
    ( attrName )
    Gets the config value of the attribute. ...

    Gets the config value of the attribute. For example, a view might\n have a config value of 'center' for the x attribute but the actual\n value would be something like 75.\n @param attrName:string The name of the attribute to get the config\n value for.\n @returns the attribute config value.

    \n

    Parameters

    • attrName : Object
    Gets the blue channel from a \"color\" number. ...

    Gets the blue channel from a \"color\" number.\n @returns number

    \n

    Parameters

    • value : Object
    Gets the bounding box for this path. ...

    Gets the bounding box for this path.\n @return object with properties x, y, width and height or null\n if no bounding box could be calculated.

    \n
    Gets the bounding rect object with enties: x, y, width and height. ...

    Gets the bounding rect object with enties: x, y, width and height.

    \n
    Gets the location of the caret. ...

    Gets the location of the caret.\n @returns int.

    \n
    Gets the numerical representation of this color. ...

    Gets the numerical representation of this color.\n @returns number: The number that represents this color.

    \n
    ( attrName, expression )private
    ...
    \n

    Parameters

    • attrName : Object
    • expression : Object
    Gets an object holding color channel diffs. ...

    Gets an object holding color channel diffs.\n @param c:dr.Color the color to diff from.\n @returns object containing the diffs for the red, green and blue\n channels.

    \n

    Parameters

    • c : Object
    Gets the distance dragged from the location of the start of the drag. ...

    Gets the distance dragged from the location of the start of the drag.

    \n

    Returns

    • Number
      \n
    ( ) : Array
    Returns an array of views that can be moused down on to start the\ndrag. ...

    Returns an array of views that can be moused down on to start the\ndrag. Subclasses should override this to return an appropriate list\nof views. By default this view is returned thus making the entire\nview capable of starting a drag.

    \n

    Returns

    • Array
      \n
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the green channel from a \"color\" number. ...

    Gets the green channel from a \"color\" number.\n @returns number

    \n

    Parameters

    • value : Object
    Gets the window's innerHeight. ...

    Gets the window's innerHeight.\n @returns the current height of the window.

    \n
    Gets the hex string representation of this color. ...

    Gets the hex string representation of this color.\n @returns string: A hex color such as '#a0bbcc'.

    \n
    Gets the inner html of the dom element backing this sprite. ...

    Gets the inner html of the dom element backing this sprite.\n @runtime browser

    \n
    Gets the next sibling view based on lexical ordering of dom elements. ...

    Gets the next sibling view based on lexical ordering of dom elements.

    \n
    Returns the lighter of the two provided colors. ...

    Returns the lighter of the two provided colors.\n @param a:number A color number.\n @param b:number A color number.\n @returns The number that represents the lighter color.

    \n

    Parameters

    • a : Object
    • b : Object
    Gets the next sibling view based on lexical ordering of dom elements. ...

    Gets the next sibling view based on lexical ordering of dom elements.

    \n
    ( eventType )
    Gets an array of observables and method names for the provided type. ...

    Gets an array of observables and method names for the provided type.\n The array is structured as:\n [methodName1, observableObj1, methodName2, observableObj2,...].\n @param eventType:string the event type to check for.\n @returns an array of observables.

    \n

    Parameters

    • eventType : Object
    Gets an array of observers and method names for the provided type. ...

    Gets an array of observers and method names for the provided type.\n The array is structured as:\n [methodName1, observerObj1, methodName2, observerObj2,...].\n @param type:string The name of the event to get observers for.\n @returns array: The observers of the event.

    \n

    Parameters

    • type : Object
    Gets the previous sibling view. ...

    Gets the previous sibling view.

    \n
    Gets the red channel from a \"color\" number. ...

    Gets the red channel from a \"color\" number.\n @return number

    \n

    Parameters

    • value : Object
    Gets the list of global root views. ...

    Gets the list of global root views.\n @returns array of RootNodes.

    \n
    ( attrName )private
    ...
    \n

    Parameters

    • attrName : Object
    Gets the window's innerWidth. ...

    Gets the window's innerWidth.\n @returns the current width of the window.

    \n
    ( focused )private
    ...
    \n

    Parameters

    • focused : Object
    ( eventType )
    Checks if any observables exist for the provided event type. ...

    Checks if any observables exist for the provided event type.\n @param eventType:string the event type to check for.\n @returns true if any exist, false otherwise.

    \n

    Parameters

    • eventType : Object
    Checks if any observers exist for the provided event type. ...

    Checks if any observers exist for the provided event type.\n @param type:string The name of the event to check.\n @returns boolean: True if any exist, false otherwise.

    \n

    Parameters

    • type : Object
    ( parent, attrs )
    @overrides ...

    @overrides

    \n

    Parameters

    • parent : Object
    • attrs : Object
    ( view, attrs )
    The standard JSClass initializer function. ...

    The standard JSClass initializer function. Subclasses should not\n override this function.\n @param view:dr.View The view this sprite is backing.\n @param attrs:object A map of attribute names and values.\n @returns void

    \n

    Parameters

    • view : Object
    • attrs : Object
    ( methodName, eventType, returnEvent )private
    Provides a hook for subclasses to override how the callback\n function gets executed. ...

    Provides a hook for subclasses to override how the callback\n function gets executed.

    \n

    Parameters

    • methodName : Object
    • eventType : Object
    • returnEvent : Object
    Tests if the platform specific \"accelerator\" key is down. ...

    Tests if the platform specific \"accelerator\" key is down.

    \n
    Tests if the 'alt' key is down. ...

    Tests if the 'alt' key is down.

    \n
    ( view )
    Tests if the provided view is behind this view. ...

    Tests if the provided view is behind this view. The view to test\n can be anywhere in the screen.\n @param siblingView:dr.View the view to check.\n @returns boolean: true if the view is behind this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    Tests if the 'command' key is down. ...

    Tests if the 'command' key is down.

    \n
    ( value )private
    ...
    \n

    Parameters

    • value : Object
    Tests if the 'control' key is down. ...

    Tests if the 'control' key is down.

    \n
    Tests if the provided view is front of this view. ...

    Tests if the provided view is front of this view. The view to test\n can be anywhere in the screen.\n @param siblingView:dr.View the view to check.\n @returns boolean: true if the view is in front of this view,\n false otherwise.

    \n

    Parameters

    • view : Object
    ( keyCode )
    Tests if a key is currently pressed down or not. ...

    Tests if a key is currently pressed down or not.\n @param keyCode:number the key to test.\n @returns true if the key is down, false otherwise.

    \n

    Parameters

    • keyCode : Object
    Tests if this color is lighter than the provided color. ...

    Tests if this color is lighter than the provided color.\n @param c:dr.Color the color to compare to.\n @returns boolean: True if this color is lighter, false otherwise.

    \n

    Parameters

    • c : Object
    ( observable, eventType, methodName )
    Checks if this Observer is attached to the provided observable for\n the methodName and eventType. ...

    Checks if this Observer is attached to the provided observable for\n the methodName and eventType.\n @param observable:dr.Observable the Observable to check with.\n @param eventType:string the event type to check for.\n @param methodName:string the method name on this instance to execute.\n @returns true if attached, false otherwise.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    ( eventType )
    @overrides\n All global mouse platform events should be handled during the\n capture phase. ...

    @overrides\n All global mouse platform events should be handled during the\n capture phase.

    \n

    Parameters

    • eventType : Object
    Tests if the 'shift' key is down. ...

    Tests if the 'shift' key is down.

    \n
    ( observable, eventTypes, methodName, once ) : globalchainable
    Registers this Observer with the provided Observable\n for the provided eventType. ...

    Registers this Observer with the provided Observable\n for the provided eventType.\n @param observable:dr.Observable the Observable to attach to.\n @param eventTypes:string the event type to attach for. May be a\n comma or space separated list of event types.\n @param methodName:string the method name on this instance to execute.\n @param once:boolean (optional) if true this Observer will detach\n from the Observable after the event is handled once.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventTypes : Object
    • methodName : Object
    • once : Object

    Returns

    ( observable, eventType, methodName )
    A wrapper on listenTo where the 'once' argument is set to true. ...

    A wrapper on listenTo where the 'once' argument is set to true.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    ( spriteBacked, eventType, methodName, capture )
    Attaches this PlatformObserverAdapter to the a SpriteBacked Node\n for an event type. ...

    Attaches this PlatformObserverAdapter to the a SpriteBacked Node\n for an event type.\n @returns void

    \n

    Parameters

    • spriteBacked : Object
    • eventType : Object
    • methodName : Object
    • capture : Object
    Creates an dr.Color from an html color string. ...

    Creates an dr.Color from an html color string.\n @param value:string A hex string representation of a color, such\n as '#ff339b'.\n @returns dr.Color or null if no color could be parsed.

    \n

    Parameters

    • value : Object
    Creates an dr.Color from a \"color\" number. ...

    Creates an dr.Color from a \"color\" number.\n @returns dr.Color

    \n

    Parameters

    • value : Object
    ( red, green, blue )
    Creates a \"color\" number from the provided color channels. ...

    Creates a \"color\" number from the provided color channels.\n @param red:number the red channel\n @param green:number the green channel\n @param blue:number the blue channel\n @returns number

    \n

    Parameters

    • red : Object
    • green : Object
    • blue : Object
    ( animGroup )private
    ...
    \n

    Parameters

    • animGroup : Object
    Memoize a function. ...

    Memoize a function.\n @param f:function The function to memoize\n @returns function: The memoized function.

    \n

    Parameters

    • f : Object
    ( otherView )
    Moves this sprite behind the sprite of the provided sibling view. ...

    Moves this sprite behind the sprite of the provided sibling view.

    \n

    Parameters

    • otherView : Object
    ( otherView )
    Moves this sprite in front of the sprite of the provided\n sibling view. ...

    Moves this sprite in front of the sprite of the provided\n sibling view.

    \n

    Parameters

    • otherView : Object
    Moves this sprite behind all other sibling sprites. ...

    Moves this sprite behind all other sibling sprites.

    \n
    Moves this sprite in front of all other sibling sprites. ...

    Moves this sprite in front of all other sibling sprites.

    \n
    ( s ) : globalchainable
    Multiplys this color by the provided scalar. ...

    Multiplys this color by the provided scalar.\n @param s:number the scaler to multiply by.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • s : Object

    Returns

    ( ignoreFocusTrap )
    Move focus to the next focusable element. ...

    Move focus to the next focusable element.\n @param ignoreFocusTrap:boolean If true focus traps will be skipped over.\n @returns void

    \n

    Parameters

    • ignoreFocusTrap : Object
    Common noop function. ...

    Common noop function. Also used as a return value for setters to\n prevent the default setAttribute behavior.

    \n
    ( consoleFuncName, eventType, msg, err )
    Broadcasts that an error has occurred and also logs the error to the\n console if so configured. ...

    Broadcasts that an error has occurred and also logs the error to the\n console if so configured.\n @param consoleFuncName:string (optional) The name of the function to\n call on the console. Standard values are:'error', 'warn', 'log'\n and 'debug'. If not provided no console logging will occur\n regardless of the value of this.consoleLogging.\n @param eventType:string (optional) The type of the event that will be\n broadcast. If not provided 'error' will be used.\n @param msg:* (optional) Usually a string, this is additional information\n that will be provided in the value object of the broadcast event.\n @param err:Error (optional) A javascript error object from which a\n stacktrace will be taken. If not provided a stacktrace will be\n automatically generated.\n @private

    \n

    Parameters

    • consoleFuncName : Object
    • eventType : Object
    • msg : Object
    • err : Object
    ( focusable )
    Called by a FocusObservable when it has lost focus. ...

    Called by a FocusObservable when it has lost focus.\n @param focusable:FocusObservable the view that lost focus.\n @returns void.

    \n

    Parameters

    • focusable : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'debug'. ...

    A wrapper on this.notify where consoleFuncName is 'debug'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'error'. ...

    A wrapper on this.notify where consoleFuncName is 'error'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( focusable )
    Called by a FocusObservable when it has received focus. ...

    Called by a FocusObservable when it has received focus.\n @param focusable:FocusObservable the view that received focus.\n @returns void.

    \n

    Parameters

    • focusable : Object
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'log'. ...

    A wrapper on this.notify where consoleFuncName is 'log'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    Called at the end of instantiation. ...

    Called at the end of instantiation. Bind all the constraints registered\n during instantiation and notifies each root view that we are \"ready\".

    \n
    ( type, msg, err )
    A wrapper on this.notify where consoleFuncName is 'warn'. ...

    A wrapper on this.notify where consoleFuncName is 'warn'.

    \n

    Parameters

    • type : Object
    • msg : Object
    • err : Object
    ( ignoreFocusTrap )
    Move focus to the previous focusable element. ...

    Move focus to the previous focusable element.\n @param ignoreFocusTrap:boolean If true focus traps will be skipped over.\n @returns void

    \n

    Parameters

    • ignoreFocusTrap : Object
    Convert degrees to radians. ...

    Convert degrees to radians.\n @param {Number} rad The radians to convert.\n @return {Number} The radians

    \n

    Parameters

    • rad : Object
    Rebinds all constraints on this object. ...

    Rebinds all constraints on this object.

    \n
    ( key, v )
    Registers the provided global under the key. ...

    Registers the provided global under the key. Fires a register\n event. If a global is already registered under the key the existing\n global is unregistered first.\n @returns void

    \n

    Parameters

    • key : Object
    • v : Object
    ( animGroup )private
    ...
    \n

    Parameters

    • animGroup : Object
    Remove a rootable from the global list of root views. ...

    Remove a rootable from the global list of root views.\n @param r:RootNode the RootNode to remove.\n @returns void

    \n

    Parameters

    • r : Object
    @overrides ...

    @overrides

    \n
    ( objName, scope )
    Takes a '.' separated string such as \"foo.bar.baz\" and resolves it\n into the value found at that location r...

    Takes a '.' separated string such as \"foo.bar.baz\" and resolves it\n into the value found at that location relative to a starting scope.\n If no scope is provided global scope is used.\n @param objName:string|array The name to resolve or an array of path\n parts in descending order.\n @param scope:Object The scope to resolve from. If resolution fails\n against this scope the global scope will then be tried.\n @returns The referenced object or undefined if resolution failed.

    \n

    Parameters

    • objName : Object
    • scope : Object
    ( viewBeingRemoved, wrappedFunc )
    Preserves focus and scroll position during dom updates. ...

    Preserves focus and scroll position during dom updates. Focus can\n get lost in webkit when an element is removed from the dom.\n viewBeingRemoved:dr.View\n wrapperFunc:function a function to execute that manipulates the\n dom in some way, typically a remove followed by an insert.\n @returns void

    \n

    Parameters

    • viewBeingRemoved : Object
    • wrappedFunc : Object
    ( executeCallback )
    Puts the animator back to an initial configured state. ...

    Puts the animator back to an initial configured state.\n @param executeCallback:boolean (optional) if true the callback, if\n it exists, will be executed.\n @returns void

    \n

    Parameters

    • executeCallback : Object
    ( red, green, blue, prependHash )
    Converts red, green, and blue color channel numbers to a six\n character hex string. ...

    Converts red, green, and blue color channel numbers to a six\n character hex string.\n @param red:number The red color channel.\n @param green:number The green color channel.\n @param blue:number The blue color channel.\n @param prependHash:boolean (optional) If true a '#' character\n will be prepended to the return value.\n @returns string: Something like: '#ff9c02' or 'ff9c02'

    \n

    Parameters

    • red : Object
    • green : Object
    • blue : Object
    • prependHash : Object
    ( a ) : globalchainable
    Rotates this path around 0,0 by the provided angle in degrees. ...

    Rotates this path around 0,0 by the provided angle in degrees.\n @param a:number The angle in degrees to rotate.

    \n

    Parameters

    • a : Object

    Returns

    ( sx, sy ) : globalchainable
    Scales this path around the origin by the provided scale amount\n @param sx:number The amount to scale along...

    Scales this path around the origin by the provided scale amount\n @param sx:number The amount to scale along the x-axis.\n @param sy:number The amount to scale along the y-axis.

    \n

    Parameters

    • sx : Object
    • sy : Object

    Returns

    Selects all the text in the input element. ...

    Selects all the text in the input element.\n @returns void

    \n
    ( type, value ) : globalchainable
    Generates a new event from the provided type and value and fires it\n to the provided observers or the regis...

    Generates a new event from the provided type and value and fires it\n to the provided observers or the registered observers.\n @param type:string The event type to fire.\n @param value:* The value to set on the event.\n @returns This object for chainability.

    \n

    Parameters

    • type : Object
    • value : Object

    Returns

    Called from dr.notifyReady. ...

    Called from dr.notifyReady. Sends a dreeminit event. Used by\n phantomjs testing

    \n
    ( attrName, value, type, defaultValue, beforeEventFunc )
    Sets the actual value of an attribute on an object and fires an\n event if the value has changed. ...

    Sets the actual value of an attribute on an object and fires an\n event if the value has changed.\n @param attrName:string The name of the attribute to set.\n @param value: The value to set.\n @param type:string The type to try to coerce the value to.\n @param defaultValue: (optional) The default value to use when\n coercion fails.\n @param beforeEventFunc:function (optional) A function that gets called\n before the event may be fired.\n @returns boolean: True if the value was changed, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    • type : Object
    • defaultValue : Object
    • beforeEventFunc : Object
    ( attrName, value ) : globalchainable
    A generic setter function that is called to set the actual value\n of an attribute on this object. ...

    A generic setter function that is called to set the actual value\n of an attribute on this object. Will defer to a defined setter if\n it exists. The implementation assumes this object is an\n Observable so it will have a 'sendEvent' method.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • value : Object

    Returns

    ( attrName, value ) : globalchainable
    A generic setter function that can be called to set the configured\n value of an attribute on this object. ...

    A generic setter function that can be called to set the configured\n value of an attribute on this object. Will first test if the\n \"config\" value has changed and if so it will proceed to update the\n value, bind/unbind constraints and finally set the actual\n attribute value via the setActualAttribute method.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • value : Object

    Returns

    Calls a setter function for each attribute in the provided map. ...

    Calls a setter function for each attribute in the provided map.\n @param attrs:object a map of attributes to set.\n @returns void.

    \n

    Parameters

    • attrs : Object
    ( blue )
    Sets the blue channel value. ...

    Sets the blue channel value.

    \n

    Parameters

    • blue : Object
    ( start, end )
    Sets the caret and selection. ...

    Sets the caret and selection.\n @param start:int the start of the selection or location of the caret\n if no end is provided.\n @param end:int (optional) the end of the selection.\n @returns void

    \n

    Parameters

    • start : Object
    • end : Object
    Sets the caret to the end of the text input. ...

    Sets the caret to the end of the text input.\n @returns void

    \n
    Sets the caret to the start of the text input. ...

    Sets the caret to the start of the text input.\n @returns void

    \n
    ( attrName, expression ) : globalchainable
    A convienence method for setting an attribute as a constraint. ...

    A convienence method for setting an attribute as a constraint.\n This is a wrapper around setAttribute with '${expression}' for\n the value.\n @param attrName:string The name of the attribute to set.\n @param expression:string The expression to set.\n @returns This object for chainability.

    \n

    Parameters

    • attrName : Object
    • expression : Object

    Returns

    ( green )
    Sets the green channel value. ...

    Sets the green channel value.

    \n

    Parameters

    • green : Object
    Sets the inner html of the dom element backing this sprite. ...

    Sets the inner html of the dom element backing this sprite.\n @runtime browser

    \n

    Parameters

    • html : Object
    ( red )
    Sets the red channel value. ...

    Sets the red channel value.

    \n

    Parameters

    • red : Object
    ( attrName, value, fireEvent )
    Sets the actual value of an attribute on an object. ...

    Sets the actual value of an attribute on an object.\n @param attrName:string The name of the attribute to set.\n @param value:* The value to set.\n @param fireEvent:boolean (optional) If true an attempt will be made\n to fire an event. Defaults to undefined which is equivalent\n to false.\n @returns boolean: True if the value was changed, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    • fireEvent : Object
    Sets the CSS boxShadow property. ...

    Sets the CSS boxShadow property.\n @param v:array where index 0 is the horizontal shadow offset,\n index 1 is the vertical shadow offset, index 2 is the blur amount,\n index 3 is the spread amount and index 4 is the color.\n @returns void

    \n

    Parameters

    • v : Object
    Sets the currently focused view. ...

    Sets the currently focused view.

    \n

    Parameters

    • v : Object
    ( attrName, value )
    Attempts to setup the provided value as a constraint. ...

    Attempts to setup the provided value as a constraint.\n @param attrName:string The name of the attribute the constraint is for.\n @param value:* The value, possibly a constraint expression, to set.\n @return boolean True if the value was a constraint, false otherwise.

    \n

    Parameters

    • attrName : Object
    • value : Object
    ( spriteBacked, eventName, customOpts )
    Generates a platform event on a dom element. ...

    Generates a platform event on a dom element. Adapted from:\n http://stackoverflow.com/questions/6157929/how-to-simulate-mouse-click-using-javascript\n @param view:dr.View the view to simulate the event on.\n @param eventName:string the name of the dom event to generate.\n @param customOpts:Object (optional) a map of options that will\n be added onto the platform event object.\n @returns void

    \n

    Parameters

    • spriteBacked : Object
    • eventName : Object
    • customOpts : Object
    ( event ) : void
    Active until stopDrag is called. ...

    Active until stopDrag is called. The view position will be bound\nto the mouse position. Subclasses typically call this onmousedown for\nsubviews that allow dragging the view.

    \n

    Parameters

    • event : Object

      The event the mouse event when the drag started.

      \n

    Returns

    • void
      \n
    ( event, isAbort ) : void
    Stop the drag. ...

    Stop the drag. (see startDrag for more details)

    \n

    Parameters

    • event : Object

      The event that ended the drag.

      \n
    • isAbort : Boolean

      Indicates if the drag ended normally or was aborted.

      \n

    Returns

    • void
      \n
    ( observable, eventTypes, methodName ) : globalchainable
    Unregisters this Observer from the provided Observable\n for the provided eventType. ...

    Unregisters this Observer from the provided Observable\n for the provided eventType.\n @param observable:dr.Observable the Observable to attach to.\n @param eventTypes:string the event type to unattach for. May be a\n comma or space separated list of event types.\n @param methodName:string the method name on this instance to execute.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventTypes : Object
    • methodName : Object

    Returns

    Tries to detach this Observer from all Observables it\n is attached to. ...

    Tries to detach this Observer from all Observables it\n is attached to.\n @returns void

    \n
    Detaches this PlatformObserver from all PlatformObservables it is attached to. ...

    Detaches this PlatformObserver from all PlatformObservables it is attached to.\n @returns void

    \n
    ( spriteBacked, eventType, methodName, capture )
    Detaches this PlatformObserverAdapter from a SpriteBacked Node for an\n event type. ...

    Detaches this PlatformObserverAdapter from a SpriteBacked Node for an\n event type.\n @returns boolean True if detachment succeeded, false otherwise.

    \n

    Parameters

    • spriteBacked : Object
    • eventType : Object
    • methodName : Object
    • capture : Object
    ( c ) : globalchainable
    Subtracts the provided color from this color. ...

    Subtracts the provided color from this color.\n @param c:dr.Color the color to subtract.\n @returns this dr.Color to facilitate method chaining.

    \n

    Parameters

    • c : Object

    Returns

    ( observable, eventType, methodName, attrName, once )
    Does the same thing as this.listenTo and also immediately calls the\n method with an event containing the at...

    Does the same thing as this.listenTo and also immediately calls the\n method with an event containing the attributes value. If 'once' is\n true no attachment will occur which means this probably isn't the\n correct method to use in that situation.\n @param observable:dr.Observable the Observable to attach to.\n @param eventType:string the event type to attach for.\n @param methodName:string the method name on this instance to execute.\n @param attrName:string (optional: the eventType will be used if not\n provided) the name of the attribute on the Observable\n to pull the value from.\n @param once:boolean (optional) if true this Observer will detach\n from the Observable after the event is handled once.\n @returns This object for chainability.

    \n

    Parameters

    • observable : Object
    • eventType : Object
    • methodName : Object
    • attrName : Object
    • once : Object
    ( value )
    Converts a number or string representation of a number to a\n two character hex string. ...

    Converts a number or string representation of a number to a\n two character hex string.\n @param value:number/string The number or string to convert.\n @returns string: A two character hex string such as: '0c' or 'c9'.

    \n

    Parameters

    • value : Object
    ( scalex, scaley, angle, xOrigin, yOrigin )
    Rotates and scales this path around the provided origin by the angle in\n degrees, scalex and scaley. ...

    Rotates and scales this path around the provided origin by the angle in\n degrees, scalex and scaley.\n @param scalex:number The amount to scale along the x axis.\n @param scaley:number The amount to scale along the y axis.\n @param angle:number The amount to scale.\n @param xOrigin:number The amount to scale.\n @param yOrigin:number The amount to scale.

    \n

    Parameters

    • scalex : Object
    • scaley : Object
    • angle : Object
    • xOrigin : Object
    • yOrigin : Object
    ( dx, dy ) : globalchainable
    Shift this path by the provided x and y amount. ...

    Shift this path by the provided x and y amount.

    \n

    Parameters

    • dx : Object
    • dy : Object

    Returns

    @overrides\nTry to update the UI immediately if an event was triggered programatically. ...

    @overrides\nTry to update the UI immediately if an event was triggered programatically.

    \n
    Unegisters the global for the provided key. ...

    Unegisters the global for the provided key. Fires an unregister\n event if the key exists.\n @returns void

    \n

    Parameters

    • key : Object
    ( ) : void
    Called on every mousemove event while dragging. ...

    Called on every mousemove event while dragging.

    \n

    Returns

    • void
      \n
    ( x, y ) : void
    Repositions the view to the provided values. ...

    Repositions the view to the provided values. The default implementation\nis to directly set x and y. Subclasses should override this method\nwhen it is necessary to constrain the position.

    \n

    Parameters

    • x : Number

      the new x position.

      \n
    • y : Number

      the new y position.

      \n

    Returns

    • void
      \n
    ( target, progress, oldProgress, flip )
    @overrides ...

    @overrides

    \n

    Parameters

    • target : Object
    • progress : Object
    • oldProgress : Object
    • flip : Object
    ( ) : voidabstract
    Updates the UI whenever a change occurs that requires a visual update. ...

    Updates the UI whenever a change occurs that requires a visual update.\nSubclasses should implement this as needed.

    \n

    Returns

    • void
      \n
    ( fn, wrapperFn )
    Used to wrap the first function with the second function. ...

    Used to wrap the first function with the second function. The first\n function is exposed as this.callSuper within the wrapper function.\n @param fn:function the function to wrap.\n @param wrapperFn:function the wrapper function.\n @returns a wrapped function.

    \n

    Parameters

    • fn : Object
    • wrapperFn : Object
    ","meta":{}}); \ No newline at end of file diff --git a/docs/api/source/AccessorSupport.html b/docs/api/source/AccessorSupport.html index 4d7e32f..7e19b19 100644 --- a/docs/api/source/AccessorSupport.html +++ b/docs/api/source/AccessorSupport.html @@ -264,11 +264,21 @@ } }, - /** A generic getter function that can be called to get a value from this + /** Gets the config value of the attribute. For example, a view might + have a config value of 'center' for the x attribute but the actual + value would be something like 75. + @param attrName:string The name of the attribute to get the config + value for. + @returns the attribute config value. */ + getAttribute: function(attrName) { + return this[dr.AccessorSupport.generateConfigAttrName(attrName)]; + }, + + /** A generic getter function that can be called to get a value from this object. Will defer to a defined getter if it exists. @param attrName:string The name of the attribute to get. @returns the attribute value. */ - getAttribute: function(attrName) { + getActualAttribute: function(attrName) { var getterName = dr.AccessorSupport.generateGetterName(attrName); return this[getterName] ? this[getterName]() : this[attrName]; }, @@ -291,6 +301,9 @@ // Bind New Constraint if necessary and then set actual value if (!this.setupConstraint(attrName, value)) this.setActualAttribute(attrName, value); + + // Fire a config value event if possible + if (this.sendEvent) this.sendEvent('on' + cfgAttrName, value); } return this; }, @@ -433,6 +446,11 @@ } }, + /** @private */ + getConstraintTemplate: function(attrName, expression) { + return 'this.setActualAttribute("' + attrName + '",' + expression + ')'; + }, + /** @private */ bindConstraint: function(attrName, expression, isAsync) { // Unbind again in case multiple constraints got registered for the @@ -453,7 +471,7 @@ } // Create function to be called for the constraint. - var fn = (new Function('event','dr','this.setActualAttribute("' + attrName + '",' + expression+ ')')).bind(this); // TAG:Global Scope + var fn = (new Function('event','dr',this.getConstraintTemplate(attrName, expression))).bind(this); // TAG:Global Scope // Resolve binding paths and start listening to binding targets if (fn) { diff --git a/docs/api/source/Activateable.html b/docs/api/source/Activateable.html index 0586ac0..ff6d428 100644 --- a/docs/api/source/Activateable.html +++ b/docs/api/source/Activateable.html @@ -2,34 +2,192 @@ - The source code - - + CodeRay output - - -
    /** Adds the capability for an dr.View to be "activated". A doActivated method
    -    is added that gets called when the view is "activated". */
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    
    -    module.exports = dr.Activateable = new JS.Module('Activateable', {
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** Called when this view should be activated.
    -            @returns void */
    -        doActivated: function() {
    -            this.sendEvent('onactivated', true);
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.activateable {UI Behavior}
    +   * Adds the capability for an dr.View to be "activated". A doActivated method
    +   * is added that gets called when the view is "activated".
    +   */-->
    +<mixin name="activateable">
    +  <!--/**
    +    * @method doActivated
    +    * Called when this view should be activated.
    +    * @returns {void}
    +    */-->
    +  <method name="doActivated">
    +    this.sendEvent('onactivated', true);
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/AnimBase.html b/docs/api/source/AnimBase.html index 4136963..e6f1f17 100644 --- a/docs/api/source/AnimBase.html +++ b/docs/api/source/AnimBase.html @@ -322,7 +322,7 @@ /** @private */ reset: function() { - this.__loopCount = this.getAttribute('reverse') && this.repeat > 0 ? this.repeat - 1 : 0; + this.__loopCount = this.getActualAttribute('reverse') && this.repeat > 0 ? this.repeat - 1 : 0; this.__resetProgress(); }, @@ -334,7 +334,7 @@ /** @private */ __isFlipped: function() { if (this.bounce) { - if (this.getAttribute('reverse')) { + if (this.getActualAttribute('reverse')) { if (this.repeat % 2 === 0) { return this.__loopCount % 2 !== 0; } else { @@ -344,7 +344,7 @@ return this.__loopCount % 2 !== 0; } } else { - return this.getAttribute('reverse'); + return this.getActualAttribute('reverse'); } }, @@ -357,7 +357,7 @@ /** @private */ __advance: function(timeDiff) { if (this.running && !this.paused) { - var reverse = this.getAttribute('reverse'), + var reverse = this.getActualAttribute('reverse'), duration = this.duration, loopTime = this.__loopTime, delay = this.delay, @@ -365,7 +365,7 @@ remainderTime, flip = this.__isFlipped(), oldProgress = this.__progress, - target = this.getAttribute('target'); + target = this.getActualAttribute('target'); // An animation in reverse is like time going backward. this.__progress += flip ? -timeDiff : timeDiff; diff --git a/docs/api/source/Disableable.html b/docs/api/source/Disableable.html index 2c34e83..dfdedab 100644 --- a/docs/api/source/Disableable.html +++ b/docs/api/source/Disableable.html @@ -2,65 +2,256 @@ - The source code - - + CodeRay output - - -
    /** Adds the capability to be "disabled" to a dr.Node. When a dr.Node is 
    -    disabled the user should typically not be able to interact with it.
    -    
    -    When disabled becomes true an attempt will be made to give away the focus
    -    using dr.View's giveAwayFocus method.
    -    
    -    Attributes:
    -        disabled:boolean Indicates that this component is disabled.
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    require('./UpdateableUI.js');
    -    
    -    module.exports = dr.Disableable = new JS.Module('Disableable', {
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            if (attrs.disabled === undefined) attrs.disabled = false;
    -            
    -            this.callSuper(parent, attrs);
    -        },
    -        
    -        
    -        // Accessors ///////////////////////////////////////////////////////////////
    -        set_disabled: function(v) {
    -            if (this.setActual('disabled', v, 'boolean', false)) this.doDisabled();
    -        },
    -        
    -        
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** Called after the disabled attribute is set. Default behavior attempts
    -            to give away focus and calls the updateUI method of dr.UpdateableUI if 
    -            it is defined.
    -            @returns void */
    -        doDisabled: function() {
    -            if (this.initing === false) {
    -                // Give away focus if we become disabled and this instance is
    -                // a dr.View
    -                if (this.disabled && this.giveAwayFocus) this.giveAwayFocus();
    -                
    -                if (this.updateUI) this.updateUI();
    -            }
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.disableable {UI Behavior}
    +   * Adds the capability to be "disabled" to a dr.Node. When a dr.Node is 
    +   * disabled the user should typically not be able to interact with it.
    +   *
    +   * When disabled becomes true an attempt will be made to give away the focus
    +   * using dr.View's giveAwayFocus method.
    +   */-->
    +<mixin name="disableable" requires="updateableui">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    if (attrs.disabled === undefined) attrs.disabled = false;
    +    
    +    this.super();
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Boolean} disabled
    +    * Indicates that this component is disabled.
    +    */-->
    +  <attribute name="disabled" type="boolean" value="false"/>
    +
    +  <setter name="disabled" args="v">
    +    if (this.setActual('disabled', v, 'boolean', false)) this.doDisabled();
    +  </setter>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method doDisabled
    +    * Called after the disabled attribute is set. Default behavior attempts
    +    * to give away focus and calls the updateUI method of dr.UpdateableUI if 
    +    * it is defined.
    +    * @returns {void}
    +    */-->
    +  <method name="doDisabled">
    +    if (this.initing === false) {
    +      // Give away focus if we become disabled and this instance is
    +      // a dr.View
    +      if (this.disabled && this.giveAwayFocus) this.giveAwayFocus();
    +      
    +      if (this.updateUI) this.updateUI();
    +    }
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/GlobalError.html b/docs/api/source/GlobalError.html index 65da322..7388c9d 100644 --- a/docs/api/source/GlobalError.html +++ b/docs/api/source/GlobalError.html @@ -85,9 +85,12 @@ automatically generated. @private */ notify: function(consoleFuncName, eventType, msg, err) { - var stacktrace = sprite.generateStacktrace(eventType, msg, err); + var stacktrace = sprite.generateStacktrace(eventType, msg, err), + event = {msg:msg, stacktrace:stacktrace}; + + if (eventType) this.sendEvent('on' + eventType, event); + this.sendEvent('onall', event); - this.sendEvent('on' + (eventType || 'error'), {msg:msg, stacktrace:stacktrace}); if (this.consoleLogging && consoleFuncName) sprite.console[consoleFuncName](stacktrace || msg); }, diff --git a/docs/api/source/GlobalKeys.html b/docs/api/source/GlobalKeys.html index c95689f..a7c5a27 100644 --- a/docs/api/source/GlobalKeys.html +++ b/docs/api/source/GlobalKeys.html @@ -170,6 +170,13 @@ // Methods ///////////////////////////////////////////////////////////////// + isPlatformEvent: function(eventType) { + // GlobalKeys sprite already sets itself up as a listener for the + // keyboard events, so we never need to register additional + // platform events. + return false; + }, + /** Tests if a key is currently pressed down or not. @param keyCode:number the key to test. @returns true if the key is down, false otherwise. */ diff --git a/docs/api/source/GlobalKeys2.html b/docs/api/source/GlobalKeys2.html index 89f9d83..9e2d695 100644 --- a/docs/api/source/GlobalKeys2.html +++ b/docs/api/source/GlobalKeys2.html @@ -103,6 +103,7 @@ view.listenToPlatform(view, 'onkeydown', '__handleKeyDown'); view.listenToPlatform(view, 'onkeypress', '__handleKeyPress'); view.listenToPlatform(view, 'onkeyup', '__handleKeyUp'); + this.__listeningToDocuemnt = true; }, /** @private */ @@ -111,6 +112,7 @@ view.stopListeningToPlatform(view, 'onkeydown', '__handleKeyDown'); view.stopListeningToPlatform(view, 'onkeypress', '__handleKeyPress'); view.stopListeningToPlatform(view, 'onkeyup', '__handleKeyUp'); + this.__listeningToDocuemnt = false; }, /** @private */ @@ -122,18 +124,19 @@ // event immediately. Not an issue for other meta keys: shift, ctrl // and option. if (this.isCommandKeyDown() && keyCode !== 16 && keyCode !== 17 && keyCode !== 18) { - this.view.sendEvent('onkeydown', keyCode); - this.view.sendEvent('onkeyup', keyCode); + this.__sendEvent('down', platformEvent, keyCode); + this.__sendEvent('up', platformEvent, keyCode); // Assume command key goes back up since it is common for the page // to lose focus after the command key is used. Do this for every // key other than 'z' since repeated undo/redo is // nice to have and doesn't typically result in loss of focus // to the page. - if (keyCode !== 90) { - this.view.sendEvent('onkeyup', this.KEYCODE_COMMAND); + // Also don't do it for F(70) since find will rip focus away. + /*if (keyCode !== 90 && keyCode !== 70) { + this.__sendEvent('up', platformEvent, this.KEYCODE_COMMAND); this.__keysDown[this.KEYCODE_COMMAND] = false; - } + }*/ } else { this.__keysDown[keyCode] = true; @@ -147,14 +150,14 @@ } } - this.view.sendEvent('onkeydown', keyCode); + this.__sendEvent('down', platformEvent, keyCode); } }, /** @private */ __handleKeyPress: function(platformEvent) { var keyCode = sprite.KeyObservable.getKeyCodeFromEvent(platformEvent); - this.view.sendEvent('onkeypress', keyCode); + this.__sendEvent('press', platformEvent, keyCode); }, /** @private */ @@ -162,7 +165,7 @@ var keyCode = sprite.KeyObservable.getKeyCodeFromEvent(platformEvent); if (this.__shouldPreventDefault(keyCode, platformEvent.target)) sprite.preventDefault(platformEvent); this.__keysDown[keyCode] = false; - this.view.sendEvent('onkeyup', keyCode); + this.__sendEvent('up', platformEvent, keyCode); }, /** @private */ @@ -184,6 +187,12 @@ return true; } return false; + }, + + /** @private */ + __sendEvent: function(eventType, platformEvent, keyCode) { + this.view.sendEvent('onkeycode' + eventType, keyCode); + if (!this.__listeningToDocuemnt) this.view.sendEvent('onkey' + eventType, platformEvent); } }); }); diff --git a/docs/api/source/GlobalMouse.html b/docs/api/source/GlobalMouse.html index cdfe106..d4ca3d7 100644 --- a/docs/api/source/GlobalMouse.html +++ b/docs/api/source/GlobalMouse.html @@ -74,11 +74,10 @@ if (++this.__xOrYAttachedObserverCount === 1) { if (this.__handler_xOrY == null) { this.__handler_xOrY = (function(event) { - var pos = sprite.MouseObservable.getMouseFromEvent(event); - this.x = pos.x; - this.y = pos.y; - this.sendEvent('onx', pos.x); - this.sendEvent('ony', pos.y); + this.x = event.x; + this.y = event.y; + this.sendEvent('onx', event.x); + this.sendEvent('ony', event.y); return true; }).bind(this); } diff --git a/docs/api/source/GlobalRequestor.html b/docs/api/source/GlobalRequestor.html index d8529fd..3da78f2 100644 --- a/docs/api/source/GlobalRequestor.html +++ b/docs/api/source/GlobalRequestor.html @@ -45,7 +45,7 @@ }, send: function(url, data) { - return this.send.fetch(url, data); + return this.sprite.send(url, data); } }); }); diff --git a/docs/api/source/KeyActivation.html b/docs/api/source/KeyActivation.html index bf8b8ef..2af0baa 100644 --- a/docs/api/source/KeyActivation.html +++ b/docs/api/source/KeyActivation.html @@ -2,168 +2,492 @@ - The source code - - + CodeRay output - - -
    /** Provides keyboard handling to "activate" the component when a key is 
    -    pressed down or released up. By default, when a keyup event occurs for
    -    an activation key and this view is not disabled, the 'doActivated' method
    -    will get called.
    -    
    -    Events:
    -        None
    -    
    -    Attributes:
    -        activationkeys:array of chars The keys that when keyed down will
    -            activate this component. Note: The value is not copied so
    -            modification of the array outside the scope of this object will
    -            effect behavior.
    -        activateKeyDown:number (read only) The keycode of the activation key that is
    -            currently down. This will be -1 when no key is down.
    -        repeatkeydown:boolean Indicates if doActivationKeyDown will be called
    -            for repeated keydown events or not. Defaults to false.
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js'),
    -        sprite = require('$SPRITE/sprite.js');
    -    require('$LIB/dr/globals/GlobalKeys.js');
    -    
    -    module.exports = dr.KeyActivation = new JS.Module('KeyActivation', {
    -        // Class Methods and Attributes ////////////////////////////////////////////
    -        extend: {
    -            /** The default activation keys are enter (13) and spacebar (32). */
    -            DEFAULT_ACTIVATION_KEYS: [13,32]
    -        },
    -        
    -        
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            this.activateKeyDown = -1;
    -            
    -            if (attrs.activationkeys === undefined) {
    -                attrs.activationkeys = dr.KeyActivation.DEFAULT_ACTIVATION_KEYS;
    -            }
    -            
    -            this.callSuper(parent, attrs);
    -            
    -            this.listenToPlatform(this, 'onkeydown', '__handleKeyDown');
    -            this.listenToPlatform(this, 'onkeypress', '__handleKeyPress');
    -            this.listenToPlatform(this, 'onkeyup', '__handleKeyUp');
    -        },
    -        
    -        
    -        // Accessors ///////////////////////////////////////////////////////////////
    -        set_activationkeys: function(v) {this.setSimpleActual('activationkeys', v);},
    -        set_repeatkeydown: function(v) {this.setSimpleActual('repeatkeydown', v);},
    -        
    -        
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** @private */
    -        __handleKeyDown: function(platformEvent) {
    -            if (!this.disabled) {
    -                if (this.activateKeyDown === -1 || this.repeatkeydown) {
    -                    var keyCode = sprite.KeyObservable.getKeyCodeFromEvent(platformEvent),
    -                        keys = this.activationkeys, i = keys.length;
    -                    while (i) {
    -                        if (keyCode === keys[--i]) {
    -                            if (this.activateKeyDown === keyCode) {
    -                                this.doActivationKeyDown(keyCode, true);
    -                            } else {
    -                                this.activateKeyDown = keyCode;
    -                                this.doActivationKeyDown(keyCode, false);
    -                            }
    -                            sprite.preventDefault(platformEvent);
    -                            return;
    -                        }
    -                    }
    -                }
    -            }
    -        },
    -        
    -        /** @private */
    -        __handleKeyPress: function(platformEvent) {
    -            if (!this.disabled) {
    -                var keyCode = sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    -                if (this.activateKeyDown === keyCode) {
    -                    var keys = this.activationkeys, i = keys.length;
    -                    while (i) {
    -                        if (keyCode === keys[--i]) {
    -                            sprite.preventDefault(platformEvent);
    -                            return;
    -                        }
    -                    }
    -                }
    -            }
    -        },
    -        
    -        /** @private */
    -        __handleKeyUp: function(platformEvent) {
    -            if (!this.disabled) {
    -                var keyCode = sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    -                if (this.activateKeyDown === keyCode) {
    -                    var keys = this.activationkeys, i = keys.length;
    -                    while (i) {
    -                        if (keyCode === keys[--i]) {
    -                            this.activateKeyDown = -1;
    -                            this.doActivationKeyUp(keyCode);
    -                            sprite.preventDefault(platformEvent);
    -                            return;
    -                        }
    -                    }
    -                }
    -            }
    -        },
    -        
    -        doBlur: function() {
    -            this.callSuper();
    -            
    -            if (!this.disabled) {
    -                var keyThatWasDown = this.activateKeyDown;
    -                if (keyThatWasDown !== -1) {
    -                    this.activateKeyDown = -1;
    -                    this.doActivationKeyAborted(keyThatWasDown);
    -                }
    -            }
    -        },
    -        
    -        /** Called when an activation key is pressed down. Default implementation
    -            does nothing.
    -            @param key:number the keycode that is down.
    -            @param isRepeat:boolean Indicates if this is a key repeat event or not.
    -            @returns void */
    -        doActivationKeyDown: function(key, isRepeat) {
    -            // Subclasses to implement as needed.
    -        },
    -        
    -        /** Called when an activation key is release up. This executes the
    -            'doActivated' method by default. 
    -            @param key:number the keycode that is up.
    -            @returns void */
    -        doActivationKeyUp: function(key) {
    -            this.doActivated();
    -        },
    -        
    -        /** Called when focus is lost while an activation key is down. Default 
    -            implementation does nothing.
    -            @param key:number the keycode that is down.
    -            @returns void */
    -        doActivationKeyAborted: function(key) {
    -            // Subclasses to implement as needed.
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.keyactivation {UI Behavior}
    +   * Provides keyboard handling to "activate" the component when a key is 
    +   * pressed down or released up. By default, when a keyup event occurs for
    +   * an activation key and this view is not disabled, the 'doActivated' method
    +   * will get called.
    +   */-->
    +<mixin name="keyactivation">
    +  <!--// Class Attributes ///////////////////////////////////////////////////-->
    +  <!--/**
    +    * The default activation keys are enter (13) and spacebar (32).
    +    */-->
    +  <attribute name="default_activation_keys" type="object" value="[13,32]" allocation="class"/>
    +
    +
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    this.activateKeyDown = -1;
    +    
    +    if (attrs.activationkeys === undefined) attrs.activationkeys = dr.keyactivation.default_activation_keys;
    +    
    +    this.super();
    +    
    +    this.listenToPlatform(this, 'onkeydown', '__handleKeyDown');
    +    this.listenToPlatform(this, 'onkeypress', '__handleKeyPress');
    +    this.listenToPlatform(this, 'onkeyup', '__handleKeyUp');
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Array} activationkeys
    +    * An array of chars The keys that when keyed down will activate this 
    +    * component. Note: The value is not copied so modification of the array 
    +    * outside the scope of this object will effect behavior.
    +    */-->
    +  <attribute name="activationkeys" type="object" value="[]"/>
    +  <setter name="activationkeys" args="v">this.setSimpleActual('activationkeys', v);</setter>
    +
    +  <!--/**
    +    * @attribute {Number} activateKeyDown
    +    * @readonly
    +    * The keycode of the activation key that is currently down. This will 
    +    * be -1 when no key is down.
    +    */-->
    +  <attribute name="activateKeyDown" type="number" value="-1"/>
    +  <setter name="activateKeyDown" args="v">this.setSimpleActual('activationkeys', v);</setter>
    +
    +  <!--/**
    +    * @attribute {Boolean} repeatkeydown
    +    * Indicates if doActivationKeyDown will be called for repeated keydown 
    +    * events or not.
    +    */-->
    +  <attribute name="repeatkeydown" type="boolean" value="false"/>
    +  <setter name="repeatkeydown" args="v">this.setSimpleActual('repeatkeydown', v);</setter>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/** @private */-->
    +  <method name="__handleKeyDown" args="platformEvent">
    +    if (!this.disabled) {
    +      if (this.activateKeyDown === -1 || this.repeatkeydown) {
    +        var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent),
    +          keys = this.activationkeys, i = keys.length;
    +        while (i) {
    +          if (keyCode === keys[--i]) {
    +            if (this.activateKeyDown === keyCode) {
    +              this.doActivationKeyDown(keyCode, true);
    +            } else {
    +              this.activateKeyDown = keyCode;
    +              this.doActivationKeyDown(keyCode, false);
    +            }
    +            dr.sprite.preventDefault(platformEvent);
    +            return;
    +          }
    +        }
    +      }
    +    }
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__handleKeyPress" args="platformEvent">
    +    if (!this.disabled) {
    +      var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    +      if (this.activateKeyDown === keyCode) {
    +        var keys = this.activationkeys, i = keys.length;
    +        while (i) {
    +          if (keyCode === keys[--i]) {
    +            dr.sprite.preventDefault(platformEvent);
    +            return;
    +          }
    +        }
    +      }
    +    }
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__handleKeyUp" args="platformEvent">
    +    if (!this.disabled) {
    +      var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    +      if (this.activateKeyDown === keyCode) {
    +        var keys = this.activationkeys, i = keys.length;
    +        while (i) {
    +          if (keyCode === keys[--i]) {
    +            this.activateKeyDown = -1;
    +            this.doActivationKeyUp(keyCode);
    +            dr.sprite.preventDefault(platformEvent);
    +            return;
    +          }
    +        }
    +      }
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method doBlur
    +    * @overrides dr.view
    +    * @returns {void} 
    +    */-->
    +  <method name="doBlur">
    +    this.super();
    +    
    +    if (!this.disabled) {
    +      var keyThatWasDown = this.activateKeyDown;
    +      if (keyThatWasDown !== -1) {
    +        this.activateKeyDown = -1;
    +        this.doActivationKeyAborted(keyThatWasDown);
    +      }
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method doActivationKeyDown
    +    * @abstract
    +    * Called when an activation key is pressed down.
    +    * @param {Number} key the keycode that is down.
    +    * @param {Boolean} isRepeat Indicates if this is a key repeat event or not.
    +    * @returns {void} 
    +    */-->
    +  <method name="doActivationKeyDown" args="key, isRepeat">
    +    // Subclasses to implement as needed.
    +  </method>
    +
    +  <!--/**
    +    * @method doActivationKeyUp
    +    * Called when an activation key is release up. This executes the 
    +    * 'doActivated' method by default. 
    +    * @param {Number} key the keycode that is up.
    +    * @returns {void} 
    +    */-->
    +  <method name="doActivationKeyUp" args="key">
    +    this.doActivated();
    +  </method>
    +
    +  <!--/**
    +    * @method doActivationKeyAborted
    +    * @abstract
    +    * Called when focus is lost while an activation key is down.
    +    * @param {Number} key the keycode that is down.
    +    * @returns {void} 
    +    */-->
    +  <method name="doActivationKeyAborted" args="key">
    +    // Subclasses to implement as needed.
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/MouseDown.html b/docs/api/source/MouseDown.html index 3d90ad5..0bcafc4 100644 --- a/docs/api/source/MouseDown.html +++ b/docs/api/source/MouseDown.html @@ -2,133 +2,426 @@ - The source code - - + CodeRay output - - -
    /** Provides a 'mousedown' attribute that tracks mouse up/down state.
    -    
    -    Requires: dr.MouseOver super mixins.
    -    
    -    Suggested: dr.UpdateableUI and dr.Activateable super mixins.
    -    
    -    Attributes:
    -        mousedown:boolean Indicates if the mouse is down or not.
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    require('./MouseOver.js');
    -    require('$LIB/dr/globals/GlobalMouse.js');
    -    
    -    module.exports = dr.MouseDown = new JS.Module('MouseDown', {
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            if (attrs.mousedown === undefined) attrs.mousedown = false;
    -            if (attrs.clickable === undefined) attrs.clickable = true;
    -            
    -            this.callSuper(parent, attrs);
    -            
    -            this.listenToPlatform(this, 'onmousedown', 'doMouseDown');
    -            this.listenToPlatform(this, 'onmouseup', 'doMouseUp');
    -        },
    -        
    -        
    -        // Accessors ///////////////////////////////////////////////////////////////
    -        set_mousedown: function(v) {
    -            if (this.setActual('mousedown', v, 'boolean', false)) {
    -                if (this.initing === false) {
    -                    if (this.mousedown) this.focus(true);
    -                    if (this.updateUI) this.updateUI();
    -                }
    -            }
    -        },
    -        
    -        /** @overrides dr.Disableable */
    -        set_disabled: function(v) {
    -            if (this.callSuper) this.callSuper(v);
    -            
    -            // When about to disable the view make sure mousedown is not true. This 
    -            // helps prevent unwanted activation of a disabled view.
    -            if (this.disabled && this.mousedown) this.set_mousedown(false);
    -        },
    -        
    -        
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** @overrides dr.MouseOver */
    -        doMouseOver: function(event) {
    -            this.callSuper(event);
    -            if (this.mousedown) this.stopListeningToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    -        },
    -        
    -        /** @overrides dr.MouseOut */
    -        doMouseOut: function(event) {
    -            this.callSuper(event);
    -            
    -            // Wait for a mouse up anywhere if the user moves the mouse out of the
    -            // view while the mouse is still down. This allows the user to move
    -            // the mouse in and out of the view with the view still behaving 
    -            // as moused down.
    -            if (!this.disabled && this.mousedown) this.listenToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    -        },
    -        
    -        /** Called when the mouse is down on this view. Subclasses must call callSuper.
    -            @returns void */
    -        doMouseDown: function(event) {
    -            if (!this.disabled) this.set_mousedown(true);
    -        },
    -        
    -        /** Called when the mouse is up on this view. Subclasses must call callSuper.
    -            @returns void */
    -        doMouseUp: function(event) {
    -            // Cleanup global mouse listener since the mouseUp occurred outside
    -            // the view.
    -            if (!this.mouseover) this.stopListeningToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    -            
    -            if (!this.disabled && this.mousedown) {
    -                this.set_mousedown(false);
    -                
    -                // Only do mouseUpInside if the mouse is actually over the view.
    -                // This means the user can mouse down on a view, move the mouse
    -                // out and then mouse up and not "activate" the view.
    -                if (this.mouseover) {
    -                    this.doMouseUpInside(event);
    -                } else {
    -                    this.doMouseUpOutside(event);
    -                }
    -            }
    -        },
    -        
    -        /** Called when the mouse is up and we are still over the view. Executes
    -            the 'doActivated' method by default.
    -            @returns void */
    -        doMouseUpInside: function(event) {
    -            if (this.doActivated) this.doActivated();
    -        },
    -        
    -        /** Called when the mouse is up and we are not over the view. Fires
    -            an 'onmouseupoutside' event.
    -            @returns void */
    -        doMouseUpOutside: function(event) {
    -            if (!this.disabled) {
    -                this.sendEvent('onmouseupoutside', true);
    -                
    -                // Also try and send it to the global mouse
    -                dr.mouse.sendEvent('onmouseupoutside', true);
    -            }
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.mousedown {UI Behavior}
    +   * Provides an 'ismousedown' attribute that tracks mouse up/down state.
    +   * 
    +   * Suggested: dr.updateableui and dr.activateable super mixins.
    +   */-->
    +<mixin name="mousedown" requires="mouseover">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    if (attrs.ismousedown === undefined) attrs.ismousedown = false;
    +    if (attrs.clickable === undefined) attrs.clickable = true;
    +    
    +    this.super();
    +    
    +    this.listenToPlatform(this, 'onmousedown', 'doMouseDown');
    +    this.listenToPlatform(this, 'onmouseup', 'doMouseUp');
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Boolean} ismousedown
    +    * Indicates if the mouse is down or not.
    +    */-->
    +  <attribute name="ismousedown" type="boolean" value="false"/>
    +  <setter name="ismousedown" args="v">
    +    if (this.setActual('ismousedown', v, 'boolean', false)) {
    +      if (this.initing === false) {
    +        if (this.ismousedown) this.focus(true);
    +        if (this.updateUI) this.updateUI();
    +      }
    +    }
    +  </setter>
    +
    +  <!--/**
    +    * @overrides dr.disableable
    +    */-->
    +  <setter name="disabled" args="v">
    +    if (this.super) this.super();
    +    
    +    // When about to disable the view make sure ismousedown is not 
    +    // true. This helps prevent unwanted activation of a disabled view.
    +    if (this.disabled && this.ismousedown) this.set_ismousedown(false);
    +  </setter>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method doMouseOver
    +    * @overrides dr.mouseover
    +    */-->
    +  <method name="doMouseOver" args="event">
    +    this.super(event);
    +    if (this.ismousedown) this.stopListeningToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseOut
    +    * @overrides dr.mouseover
    +    */-->
    +  <method name="doMouseOut" args="event">
    +    this.super(event);
    +    
    +    // Wait for a mouse up anywhere if the user moves the mouse out of the
    +    // view while the mouse is still down. This allows the user to move
    +    // the mouse in and out of the view with the view still behaving 
    +    // as moused down.
    +    if (!this.disabled && this.ismousedown) this.listenToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseDown
    +    * Called when the mouse is down on this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @return {void}
    +    */-->
    +  <method name="doMouseDown" args="event">
    +    if (!this.disabled) this.set_ismousedown(true);
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseUp
    +    * Called when the mouse is up on this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @return {void}
    +    */-->
    +  <method name="doMouseUp" args="event">
    +    // Cleanup global mouse listener since the mouseUp occurred outside
    +    // the view.
    +    if (!this.ismouseover) this.stopListeningToPlatform(dr.global.mouse, 'onmouseup', 'doMouseUp', true);
    +    
    +    if (!this.disabled && this.ismousedown) {
    +      this.set_ismousedown(false);
    +      
    +      // Only do mouseUpInside if the mouse is actually over the view.
    +      // This means the user can mouse down on a view, move the mouse
    +      // out and then mouse up and not "activate" the view.
    +      if (this.ismouseover) {
    +        this.doMouseUpInside(event);
    +      } else {
    +        this.doMouseUpOutside(event);
    +      }
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseUpInside
    +    * Called when the mouse is up and we are still over the view. Executes
    +    * the 'doActivated' method by default.
    +    * @param {Object} event
    +    * @return {void}
    +    */-->
    +  <method name="doMouseUpInside" args="event">
    +    if (this.doActivated) this.doActivated();
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseUpOutside
    +    * Called when the mouse is up and we are not over the view. Fires
    +    * an 'onmouseupoutside' event.
    +    * @param {Object} event
    +    * @return {void}
    +    */-->
    +  <method name="doMouseUpOutside" args="event">
    +    if (!this.disabled) {
    +      this.sendEvent('onmouseupoutside', true);
    +      
    +      // Also try and send it to the global mouse
    +      dr.mouse.sendEvent('onmouseupoutside', true);
    +    }
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/MouseOver.html b/docs/api/source/MouseOver.html index 4932aa2..c58840b 100644 --- a/docs/api/source/MouseOver.html +++ b/docs/api/source/MouseOver.html @@ -2,119 +2,392 @@ - The source code - - + CodeRay output - - -
    /** Provides a 'mouseover' attribute that tracks mouse over/out state. Also
    -    provides a mechanism to smoothe over/out events so only one call to
    -    'doSmoothMouseOver' occurs per onidle event.
    -    
    -    Attributes:
    -        mouseover:boolean Indicates if the mouse is over this view or not.
    -    
    -    Private Attributes:
    -        __attachedToOverIdle:boolean Used by the code that smoothes out
    -            mouseover events. Indicates that we are registered with the
    -            onidle event.
    -        __lastOverIdleValue:boolean Used by the code that smoothes out
    -            mouseover events. Stores the last mouseover value.
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    require('./Disableable.js');
    -    require('$LIB/dr/globals/GlobalIdle.js');
    -    
    -    module.exports = dr.MouseOver = new JS.Module('MouseOver', {
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            if (attrs.mouseover === undefined) attrs.mouseover = false;
    -            if (attrs.clickable === undefined) attrs.clickable = true;
    -            
    -            this.callSuper(parent, attrs);
    -            
    -            this.listenToPlatform(this, 'onmouseover', 'doMouseOver');
    -            this.listenToPlatform(this, 'onmouseout', 'doMouseOut');
    -        },
    -        
    -        
    -        // Accessors ///////////////////////////////////////////////////////////////
    -        set_mouseover: function(v) {
    -            if (this.setActual('mouseover', v, 'boolean', false)) {
    -                // Smooth over/out events by delaying until the next onidle event.
    -                if (this.initing === false && !this.__attachedToOverIdle) {
    -                    this.__attachedToOverIdle = true;
    -                    this.listenTo(dr.global.idle, 'onidle', '__doMouseOverOnIdle');
    -                }
    -            }
    -        },
    -        
    -        /** @overrides dr.Disableable */
    -        set_disabled: function(v) {
    -            if (this.callSuper) this.callSuper(v);
    -            
    -            // When about to disable make sure mouseover is not true. This 
    -            // helps prevent unwanted behavior of a disabled view.
    -            if (this.disabled && this.mouseover) this.set_mouseover(false);
    -        },
    -        
    -        
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** @private */
    -        __doMouseOverOnIdle: function() {
    -            this.stopListening(dr.global.idle, 'onidle', '__doMouseOverOnIdle');
    -            this.__attachedToOverIdle = false;
    -            
    -            // Only call doSmoothOver if the over/out state has changed since the
    -            // last time it was called.
    -            var isOver = this.mouseover;
    -            if (this.__lastOverIdleValue !== isOver) {
    -                this.__lastOverIdleValue = isOver;
    -                this.doSmoothMouseOver(isOver);
    -            }
    -        },
    -        
    -        /** Called when mouseover state changes. This method is called after
    -            an event filtering process has reduced frequent over/out events
    -            originating from the dom.
    -            @returns void */
    -        doSmoothMouseOver: function(isOver) {
    -            if (this.initing === false && this.updateUI) this.updateUI();
    -        },
    -        
    -        /** @overrides
    -            Try to update the UI immediately if an event was triggered
    -            programatically. */
    -        trigger: function(platformEventName, opts) {
    -            this.callSuper(platformEventName, opts);
    -            
    -            if (this.initing === false && this.updateUI) this.updateUI();
    -        },
    -        
    -        /** Called when the mouse is over this view. Subclasses must call callSuper.
    -            @returns void */
    -        doMouseOver: function(event) {
    -            if (!this.disabled) this.set_mouseover(true);
    -        },
    -        
    -        /** Called when the mouse leaves this view. Subclasses must call callSuper.
    -            @returns void */
    -        doMouseOut: function(event) {
    -            if (!this.disabled) this.set_mouseover(false);
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.mouseover {UI Behavior}
    +   * Provides an 'ismouseover' attribute that tracks mouse over/out state. Also
    +   * provides a mechanism to smoothe over/out events so only one call to
    +   * 'doSmoothMouseOver' occurs per onidle event.
    +   */-->
    +<!--
    +  Private Attributes:
    +    __attachedToOverIdle:boolean Used by the code that smoothes out mouseover 
    +      events. Indicates that we are registered with the onidle event.
    +    __lastOverIdleValue:boolean Used by the code that smoothes out
    +      mouseover events. Stores the last mouseover value.
    +-->
    +    Attributes:
    +        ismouseover:boolean Indicates if the mouse is over this view or not.
    +    
    +<mixin name="mouseover" requires="disableable">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    if (attrs.ismouseover === undefined) attrs.ismouseover = false;
    +    if (attrs.clickable === undefined) attrs.clickable = true;
    +    
    +    this.super();
    +    
    +    this.listenToPlatform(this, 'onmouseover', 'doMouseOver');
    +    this.listenToPlatform(this, 'onmouseout', 'doMouseOut');
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Boolean} ismouseover
    +    * Indicates if the mouse is over this view or not.
    +    */-->
    +  <attribute name="ismouseover" type="boolean" value="false"/>
    +  <setter name="ismouseover" args="v">
    +    if (this.setActual('ismouseover', v, 'boolean', false)) {
    +      // Smooth over/out events by delaying until the next onidle event.
    +      if (this.initing === false && !this.__attachedToOverIdle) {
    +        this.__attachedToOverIdle = true;
    +        this.listenTo(dr.global.idle, 'onidle', '__doMouseOverOnIdle');
    +      }
    +    }
    +  </setter>
    +
    +  <!--/**
    +    * @overrides dr.disableable
    +    */-->
    +  <setter name="disabled" args="v">
    +    if (this.super) this.super();
    +    
    +    // When about to disable make sure ismouseover is not true. This 
    +    // helps prevent unwanted behavior of a disabled view.
    +    if (this.disabled && this.ismouseover) this.set_ismouseover(false);
    +  </setter>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/** @private */-->
    +  <method name="__doMouseOverOnIdle" args="event">
    +    this.stopListening(dr.global.idle, 'onidle', '__doMouseOverOnIdle');
    +    this.__attachedToOverIdle = false;
    +    
    +    // Only call doSmoothOver if the over/out state has changed since the
    +    // last time it was called.
    +    var isOver = this.ismouseover;
    +    if (this.__lastOverIdleValue !== isOver) {
    +      this.__lastOverIdleValue = isOver;
    +      this.doSmoothMouseOver(isOver);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method doSmoothMouseOver
    +    * Called when ismouseover state changes. This method is called after
    +    * an event filtering process has reduced frequent over/out events
    +    * originating from the dom.
    +    * @param {Boolean} isOver
    +    * @return {void}
    +    */-->
    +  <method name="doSmoothMouseOver" args="isOver">
    +    if (this.initing === false && this.updateUI) this.updateUI();
    +  </method>
    +
    +  <!--/**
    +    * @method trigger
    +    * @overrides
    +    * Try to update the UI immediately if an event was triggered programatically.
    +    */-->
    +  <method name="trigger" args="platformEventName, opts">
    +    this.super();
    +    
    +    if (this.initing === false && this.updateUI) this.updateUI();
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseOver
    +    * Called when the mouse is over this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @returns {void}
    +    */-->
    +  <method name="doMouseOver" args="event">
    +    if (!this.disabled) this.set_ismouseover(true);
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseOut
    +    * Called when the mouse leaves this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @returns {void}
    +    */-->
    +  <method name="doMouseOut" args="event">
    +    if (!this.disabled) this.set_ismouseover(false);
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/MouseOverAndDown.html b/docs/api/source/MouseOverAndDown.html index 0dc9f0b..75db30e 100644 --- a/docs/api/source/MouseOverAndDown.html +++ b/docs/api/source/MouseOverAndDown.html @@ -2,31 +2,172 @@ - The source code - - + CodeRay output - - -
    /** Provides both MouseOver and MouseDown mixins as a single mixin. */
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    
    -    module.exports = dr.MouseOverAndDown = new JS.Module('MouseOverAndDown', {
    -        include: [
    -            require('./MouseOver.js'),
    -            require('./MouseDown.js')
    -        ]
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.mouseoveranddown {UI Behavior}
    +   * Provides both MouseOver and MouseDown mixins as a single mixin.
    +   */-->
    +<mixin name="mouseoveranddown" with="mousedown, mouseover"></mixin>
    + diff --git a/docs/api/source/Observer.html b/docs/api/source/Observer.html index 93d0271..5855474 100644 --- a/docs/api/source/Observer.html +++ b/docs/api/source/Observer.html @@ -59,7 +59,7 @@ attrName = eventType.startsWith('on') ? eventType.substring(2) : eventType; } try { - var event = observable.getAttribute(attrName); + var event = observable.getActualAttribute(attrName); if (typeof methodName === 'function') { methodName.call(this, event, dr); // TAG:Global Scope } else { diff --git a/docs/api/source/PlatformObserver.html b/docs/api/source/PlatformObserver.html index 69cc4eb..a717f35 100644 --- a/docs/api/source/PlatformObserver.html +++ b/docs/api/source/PlatformObserver.html @@ -113,6 +113,17 @@ observables.length = 0; } } + }, + + /** @private + Provides a hook for subclasses to override how the callback + function gets executed. */ + invokePlatformObserverCallback: function(methodName, eventType, returnEvent) { + if (typeof methodName === 'function') { + return methodName.call(this, returnEvent); + } else { + return this[methodName](returnEvent); + } } }); }); diff --git a/docs/api/source/UpdateableUI.html b/docs/api/source/UpdateableUI.html index f9ce229..d6886f3 100644 --- a/docs/api/source/UpdateableUI.html +++ b/docs/api/source/UpdateableUI.html @@ -2,53 +2,218 @@ - The source code - - + CodeRay output - - -
    /** Adds an udpateUI method that should be called to update the UI. Various
    -    mixins will rely on the updateUI method to trigger visual updates.
    -    
    -    Events:
    -        None
    -    
    -    Attributes:
    -        None
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    
    -    module.exports = dr.UpdateableUI = new JS.Module('UpdateableUI', {
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            this.callSuper(parent, attrs);
    -            
    -            // Call updateUI one time after initialization is complete to give
    -            // this View a chance to update itself.
    -            this.updateUI();
    -        },
    -        
    -        
    -        // Methods /////////////////////////////////////////////////////////////////
    -        /** Updates the UI whenever a change occurs that requires a visual update.
    -            Subclasses should implement this as needed.
    -            @returns void */
    -        updateUI: function() {
    -            // Subclasses to implement as needed.
    -        }
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.updateableui {UI Behavior}
    +   * Adds an udpateUI method that should be called to update the UI. Various
    +   * mixins will rely on the updateUI method to trigger visual updates.
    +   */-->
    +<mixin name="updateableui">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    this.super();
    +    
    +    // Call updateUI one time after initialization is complete to give
    +    // this View a chance to update itself.
    +    this.updateUI();
    +  </method>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method updateUI
    +    * @abstract
    +    * Updates the UI whenever a change occurs that requires a visual update.
    +    * Subclasses should implement this as needed.
    +    * @returns {void}
    +    */-->
    +  <method name="updateUI">
    +    // Subclasses to implement as needed.
    +  </method>
    +</mixin>
    + diff --git a/docs/api/source/View3.html b/docs/api/source/View3.html index 8d9a0b8..ad1d365 100644 --- a/docs/api/source/View3.html +++ b/docs/api/source/View3.html @@ -707,6 +707,38 @@ y:'number', width:'positivenumber', height:'positivenumber' + }, + attributes: { + x: { + type: 'number', + value: 0, + importance: 1, + }, + y: { + type: 'number', + value: 0, + importance: 1, + }, + width: { + type: 'number', + value: 0, + importance: 1, + }, + height: { + type: 'number', + value: 0, + importance: 1, + }, + opacity: { + type: 'number', + value: 1, + importance: 1, + }, + visible: { + type: 'boolean', + value: false, + importance: 1, + } } }, @@ -715,12 +747,14 @@ /** @overrides dr.Node */ initNode: function(parent, attrs) { this.subviews = []; + if (attrs.$tagname === undefined) { + attrs.$tagname = 'view'; + } // Used in many calculations so precalculating for performance. this.__fullBorderPaddingWidth = this.__fullBorderPaddingHeight = 0; // Initialize default values to reduce setter calls during initialization - // FIXME: __cfg_ values should be set too. this.x = this.y = this.width = this.height = this.innerwidth = this.innerheight = this.boundsx = this.boundsy = this.boundswidth = this.boundsheight = this.boundsxdiff = this.boundsydiff = this.rotation = this.z = @@ -728,24 +762,45 @@ this.leftpadding = this.rightpadding = this.toppadding = this.bottompadding = this.padding = this.topleftcornerradius = this.toprightcornerradius = this.bottomleftcornerradius = this.bottomrightcornerradius = this.cornerradius = this.scrollx = this.scrolly = 0; - this.opacity = this.xscale = this.yscale = 1; - this.visible = this.focusembellishment = true; - - this.focusable = this.clickable = this.ignorelayout = this.clip = this.scrollable = - this.isaligned = this.isvaligned = false; - + this.focusable = this.clickable = this.ignorelayout = this.clip = this.scrollable = this.isaligned = this.isvaligned = false; this.bgcolor = this.bordercolor = 'transparent'; this.borderstyle = 'solid'; this.cursor = 'auto'; - this.xanchor = this.yanchor = 'center'; this.zanchor = 0; + // Initialize __cfg_ values too + this.__cfg_x = this.__cfg_y = this.__cfg_width = this.__cfg_height = this.__cfg_innerwidth = this.__cfg_innerheight = + this.__cfg_boundsx = this.__cfg_boundsy = this.__cfg_boundswidth = this.__cfg_boundsheight = this.__cfg_boundsxdiff = this.__cfg_boundsydiff = + this.__cfg_rotation = this.__cfg_z = + this.__cfg_leftborder = this.__cfg_rightborder = this.__cfg_topborder = this.__cfg_bottomborder = this.__cfg_border = + this.__cfg_leftpadding = this.__cfg_rightpadding = this.__cfg_toppadding = this.__cfg_bottompadding = this.__cfg_padding = + this.__cfg_topleftcornerradius = this.__cfg_toprightcornerradius = this.__cfg_bottomleftcornerradius = this.__cfg_bottomrightcornerradius = this.__cfg_cornerradius = + this.__cfg_scrollx = this.__cfg_scrolly = 0; + this.__cfg_opacity = this.__cfg_xscale = this.__cfg_yscale = 1; + this.__cfg_visible = this.__cfg_focusembellishment = true; + this.__cfg_focusable = this.__cfg_clickable = this.__cfg_ignorelayout = this.__cfg_clip = this.__cfg_scrollable = this.__cfg_isaligned = this.__cfg_isvaligned = false; + this.__cfg_bgcolor = this.__cfg_bordercolor = 'transparent'; + this.__cfg_borderstyle = 'solid'; + this.__cfg_cursor = 'auto'; + this.__cfg_xanchor = this.__cfg_yanchor = 'center'; + this.__cfg_zanchor = 0; + this.set_sprite(this.createSprite(attrs)); + var clickableWasDisabled = attrs.clickable === 'false'; this.callSuper(parent, attrs); + if (clickableWasDisabled) return; + + var clickableEvents = ['onmousedown', 'onmouseup', 'onmouseover', 'onmouseout', 'onclick']; + for (var i = 0; i < clickableEvents.length; i++) { + if (this.hasObservers(clickableEvents[i])) { + this.setAttribute('clickable', true); + break; + } + } }, doBeforeAdoption: function() { @@ -1321,6 +1376,27 @@ } }, + // Siblings // + /** Gets the next sibling view of this view. */ + getNextSiblingView: function() { + return this.sprite.getNextSiblingView(); + }, + + /** Gets the last sibling view. */ + getLastSiblingView: function() { + return this.sprite.getLastSiblingView(); + }, + + /** Gets the previous sibling view. */ + getPrevSiblingView: function() { + return this.sprite.getPrevSiblingView(); + }, + + /** Gets the first sibling view. */ + getFirstSiblingView: function() { + return this.sprite.getFirstSiblingView(); + }, + // Subviews // /** Checks if this View has the provided View in the subviews array. @param sv:View the view to look for. @@ -1336,6 +1412,13 @@ return this.getSubviews().indexOf(sv); }, + /** Gets the subview at the provided index. */ + getSubviewAtIndex: function(index) { + var subviews = this.getSubviews(); + if (subviews.length > index) return subviews[index]; + return null; + }, + /** Called when a View is added to this View. Do not call this method to add a View. Instead call addSubnode or set_parent. @param sv:View the view that was added. @@ -1523,6 +1606,16 @@ return this; }, + moveForward: function() { + var nextSibling = this.getNextSiblingView(); + if (nextSibling) this.moveInFrontOf(nextSibling); + }, + + moveBackward: function() { + var prevSibling = this.getPrevSiblingView(); + if (prevSibling) this.moveBehind(prevSibling); + }, + /** Moves this view in front of the provided sibling view. @param {dr.view} The view to move in front of. @returns This object for chainability. */ diff --git a/docs/api/source/alignlayout.html b/docs/api/source/alignlayout.html index b512d24..7b53e5c 100644 --- a/docs/api/source/alignlayout.html +++ b/docs/api/source/alignlayout.html @@ -526,7 +526,7 @@ return value </method> - <method name="updateParent" args="attribute, value"> + <method name="updateParent" args="attribute, value, count"> # Resize the parent and allow for the difference between innersize and size # due to border and padding. parent = @parent diff --git a/docs/api/source/attrundoable.html b/docs/api/source/attrundoable.html new file mode 100644 index 0000000..6b80fd8 --- /dev/null +++ b/docs/api/source/attrundoable.html @@ -0,0 +1,422 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.attrundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that updates an attribute on a target object that
    +  * has support for the setAttribute method as defined in dr.AccessorSupport
    +  * such as dr.node and dr.view.
    +  */-->
    +<class name="editor-attrundoable" extends="editor-undoable"
    +  undodescription='Undo change {0} from "{1}" to "{2}".'
    +  redodescription='Redo change {0} from "{1}" to "{2}".'
    +>
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The target object that will have setAttribute called on it.
    +    */-->
    +  <attribute name="target" type="expression" value=""></attribute>
    +
    +  <!--/**
    +    * @attribute {String} [attribute]
    +    * The name of the attribute to update.
    +    */-->
    +  <attribute name="attribute" type="string" value="x"></attribute>
    +
    +  <!--/**
    +    * @attribute {expression} [oldvalue]
    +    * The undone value of the attribute. If not provided the current value
    +    * of the attribute on the target object will be stored the first time
    +    * redo is executed.
    +    */-->
    +  <attribute name="oldvalue" type="expression" value="undefined"></attribute>
    +
    +  <!--/**
    +    * @attribute {expression} [newvalue]
    +    * The done value of the attribute.
    +    */-->
    +  <attribute name="newvalue" type="expression" value="undefined"></attribute>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method setAttribute
    +    * @overrides
    +    * Prevent resolution of constraints since the values we wish to store
    +    * for oldvalue and newvalue will often be the string value of a
    +    * constraint.
    +    */-->
    +  <method name="setAttribute" args="attrName, value">
    +    if (attrName === 'oldvalue' || attrName === 'newvalue') {
    +      var cfgAttrName = dr.AccessorSupport.generateConfigAttrName(attrName);
    +      if (value !== 'undefined') value = '"' + value + '"';
    +      if (this[cfgAttrName] !== value) {
    +        this[cfgAttrName] = value;
    +        this.setActualAttribute(attrName, value);
    +      }
    +      return this;
    +    } else {
    +      return this.super();
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method getUndoDescription
    +    * @overrides
    +    * Gets the undo description using the value of the undodescription
    +    * attribute as a text template which will have the this.attribute, 
    +    * this.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate
    +    * for more info on how text templates work.
    +    */-->
    +  <method name="getUndoDescription">
    +    return this.__getDescription(this.super());
    +  </method>
    +
    +  <!--/**
    +    * @method getRedoDescription
    +    * @overrides
    +    * Gets the redo description using the value of the redodescription
    +    * attribute as a text template which will have the this.attribute, 
    +    * this.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate
    +    * for more info on how text templates work.
    +    */-->
    +  <method name="getRedoDescription">
    +    return this.__getDescription(this.super());
    +  </method>
    +
    +  <!--/**
    +    * @method __getDescription
    +    * @private
    +    */-->
    +  <method name="__getDescription" args="template">
    +    return dr.fillTextTemplate(template, this.attribute, this.oldvalue, this.newvalue);
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * @overrides
    +    * Sets the attribute on the target object to the oldvalue.
    +    */-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      this.target.setAttribute(this.attribute, this.oldvalue);
    +    } else {
    +      dr.global.error.notifyWarn('invalidUndo', "Invalid undo in attrundoable.");
    +    }
    +    return this.super();
    +  </method>
    +
    +  <!--/**
    +    * @method redo
    +    * @overrides
    +    * Sets the attribute on the target object to the newvalue. Also stores
    +    * the current value of the target object as the oldvalue if this is the
    +    * first time redo is called successfully.
    +    */-->
    +  <method name="redo" args="callback">
    +    if (this.done) {
    +      dr.global.error.notifyWarn('invalidRedo', "Invalid redo in attrundoable.");
    +    } else {
    +      // Record oldvalue one time only just before applying the new value.
    +      if (!this.__storedOldValue && this.oldvalue === undefined) {
    +        this.setAttribute('oldvalue', this.target.getAttribute(this.attribute));
    +        this.__storedOldValue = true;
    +      }
    +      
    +      this.target.setAttribute(this.attribute, this.newvalue);
    +    }
    +    return this.super();
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/bitmap.html b/docs/api/source/bitmap.html index b6a5639..9c6d745 100644 --- a/docs/api/source/bitmap.html +++ b/docs/api/source/bitmap.html @@ -251,6 +251,13 @@ 97 98 99 +100 +101 +102 +103 +104 +105 +106
    <!-- The MIT License (MIT)
     
    @@ -319,6 +326,13 @@
           */-->
       <attribute name="naturalsize" type="boolean" value="false"></attribute>
     
    +  <!--/**
    +      * @attribute {String} [repeat='no-repeat']
    +      * Determines if the image will be repeated within the bounds.
    +      * Supported values are 'no-repeat', 'repeat', 'repeat-x' and 'repeat-y'.
    +      */-->
    +  <attribute name="repeat" type="string" value="no-repeat"></attribute>
    +
       <!--/**
         * @attribute {String} [window='']
         * A window (section) of the image is displayed by specifying four,
    diff --git a/docs/api/source/bitmap3.html b/docs/api/source/bitmap3.html
    index aef397f..40bbc2c 100644
    --- a/docs/api/source/bitmap3.html
    +++ b/docs/api/source/bitmap3.html
    @@ -54,6 +54,11 @@
           * If set to true the bitmap will be sized to the width/height of the
           * bitmap data in pixels.
           */
    +/**
    +      * @attribute {String} [repeat='no-repeat']
    +      * Determines if the image will be repeated within the bounds.
    +      * Supported values are 'no-repeat', 'repeat', 'repeat-x' and 'repeat-y'.
    +      */
     /**
         * @attribute {String} [window='']
         * A window (section) of the image is displayed by specifying four,
    diff --git a/docs/api/source/button.html b/docs/api/source/button.html
    index 7478903..7ba7f85 100644
    --- a/docs/api/source/button.html
    +++ b/docs/api/source/button.html
    @@ -156,11 +156,267 @@
     2
     3
     4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
     
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    -<!-- Exposes dr.Button from lib/dr -->
    -<class name="button"></class>
    +<!--/** + * @mixin dr.button {UI Behavior} + * Provides button functionality to a dr.View. Most of the functionality + * comes from the mixins included by this mixin. This mixin resolves issues + * that arise when the various mixins are used together. + * + * By default dr.Button instances are focusable. + */--> +<!-- + Private Attributes: + __restoreCursor:string The cursor to restore to when the button is + no longer disabled. --> +<mixin name="button" with="keyactivation, disableable, mouseoveranddown, updateableui, activateable"> + <!--// Life Cycle /////////////////////////////////////////////////////////--> + <method name="initNode" args="parent, attrs"> + if (attrs.focusable === undefined) attrs.focusable = true; + if (attrs.cursor === undefined) attrs.cursor = 'pointer'; + + this.super(); + </method> + + + <!--// Attributes /////////////////////////////////////////////////////////--> + <setter name="focused" args="v"> + var existing = this.focused; + this.super(); + if (this.initing === false && this.focused !== existing) this.updateUI(); + </setter> + + + <!--// Methods ////////////////////////////////////////////////////////////--> + <!-- @overrides dr.keyactivation --> + <method name="doActivationKeyDown" args="key, isRepeat"> + // Prevent unnecessary UI updates when the activation key is repeating. + if (!isRepeat) this.updateUI(); + </method> + + <!-- @overrides dr.keyactivation --> + <method name="doActivationKeyUp" args="key"> + this.super(); + if (!this.destroyed) this.updateUI(); + </method> + + <!-- @overrides dr.keyactivation --> + <method name="doActivationKeyAborted" args="key"> + this.super(); + this.updateUI(); + </method> + + <!-- @overrides dr.updateableui --> + <method name="updateUI"> + if (this.disabled) { + // Remember the cursor to change back to, but don't re-remember + // if we're already remembering one. + if (this.__restoreCursor == null) this.__restoreCursor = this.cursor; + this.set_cursor('not-allowed'); + this.drawDisabledState(); + } else { + var rc = this.__restoreCursor; + if (rc) { + this.set_cursor(rc); + this.__restoreCursor = null; + } + + if (this.activateKeyDown !== -1 || this.ismousedown) { + this.drawActiveState(); + } else if (this.focused) { + this.drawFocusedState(); + } else if (this.ismouseover) { + this.drawHoverState(); + } else { + this.drawReadyState(); + } + } + </method> + + <!--/** + * @method drawDisabledState + * @abstract + * Draw the UI when the component is in the disabled state. + * @returns {void} + */--> + <method name="drawDisabledState"> + // Subclasses to implement as needed. + </method> + + <!--/** + * @method drawFocusedState + * Draw the UI when the component has focus. The default implementation + * calls drawHoverState. + * @returns {void} + */--> + <method name="drawFocusedState"> + this.drawHoverState(); + </method> + + <!--/** + * @method drawHoverState + * @abstract + * Draw the UI when the component is on the verge of being interacted + * with. For mouse interactions this corresponds to the over state. + * @returns {void} + */--> + <method name="drawHoverState"> + // Subclasses to implement as needed. + </method> + + <!--/** + * @method drawActiveState + * @abstract + * Draw the UI when the component has a pending activation. For mouse + * interactions this corresponds to the down state. + * @returns {void} + */--> + <method name="drawActiveState"> + // Subclasses to implement as needed. + </method> + + <!--/** + * @method drawReadyState + * @abstract + * Draw the UI when the component is ready to be interacted with. For + * mouse interactions this corresponds to the enabled state when the + * mouse is not over the component. + * @returns {void} + */--> + <method name="drawReadyState"> + // Subclasses to implement as needed. + </method> +</mixin> diff --git a/docs/api/source/button2.html b/docs/api/source/button2.html deleted file mode 100644 index e2ffd1c..0000000 --- a/docs/api/source/button2.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - The source code - - - - - - -
    -
    - - diff --git a/docs/api/source/buttonbase.html b/docs/api/source/buttonbase.html index a72b3c0..4440030 100644 --- a/docs/api/source/buttonbase.html +++ b/docs/api/source/buttonbase.html @@ -306,13 +306,13 @@ * that is inside the button. * * The following example shows a subclass that has a plain view as the visual - * element, and sets selected to true onmousedown. The selectcolor is + * element, and sets selected to true onismousedown. The selectcolor is * automatically applied when selected is true. * * @example * <class name="purplebutton" extends="buttonbase" defaultcolor="purple" selectcolor="plum" width="100" height="40" visual="${this}"> - * <handler event="onmousedown" args="mousedown"> - * this.setAttribute('selected', mousedown) + * <handler event="onismousedown" args="ismousedown"> + * this.setAttribute('selected', ismousedown) * </handler> * </class> * <purplebutton></purplebutton> diff --git a/docs/api/source/checkbutton.html b/docs/api/source/checkbutton.html index a568932..cb49cbf 100644 --- a/docs/api/source/checkbutton.html +++ b/docs/api/source/checkbutton.html @@ -377,7 +377,7 @@ @setAttribute('selected', !@selected); </handler> - <handler event="onmousedown"> + <handler event="onismousedown"> if @selected @check.setAttribute('fill', @textcolor) @check.setAttribute('bgcolor', @defaultcolor) diff --git a/docs/api/source/compositionserver.html b/docs/api/source/compositionserver.html index 591adb8..a2f5d79 100644 --- a/docs/api/source/compositionserver.html +++ b/docs/api/source/compositionserver.html @@ -47,7 +47,7 @@ this.teemserver = teemserver; this.args = args; this.name = name; - + this.busserver = new BusServer(); this.watcher = new FileWatcher(); this.watcher.onChange = function(file) { @@ -94,6 +94,35 @@ } } + // handle editor requests + if (query.edit) { + if (req.method == 'POST') { + var buf = '' + req.on('data', function(data) {buf += data.toString();}); + req.on('end', function() { + var comppath = define.expandVariables(this.__getCompositionPath()) + this.__saveEditableFile(comppath, buf, query.stripeditor === '1'); + }.bind(this)); + return; + } else { + res.writeHead(302, { + 'Location': req.url.substring(0, req.url.indexOf('?')) + //add other headers here... + }); + res.end(); + var comppath = define.expandVariables(this.__getCompositionPath()) + this.__makeFileEditable(comppath); + return; + } + } + if (query.raw) { + var comppath = define.expandVariables(this.__getCompositionPath()) + res.writeHead(200, {"Content-Type":"text/text"}); + res.write(this.__readFile(comppath)); + res.end(); + return; + } + // Serve our Composition device if (req.method == 'POST') { // lets do an RPC call @@ -115,29 +144,48 @@ } }.bind(this)); } else { - var screenName = query.screen || 'default', - screen = this.screens[screenName]; - if (screen) { - var name = this.name; - if (screenName === 'dali') { - var stream = fs.createReadStream(define.expandVariables(this.__buildScreenPath('dali.dali'))); - res.writeHead(200, {"Content-Type":"text/html"}); - stream.pipe(res); + var action = query.action; + if (action === 'edit') { + // Retreive the a pkg directly as json. See examples/editor.io.dre + // for an example that uses this. + res.writeHead(200, { + "Cache-control":"max-age=0", + "Content-Type":"text/html" + }); + var modules = this.modules, + i = 0, len = modules.length, + pkg = { + classmap:this.classmap, + composition:[] + }; + for (; len > i;) pkg.composition.push(modules[i++].jsxml); + res.write(JSON.stringify(pkg)); + res.end(); + } else { + var screenName = query.screen || 'default', + screen = this.screens[screenName]; + if (screen) { + var name = this.name; + if (screenName === 'dali') { + var stream = fs.createReadStream(define.expandVariables(this.__buildScreenPath('dali.dali'))); + res.writeHead(200, {"Content-Type":"text/html"}); + stream.pipe(res); + } else { + res.writeHead(200, { + "Cache-control":"max-age=0", + "Content-Type":"text/html" + }); + res.write(this.__renderHTMLTemplate( + screen.attr && screen.attr.title || name, + this.__buildScreenPath(screenName) + )); + res.end(); + } } else { - res.writeHead(200, { - "Cache-control":"max-age=0", - "Content-Type":"text/html" - }); - res.write(this.__renderHTMLTemplate( - screen.attr && screen.attr.title || name, - this.__buildScreenPath(screenName) - )); + res.writeHead(404, {"Content-Type":"text/html"}); + res.write('NO SCREENS FOUND'); res.end(); } - } else { - res.writeHead(404, {"Content-Type":"text/html"}); - res.write('NOT FOUND'); - res.end(); } } }; @@ -202,7 +250,19 @@ var htmlParser = new HTMLParser(), source = data.toString(), jsobj = htmlParser.parse(source); - + + if (jsobj.tag == '$root' && jsobj.child) { + + var children = jsobj.child; + var composition; + for (var i=0;i<children.length;i++) { + var child = children[i]; + if (child.tag == 'composition') { + this.teemserver.pluginLoader.inject(child); + } + } + } + // forward the parser errors if (htmlParser.errors.length) { htmlParser.errors.map(function(e) { @@ -242,6 +302,8 @@
    this.__lookupDep = function(type, classname, compname, out) { // Scriptincludes are type 2 if (type === 2) { + if (define.isFullyQualifiedURL(classname)) return classname; + var expandedPath = define.expandVariables(classname); if (fs.existsSync(expandedPath)) { return classname; @@ -293,6 +355,7 @@ if (root) { jsfile = '$BUILD/' + thePath.replace(/\$/g,'').toLowerCase() + '.js'; this.compile_once[drefile] = jsfile; + this.__compileAndWriteDreToJS(root, jsfile, null, local_err, [drefile]); ignore_watch = true; } @@ -340,8 +403,19 @@ /** @private */ this.__getCompositionPath = function() { - var compositionName = this.name, - filepath = '$ROOT/' + compositionName + define.DREEM_EXTENSION; + var compositionName = this.name; + var filepath = '$ROOT/' + compositionName + define.DREEM_EXTENSION; + + var match = /^plugins\/([^\/]+)\/examples\/([^\/]+)$/.exec(compositionName) + if (match) { + var pluginName = match[1]; + var compName = match[2]; + var plugin = this.teemserver.pluginLoader.plugins[pluginName]; + if (plugin.rootDir) { + filepath = plugin.rootDir + '/examples/' + compName + define.DREEM_EXTENSION + } + } + if (define.EXTLIB) { var extpath = define.expandVariables(define.EXTLIB); if (fs.existsSync(extpath)) { @@ -352,6 +426,7 @@ } } } + return filepath; }; @@ -415,7 +490,7 @@ } else if (tag === 'classes') { // generate local classes for (var j = 0, classes = child.child, clen = classes.length; j < clen; j++) { - this.__compileLocalClass(classes[j], errors, [compositionPath]); + this.__compileLocalClass(classes[j], errors, [compositionPath]); } } else { this.__makeComponentJS(child, compositionPath, errors); @@ -621,6 +696,120 @@ } } }; + + this.__guid = 0; + this.__readFile = function(filepath) { + var data, newdata; + try { + data = fs.readFileSync(filepath); + if (data) data = data.toString(); + } catch(e) {} + return data; + } + + this.__makeFileEditable = function(filepath) { + var data, newdata; + data = this.__readFile(filepath) + + if (data.indexOf('lzeditor_') > 0) { + // already editable, don't do anything + newdata = data + } else { + var htmlParser = new HTMLParser(), + jsobj = htmlParser.parse(data); + this.__walkChildren(jsobj) + newdata = HTMLParser.reserialize(jsobj, ' ') + this.__writeFileIfChanged(filepath, newdata) + } + + return newdata + } + this.__editableRE = /[,\s]*editable/; + this.__skiptagsRE = /screens|screen|composition|$comment|handler|method|include|setter/; + this.__walkChildren = function(jsobj, stripeditor, insidescreen) { + var setplacement = false, setwith = false; + if (jsobj.tag !== 'screen') { + setwith = true; + } else { + // track if we're inside the screen tag + insidescreen = true; + } + + var children = jsobj.child; + if (! children.length) return; + + // strip out editor include + for (var i = 0; i < children.length; i++) { + var child = children[i] + if (child.tag === 'include' && child.attr.href === './editor/editor_include.dre') { + children.splice(i, 1); + break; + } + } + if (jsobj.tag === 'view' && insidescreen) { + // only set placement='editor' for tags in the top-level view immediately inside the screen tag + insidescreen = false; + setplacement = true; + if (! stripeditor) { + // add top-level editor include + jsobj.child.unshift({ + tag: 'include', + attr: { + href: './editor/editor_include.dre' + } + }); + } + } + + for (var i = 0; i < children.length; i++) { + var child = children[i] + + if (! child.tag.match(this.__skiptagsRE)) { + if (! child.attr) { + child.attr = {}; + } + var attr = child.attr; + if (stripeditor) { + if ((typeof attr.id === 'string') && (attr.id.indexOf('lzeditor_') > -1)) { + delete attr.id; + } + if ((typeof attr.with === 'string') && attr.with.match(this.__editableRE)) { + attr.with = attr.with.replace(this.__editableRE, ''); + if (! attr.with) delete attr.with; + } + if (attr.placement === 'editor') { + delete attr.placement; + } + } else { + if (! attr.id) { + attr.id = 'lzeditor_' + this.__guid++; + } + if (setwith) { + if (! attr.with) { + attr.with = 'editable'; + } else if (! attr.with.match(this.__editableRE)){ + attr.with += ',editable'; + } + if (setplacement) { + attr.placement = 'editor'; + } + } + } + } + + // console.log(stripeditor, JSON.stringify(child)); + if (child.child) { + this.__walkChildren(child, stripeditor, insidescreen); + } + } + }; + this.__saveEditableFile = function(filepath, data, stripeditor) { + var jsobj = JSON.parse(data); + this.__walkChildren(jsobj, stripeditor); + var newdata = HTMLParser.reserialize(jsobj, ' '); + this.__writeFileIfChanged(filepath, newdata); + // console.log('saved', filepath, stripeditor); + } }; }) diff --git a/docs/api/source/compoundundoable.html b/docs/api/source/compoundundoable.html new file mode 100644 index 0000000..77a7c84 --- /dev/null +++ b/docs/api/source/compoundundoable.html @@ -0,0 +1,354 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.compoundundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that combines multiple undoables into a single group that can
    +  * be done/undone as one. Use the add method to add undoables to this
    +  * compoundundoable.
    +  *
    +  * The contained undoables will be done in the order they were added and
    +  * undone in the reverse order they were added.
    +  */-->
    +<class name="editor-compoundundoable" extends="editor-undoable">
    +  <!--// LIFE CYCLE /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method destroy
    +    * @overrides
    +    * Destroys this undoable and all the undoables contained within it.
    +    */-->
    +  <method name="destroy">
    +    if (!this.destroyed) {
    +      var undoables = this.__undoables;
    +      this.super();
    +      if (undoables) while (undoables.length) undoables.pop().destroy();
    +    }
    +  </method>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method add
    +    * Adds an undoable to this dr.editor.compoundundoable.
    +    * @param {dr.editor.undoable} undoable The undoable to add.
    +    * @returns {this}
    +    */-->
    +  <method name="add" args="undoable">
    +    if (!undoable) {
    +      dr.sprite.console.warn("No undoable provided to compoundundoable.add.");
    +    } else if (undoable.done) {
    +      dr.sprite.console.warn("Undoable already in the done state in compoundundoable.add.");
    +    } else if (undoable === this) {
    +      dr.sprite.console.warn("Adding compoundundoable to itself is not allowed.");
    +    } else {
    +      (this.__undoables || (this.__undoables = [])).push(undoable);
    +    }
    +    return this;
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * @overrides
    +    * Undoes all the contained undoables.
    +    */-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      var undoables = this.__undoables;
    +      if (undoables) {
    +        var i = undoables.length;
    +        try {
    +          this.done = false; // Provide cyclic protection
    +          while (i) undoables[--i].undo(callback);
    +        } finally {
    +          this.done = true;
    +        }
    +      }
    +      return this.super();
    +    } else {
    +      dr.global.error.notifyWarn('invalidCompoundUndo', "Invalid undo in compoundundoable.");
    +      return this;
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * @overrides
    +    * Does all the contained undoables.
    +    */-->
    +  <method name="redo" args="callback">
    +    if (!this.done) {
    +      var undoables = this.__undoables;
    +      if (undoables) {
    +        var len = undoables.length, i = 0;
    +        
    +        try {
    +          this.done = true; // Provide cyclic protection
    +          for (; len > i;) undoables[i++].redo(callback);
    +        } finally {
    +          this.done = false;
    +        }
    +      }
    +      return this.super();
    +    } else {
    +      dr.global.error.notifyWarn('invalidCompoundRedo', "Invalid redo in compoundundoable.");
    +      return this;
    +    }
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/createundoable.html b/docs/api/source/createundoable.html new file mode 100644 index 0000000..983c42e --- /dev/null +++ b/docs/api/source/createundoable.html @@ -0,0 +1,332 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.createundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that Inserts a new node into a parent node.
    +  */-->
    +<class name="editor-createundoable" extends="editor-undoable"
    +  undodescription='Undo create.'
    +  redodescription='Redo create.'
    +>
    +  <!--// LIFE CYCLE /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method destroy
    +    * @overrides
    +    */-->
    +  <method name="destroy" args="parent, attrs">
    +    if (!this.isdone) this.target.destroy();
    +    this.super();
    +  </method>
    +
    +
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The new node/view to add.
    +    */-->
    +  <attribute name="target" type="expression" value=""></attribute>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method undo
    +    * @overrides
    +    * Removes the target from its parent.
    +    */-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      var target = this.target;
    +      if (target) {
    +        this._notFirstTime = true;
    +        this._targetWasVisible = target.visible;
    +        this._prevSibling = target.getPrevSiblingView();
    +        this._targetParent = target.parent;
    +        target.setAttribute('visible', false);
    +        target.setAttribute('parent', null);
    +        target.pauseConstraints();
    +        return this.super();
    +      } else {
    +        dr.global.error.notifyWarn('invalidUndo', "No target provided to createundoable.");
    +      }
    +    } else {
    +      dr.global.error.notifyWarn('invalidUndo', "Invalid undo in createundoable.");
    +    }
    +    return this;
    +  </method>
    +
    +  <!--/**
    +    * @method redo
    +    * @overrides
    +    * Inserts the target into the target parent.
    +    */-->
    +  <method name="redo" args="callback">
    +    if (this.done) {
    +      dr.global.error.notifyWarn('invalidRedo', "Invalid redo in createundoable.");
    +    } else {
    +      var target = this.target;
    +      if (target) {
    +        if (this._notFirstTime) {
    +          target.setAttribute('parent', this._targetParent);
    +          if (this._targetWasVisible === true) target.setAttribute('visible', true);
    +          if (this._prevSibling) {
    +            target.moveInFrontOf(this._prevSibling);
    +          } else {
    +            target.moveToBack();
    +          }
    +          target.resumeConstraints();
    +        }
    +        return this.super();
    +      } else {
    +        dr.global.error.notifyWarn('invalidUndo', "No target provided to createundoable.");
    +      }
    +    }
    +    return this;
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/datapath.html b/docs/api/source/datapath.html index fbb5068..2e7baee 100644 --- a/docs/api/source/datapath.html +++ b/docs/api/source/datapath.html @@ -405,6 +405,7 @@ 251 252 253 +254
    <!-- The MIT License (MIT)
     
    @@ -465,6 +466,7 @@
          * See [https://github.com/flitbit/json-path](https://github.com/flitbit/json-path) for more details.
          */-->
         <class name="datapath" type="coffee" extends="node" scriptincludes="/lib/json-path+json-ptr-0.1.3.min.js">
    +      <attribute name="_arrayidentity" type="expression" value="[]" allocation="class"></attribute>
           <attribute name="datasetmatcher" value="/^\$([^\/]+)/" type="expression" allocation="class"></attribute>
           <!--/**
             * @attribute {Object} data
    @@ -616,7 +618,7 @@
                 if parentdata?.data
                   # execute selectors relative to parent data
                   rundata = parentdata.data
    -            else
    +            else unless @dataset
                   console.warn('No parent data found for', @path, @)
     
               if rundata
    @@ -630,7 +632,7 @@
               result = accum
     
             unless result?
    -          @_origresult = []
    +          @_origresult = dr.datapath._arrayidentity
             else
               @_origresult = if Array.isArray(result) then result else [result]
     
    diff --git a/docs/api/source/deleteundoable.html b/docs/api/source/deleteundoable.html
    new file mode 100644
    index 0000000..5e6cf88
    --- /dev/null
    +++ b/docs/api/source/deleteundoable.html
    @@ -0,0 +1,326 @@
    +
    +
    +
    +  
    +  CodeRay output
    +  
    +
    +
    +
    +
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.deleteundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that Inserts a new node into a parent node.
    +  */-->
    +<class name="editor-deleteundoable" extends="editor-undoable"
    +  undodescription='Undo delete.'
    +  redodescription='Redo delete.'
    +>
    +  <!--// LIFE CYCLE /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method destroy
    +    * @overrides
    +    */-->
    +  <method name="destroy" args="parent, attrs">
    +    if (this.isdone) this.target.destroy();
    +    this.super();
    +  </method>
    +
    +
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The node/view to remove.
    +    */-->
    +  <attribute name="target" type="expression" value=""></attribute>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method undo
    +    * @overrides
    +    * Reinserts the target.
    +    */-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      var target = this.target;
    +      if (target) {
    +        target.setAttribute('parent', this._targetParent);
    +        if (this._targetWasVisible === true) target.setAttribute('visible', true);
    +        if (this._prevSibling) {
    +          target.moveInFrontOf(this._prevSibling);
    +        } else {
    +          target.moveToBack();
    +        }
    +        target.resumeConstraints();
    +        return this.super();
    +      } else {
    +        dr.global.error.notifyWarn('invalidUndo', "No target provided to deleteundoable.");
    +      }
    +    } else {
    +      dr.global.error.notifyWarn('invalidUndo', "Invalid undo in deleteundoable.");
    +    }
    +    return this;
    +  </method>
    +
    +  <!--/**
    +    * @method redo
    +    * @overrides
    +    * Removes the target from its parent.
    +    */-->
    +  <method name="redo" args="callback">
    +    if (this.done) {
    +      dr.global.error.notifyWarn('invalidRedo', "Invalid redo in deleteundoable.");
    +    } else {
    +      var target = this.target;
    +      if (target) {
    +        this._targetWasVisible = target.visible;
    +        this._prevSibling = target.getPrevSiblingView();
    +        this._targetParent = target.parent;
    +        target.setAttribute('visible', false);
    +        target.setAttribute('parent', null);
    +        target.pauseConstraints();
    +        return this.super();
    +      } else {
    +        dr.global.error.notifyWarn('invalidUndo', "No target provided to deleteundoable.");
    +      }
    +    }
    +    return this;
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/dr.html b/docs/api/source/dr.html index d241c55..2e4cd1e 100644 --- a/docs/api/source/dr.html +++ b/docs/api/source/dr.html @@ -40,6 +40,9 @@ require('$LIB/dr/shim/language.js'); var globalScope = require('$SPRITE/global.js'); + // PhantomJS doesn't support Promises so polyfill + if (!globalScope.Promise) globalScope.Promise = require('$CORE/promisepolyfill.js'); + module.exports = { // Expose JSClass JS:require('$LIB/jsclass.js'), @@ -164,6 +167,33 @@ this.global.error.notify(type || 'error', err, err, typeof err === 'string' ? null : err); }, + // Text Templating + /** Populates a text "template" with 1 or more arguments. The + template consists of a string with text interspersed with + curly-braced indices. The arguments are replaced in order one at + a time into the template. For example: + + dr.fillTextTemplate("{0}/{2}/{1} hey {0}", 1, 2, 3) + will return "1/3/2 hey 1". + + @param (first arg):string The template to use. + @param (remaining args):(coerced to string) The parameters for the + template. + @returns A populated string. */ + fillTextTemplate: function() { + var params = Array.prototype.slice.call(arguments), + template = params.shift(); + + if (template == null) return ''; + + var param, i = 0, len = params.length; + for (; len > i; ++i) { + param = params[i]; + template = template.split("{" + i + "}").join(param == null ? '' : param); + } + return template; + }, + // Misc /** Memoize a function. @param f:function The function to memoize diff --git a/docs/api/source/draggable.html b/docs/api/source/draggable.html index bbe621e..77bfb73 100644 --- a/docs/api/source/draggable.html +++ b/docs/api/source/draggable.html @@ -156,11 +156,535 @@ 2 3 4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148 +149 +150 +151 +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163 +164 +165 +166 +167 +168 +169 +170 +171 +172 +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226 +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241 +242 +243 +244 +245 +246 +247 +248 +249 +250 +251 +252 +253 +254 +255 +256 +257 +258 +259 +260 +261 +262 +263 +264 +265 +266
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    -<!-- Exposes dr.Draggable from lib/dr/behavior -->
    -<class name="draggable"></class>
    +<!--/** + * @mixin dr.draggable {UI Behavior} + * Makes an dr.View draggable via the mouse. + * + * Also supresses context menus since the mouse down to open it causes bad + * behavior since a mouseup event is not always fired. + */--> +<!-- + Private Attributes: + __initMouseX:number The initial x location of the mouse relative to the viewport. + __initMouseY:number The initial y location of the mouse relative to the viewport. + __initLocX:number The initial x location of this view relative to the parent view. + __initLocY:number The initial y location of this view relative to the parent view. + __initAbsLocX:number The initial x location of the view relative to the viewport. + __initAbsLocY:number The initial x location of the view relative to the viewport. +--> +<mixin name="draggable" with="mouseoveranddown"> + <!--// Life Cycle /////////////////////////////////////////////////////////--> + <method name="initNode" args="parent, attrs"> + this.isdraggable = this.isdragging = this.centeronmouse = this.allowabort = false; + this.distancebeforedrag = 0; + this.dragaxis = 'both'; + + // Will be set after init since the draggable subview(s) probably + // don't exist yet. + var isdraggable = true; + if (attrs.isdraggable !== undefined) { + isdraggable = attrs.isdraggable; + delete attrs.isdraggable; + } + + this.super(); + + this.setAttribute('isdraggable', isdraggable); + </method> + + + <!--// Attributes /////////////////////////////////////////////////////////--> + <!--/** + * @attribute {Boolean} isdraggable + * Configures the view to be draggable or not. + */--> + <attribute name="isdraggable" type="boolean" value="true"/> + <setter name="isdraggable" args="v"> + if (this.setActual('isdraggable', v, 'boolean', true)) { + var func; + if (this.isdraggable) { + func = this.listenToPlatform.bind(this); + } else if (this.initing === false) { + func = this.stopListeningToPlatform.bind(this); + } + + if (func) { + var dvs = this.getDragViews(); + if (!Array.isArray(dvs)) dvs = [dvs]; + + var dragview, i = dvs.length; + while (i) { + dragview = dvs[--i]; + func(dragview, 'onmousedown', '__doMouseDown'); + func(dragview, 'oncontextmenu', '__doContextMenu'); + } + } + } + </setter> + + <!--/** + * @attribute {Boolean} isdragging + * Indicates that this view is currently being dragged. + */--> + <attribute name="isdragging" type="boolean" value="false"/> + <setter name="isdragging" args="v">this.setActual('isdragging', v, 'boolean', false);</setter> + + <!--/** + * @attribute {Boolean} allowabort + * Allows a drag to be aborted by the user by pressing the 'esc' key. + */--> + <attribute name="allowabort" type="boolean" value="false"/> + <setter name="allowabort" args="v">this.setActual('allowabort', v, 'boolean', false);</setter> + + <!--/** + * @attribute {Boolean} centeronmouse + * If true this draggable will update the draginitx and draginity to keep + * the view centered on the mouse. + */--> + <attribute name="centeronmouse" type="boolean" value="false"/> + <setter name="centeronmouse" args="v">this.setActual('centeronmouse', v, 'boolean', false);</setter> + + <!--/** + * @attribute {Number} distancebeforedrag + * The distance, in pixels, before a mouse down and drag is considered a + * drag action. + */--> + <attribute name="distancebeforedrag" type="number" value="0"/> + <setter name="distancebeforedrag" args="v">this.setActual('distancebeforedrag', v, 'number', 0);</setter> + + <!--/** + * @attribute {String} dragaxis + * Limits dragging to a single axis. Supported values: 'x', 'y', 'both'. + */--> + <attribute name="dragaxis" type="string" value="both"/> + <setter name="dragaxis" args="v">this.setActual('dragaxis', v, 'string', 'both');</setter> + + <!--/** @overrides dr.disableable */--> + <setter name="disabled" args="v"> + if (this.super) this.super(); + + // When about to disable make sure isdragging is not true. This + // helps prevent unwanted behavior of a disabled view. + if (this.disabled && this.isdragging) this.stopDrag(null, false); + </setter> + + + <!--// Methods ////////////////////////////////////////////////////////////--> + <!--/** + * @method getDragViews + * Returns an array of views that can be moused down on to start the + * drag. Subclasses should override this to return an appropriate list + * of views. By default this view is returned thus making the entire + * view capable of starting a drag. + * @returns {Array} + */--> + <method name="getDragViews"> + return [this]; + </method> + + <!--/** @private */--> + <method name="__doContextMenu"> + // Do nothing so the context menu event is supressed. + </method> + + <!--/** @private */--> + <method name="__doMouseDown" args="event"> + var absPosition = this.getAbsolutePosition(); + this.__initMouseX = event.x; + this.__initMouseY = event.y; + this.__initLocX = this.x; + this.__initLocY = this.y; + this.__initAbsLocX = absPosition.x; + this.__initAbsLocY = absPosition.y; + + var gm = dr.global.mouse; + this.listenToPlatform(gm, 'onmouseup', '__doMouseUp', true); + if (this.distancebeforedrag > 0) { + this.listenToPlatform(gm, 'onmousemove', '__doDragCheck', true); + } else { + this.startDrag(event); + } + + dr.sprite.preventDefault(event); + + return true; // Allow platform event bubbling + </method> + + <!--/** @private */--> + <method name="__doMouseUp" args="event"> + if (this.isdragging) { + this.stopDrag(event, false); + } else { + var gm = dr.global.mouse; + this.stopListeningToPlatform(gm, 'onmouseup', '__doMouseUp', true); + this.stopListeningToPlatform(gm, 'onmousemove', '__doDragCheck', true); + } + return true; // Allow platform event bubbling + </method> + + <!--/** @private */--> + <method name="__doDragCheck" args="event"> + var distance = dr.measureDistance(event.x, event.y, this.__initMouseX, this.__initMouseY); + if (distance >= this.distancebeforedrag) { + this.stopListeningToPlatform(dr.global.mouse, 'onmousemove', '__doDragCheck', true); + this.startDrag(event); + } + </method> + + <!--/** + * @method startDrag + * Active until stopDrag is called. The view position will be bound + * to the mouse position. Subclasses typically call this onmousedown for + * subviews that allow dragging the view. + * @param {Object} event The event the mouse event when the drag started. + * @returns {void} + */--> + <method name="startDrag" args="event"> + if (!this.disabled) { + var g = dr.global; + if (this.allowabort) this.listenTo(g.keys, 'onkeycodeup', '__watchForAbort'); + + this.setAttribute('isdragging', true); + this.listenToPlatform(g.mouse, 'onmousemove', 'updateDrag', true); + this.updateDrag(event); + } + </method> + + <!--/** + * @method updateDrag + * Called on every mousemove event while dragging. + * @returns {void} + */--> + <method name="updateDrag" args="event"> + this.__requestDragPosition(event); + </method> + + <!--/** @private */--> + <method name="__requestDragPosition" args="mousePos"> + var x = mousePos.x - this.__initMouseX + this.__initLocX, + y = mousePos.y - this.__initMouseY + this.__initLocY; + + if (this.centeronmouse) { + x -= (this.boundswidth / 2) + this.__initAbsLocX - this.__initMouseX; + y -= (this.boundsheight / 2) + this.__initAbsLocY - this.__initMouseY; + } + + this.updatePosition(x, y); + </method> + + <!--/** + * @method updatePosition + * Repositions the view to the provided values. The default implementation + * is to directly set x and y. Subclasses should override this method + * when it is necessary to constrain the position. + * @param {Number} x the new x position. + * @param {Number} y the new y position. + * @returns {void} + */--> + <method name="updatePosition" args="x, y"> + if (!this.disabled) { + var dragaxis = this.dragaxis; + if (dragaxis !== 'y') this.setAttribute('x', x); + if (dragaxis !== 'x') this.setAttribute('y', y); + } + </method> + + <!--/** + * @method stopDrag + * Stop the drag. (see startDrag for more details) + * @param {Object} event The event that ended the drag. + * @param {Boolean} isAbort Indicates if the drag ended normally or was aborted. + * @returns {void} + */--> + <method name="stopDrag" args="event, isAbort"> + var g = dr.global, gm = g.mouse; + this.stopListeningToPlatform(gm, 'onmouseup', '__doMouseUp', true); + this.stopListeningToPlatform(gm, 'onmousemove', 'updateDrag', true); + this.stopListening(g.keys, 'onkeycodeup', '__watchForAbort'); + + this.setAttribute('isdragging', false); + </method> + + <!--/** @private */--> + <method name="__watchForAbort" args="event"> + // Watch for ESC key + if (event === 27) this.stopDrag(event, true); + </method> + + <!--/** + * @method getDistanceFromOriginalLocation + * Gets the distance dragged from the location of the start of the drag. + * @returns {Number} + */--> + <method name="getDistanceFromOriginalLocation" args="x, y"> + return dr.measureDistance(this.x, this.y, this.__initLocX, this.__initLocY); + </method> +</mixin> diff --git a/docs/api/source/draggable2.html b/docs/api/source/draggable2.html deleted file mode 100644 index e2ffd1c..0000000 --- a/docs/api/source/draggable2.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - The source code - - - - - - -
    -
    - - diff --git a/docs/api/source/dreemMaker.html b/docs/api/source/dreemMaker.html index 53c16a9..bdc6bde 100644 --- a/docs/api/source/dreemMaker.html +++ b/docs/api/source/dreemMaker.html @@ -46,16 +46,18 @@ JS = require('$LIB/jsclass.js'), sprite = require('$SPRITE/sprite.js'), acorn = require('$LIB/acorn'), - coffee = require('$LIB/coffee-script'); + coffee = require('$LIB/coffee-script'), + htmlparser = require('$CORE/htmlparser.js'); require('$LIB/dr/globals/GlobalError.js'); require('$LIB/dr/globals/GlobalRequestor.js'); + require('$LIB/dr/globals/GlobalKeys.js'); + require('$LIB/dr/globals/GlobalMouse.js'); + require('$LIB/dr/globals/GlobalIdle.js'); require('$LIB/dr/Eventable.js'); require('$LIB/dr/view/SizeToViewport.js'); require('$LIB/dr/animation/Animator.js'); require('$LIB/dr/animation/AnimGroup.js'); - require('$LIB/dr/behavior/Button.js'); - require('$LIB/dr/behavior/Draggable.js'); require('$SPRITE/Text.js'); require('$SPRITE/InputText.js'); @@ -136,7 +138,16 @@ } }; - proto.execute = function(rootdre, classmap, teem) { + /** Starts the client side parsing process. + @param {Object} rootdre The json representation of a dre file. + @param {Object} classmap A map of classpaths by classname. + @param {dr.teem} teem A reference to the teem component. + @param {dr.Node} parentInstance (Optional) The parent to attach new + instances to. + @param {Boolean} allowNestedScreens (Optional) Prevents warnings when + trying to load one screen into another. + @returns A Compiler object. */ + proto.execute = function(rootdre, classmap, teem, parentInstance, allowNestedScreens) { var errors = [], methods = [], classes = {}; @@ -207,7 +218,7 @@ node.method_id = methods.length; methods.push({ - name:funcName, + name:funcName.split('-').join('_'), origin:node.pos, language:language, argStr:attr.args || '', @@ -274,8 +285,6 @@ compiledClasses:{ animator:dr.Animator, animgroup:dr.AnimGroup, - button:dr.Button, - draggable:dr.Draggable, eventable:dr.Eventable, layout:dr.Layout, node:dr.Node, @@ -298,9 +307,15 @@ dr.maker = maker; dr.pkg = pkg; dr.teem = teem; + dr.htmlparser = htmlparser; + + dr.ready = false; // Start processing from the root downward - maker.__walkDreemJSXML(rootdre, null, pkg); + // parentInstance and allowNestedScreens are both typically undefined + // here. The only time they would be provided is when trying to + // load one screen into a subview of another. + maker.__walkDreemJSXML(rootdre, pkg, parentInstance, allowNestedScreens); dr.notifyReady(); } @@ -316,8 +331,6 @@ // Specific Classes and Mixins from the core animator:true, animgroup:true, - button:true, - draggable:true, eventable:true, layout:true, node:true, @@ -341,11 +354,11 @@ // from dr.makeChildren maker.walkForInstance = function(targetObj, json, isClassroot, pkg) { if (isClassroot) this.__classroots.unshift(targetObj); - for (var i = 0, len = json.length; len > i;) this.__walkDreemJSXML(json[i++], targetObj, pkg); + for (var i = 0, len = json.length; len > i;) this.__walkDreemJSXML(json[i++], pkg, targetObj, false); if (isClassroot) this.__classroots.shift(); }; - maker.__walkDreemJSXML = function(node, parentInstance, pkg) { + maker.__walkDreemJSXML = function(node, pkg, parentInstance, allowNestedScreens) { var tagName = node.tag; if (tagName.startsWith('$')) { @@ -369,7 +382,7 @@ } var isScreen = tagName === 'screen'; - if (isScreen && parentInstance) { + if (isScreen && parentInstance && !allowNestedScreens) { dr.global.error.logWarn('No nesting of screen tags. Skipping instance.'); return; } @@ -431,24 +444,29 @@ mixins.push(instanceMixin); // Root Nodes need a mixin that indicates this - if (!parentInstance) { - if (klass.isDescendantOf(dr.Node)) { - if (klass.isDescendantOf(dr.View)) { - mixins.push(dr.SizeToViewport); - } else { - mixins.push(dr.RootNode); - } - } + var isDescendantOfNode = klass.isDescendantOf(dr.Node); + if (!parentInstance && isDescendantOfNode) { + if (klass.isDescendantOf(dr.View)) { + mixins.push(dr.SizeToViewport); + } else { + mixins.push(dr.RootNode); + } } combinedAttrs.classroot = this.__classroots[0] || null; - // Calls the initialize method of dr.Node - new klass(parentInstance, combinedAttrs, mixins); + // Create instance. Calls the initialize method on the instance. + if (isDescendantOfNode) { + // Create using the args for a Node. + new klass(parentInstance, combinedAttrs, mixins); + } else { + // Create using the args for an Eventable. + new klass(combinedAttrs, mixins); + } if (isScreen && instanceChildrenJson) { for (i = 0, len = instanceChildrenJson.length; len > i;) { - this.__walkDreemJSXML(instanceChildrenJson[i++], null, pkg); + this.__walkDreemJSXML(instanceChildrenJson[i++], pkg, parentInstance, allowNestedScreens); } } } @@ -493,7 +511,7 @@ staticBody = klassBody.extend = {}, klassChildrenJson, klassHandlers = [], - klassDeclaredAttrs, klassDeclaredAttrValues, + klassDeclaredAttrs, klassDeclaredAttrValues, klassDeclaredAttrMeta, i, len, childNode; if (children) { for (i = 0, len = children.length; len > i;) { @@ -512,7 +530,9 @@ if (!klassDeclaredAttrs) { klassDeclaredAttrs = {}; klassDeclaredAttrValues = {}; + klassDeclaredAttrMeta = {}; } + klassDeclaredAttrMeta[childNode.attr.name] = childNode.attr; this.__processAttribute(childNode, klassDeclaredAttrs, klassDeclaredAttrValues, staticBody); break; default: @@ -550,7 +570,7 @@ delete combinedAttrs.name; // Instances only delete combinedAttrs.id; // Instances only Klass.defaultAttrValues = combinedAttrs; - + Klass.attributes = klassDeclaredAttrMeta; // Store and return class return classTable[tagName] = Klass; }; @@ -611,7 +631,7 @@ if (mixins) { len = mixins.length; if (len > 0) { - i = 0; + var i = 0; for (; len > i;) { dr.extend(attrs, mixins[i++].defaultAttrValues); } diff --git a/docs/api/source/dreemcompiler.html b/docs/api/source/dreemcompiler.html index 18695de..e34d153 100644 --- a/docs/api/source/dreemcompiler.html +++ b/docs/api/source/dreemcompiler.html @@ -50,11 +50,11 @@ /* Concats all the childnodes of a jsonxml node*/ function concatCode(node) { - var out = '', children = node.child; - if (children) { - var i = 0, len = children.length, child; + var out = '', nodeChildren = node.child; + if (nodeChildren) { + var i = 0, len = nodeChildren.length, child; for (; i < len; i++) { - child = children[i]; + child = nodeChildren[i]; if (child.tag === '$text' || child.tag === '$cdata') out += child.value; } } @@ -160,13 +160,15 @@ exports.classnameToJS = function(name) { return name.replace(/-/g,'_'); }; - + exports.resolveFilePathStack = function(filePathStack, useRootPrefix) { var src, i = 0, len = filePathStack.length, resolvedPath = ''; for (; len > i; i++) { src = filePathStack[i]; - if (src.indexOf('/') === 0) { + if (define.isFullyQualifiedURL(src)) { + return src; + } else if (src.indexOf('/') === 0) { resolvedPath = define.expandVariables('$ROOT/' + src); } else { resolvedPath = (resolvedPath ? path.dirname(resolvedPath) + '/' : '') + define.expandVariables(src); @@ -244,11 +246,12 @@ } // ok lets compile a dreem class to a module - if (node.child) { + var nodeChildren = node.child; + if (nodeChildren) { var attributes = {}; - for (var i = 0; i < node.child.length; i++) { - var child = node.child[i], + for (var i = 0; i < nodeChildren.length; i++) { + var child = nodeChildren[i], childTagName = child.tag, childAttrs = child.attr; switch (childTagName) { @@ -258,7 +261,7 @@ var newNodes = onInclude(errors, filePathStack); console.log(filePathStack.join(' | ')); newNodes.push({tag:'$filePathStackPop'}); - node.child.splice.apply(node.child, [i, 1].concat(newNodes)); + nodeChildren.splice.apply(nodeChildren, [i, 1].concat(newNodes)); i--; } else { errors.push(new DreemError('Cant support include in this location', node.pos)); @@ -293,7 +296,8 @@ if (childTagName.startsWith('$')) { if (childTagName === '$filePathStackPop') { filePathStack.pop(); - node.child.splice(i, 1); + nodeChildren.splice(i, 1); + i--; } } else { // its our render-node var inst = this.compileInstance(child, errors, '\t\t\t', onInclude, filePathStack); @@ -379,11 +383,13 @@ } } - if (node.child) { + var nodeChildren = node.child; + if (nodeChildren) { var attributes = {}; - - for (var i = 0; i < node.child.length; i++) { - var child = node.child[i], + var usedNames = []; + + for (var i = 0; i < nodeChildren.length; i++) { + var child = nodeChildren[i], tagName = child.tag, attr = child.attr; @@ -393,7 +399,7 @@ filePathStack.push(attr.href); var newNodes = onInclude(errors, filePathStack); newNodes.push({tag:'$filePathStackPop'}); - node.child.splice.apply(node.child, [i, 1].concat(newNodes)); + nodeChildren.splice.apply(nodeChildren, [i, 1].concat(newNodes)); i--; } else { errors.push(new DreemError('Cant support include in this location', node.pos)); @@ -441,8 +447,17 @@ attrname = 'set_' + attrname; } - if (tagName == 'handler') attrname = 'handle_' + attrname; - props += attrname + ': function(' + fn.args.join(', ') + '){' + fn.comp + '}'; + if (tagName == 'handler') { + attrname = 'handle_' + attrname; + while (usedNames.indexOf(attrname) != -1) { + attrname = 'chained_' + attrname + } + usedNames.push(attrname); + if (child.origin) { + fn.comp = 'try {' + fn.comp + '} finally { if (this.chained_' + attrname + ') { this.chained_' + attrname + '(); } }' + } + } + props += attrname + ': function(' + fn.args.join(', ') + ') {' + fn.comp + '}'; } break; case 'attribute': @@ -464,7 +479,8 @@ if (tagName.startsWith('$')) { if (tagName === '$filePathStackPop') { filePathStack.pop(); - node.child.splice(i, 1); + nodeChildren.splice(i, 1); + i--; } } else { if (children) { diff --git a/docs/api/source/dropdown.html b/docs/api/source/dropdown.html new file mode 100644 index 0000000..89b0ed2 --- /dev/null +++ b/docs/api/source/dropdown.html @@ -0,0 +1,338 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +
    <!-- The MIT License (MIT)
    +
    +Copyright ( c ) 2014-2015 Teem2 LLC
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in all
    +copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +SOFTWARE. -->
    +
    +
    +<!--/**
    +   * @class dr.dropdown {UI Components}
    +   * @extends dr.view
    +   * Displays a dropdown list of items, and displays the current selection.
    +   */-->
    +
    +    <class name="dropdown" type="coffee" width="${this.listbox.safewidth}" height="auto">
    +
    +      <!--/**
    +      * @attribute {Boolean} [expanded="false"]
    +      * The listbox portion is displayed only when expanded = true
    +      */-->
    +      <attribute name="expanded" type="boolean" value="false"></attribute>
    +
    +      <!--/**
    +      * @attribute {String} [selected=""]
    +      * The currently selected element
    +      */-->
    +      <attribute name="selected" type="string" value=""></attribute>
    +
    +      <setter name="selected" args="value">
    +        return unless @listbox
    +        # Ignore the value if it is not a valid selection
    +        @listbox.select(value)
    +        current = if @listbox.selected then @listbox.selected.text else ''
    +        @setActual('selected', current, 'string')
    +      </setter>
    +
    +
    +      <!--/**
    +      * @attribute {String} [selectcolor="white"]
    +      * The color of the selected element.
    +      */-->
    +      <attribute name="selectcolor" type="string" value="white"></attribute>
    +
    +      <!--/**
    +      * @attribute {Number} [dropdownsize=5]
    +      * The number of items to display in the dropdown list.
    +      */-->
    +      <attribute name="dropdownsize" type="number" value="5"></attribute>
    +
    +      <!-- Clicking on the text region will open the listbox -->
    +      <handler event="onclick" reference="container.current">
    +        @setAttribute('expanded', true)
    +      </handler>
    +
    +      <!-- Selecting an item in the listbox will hide it -->
    +      <handler event="onselected" reference="listbox">
    +        @setAttribute('selected', @listbox.selected)
    +        @setAttribute('expanded', false)        
    +      </handler>
    +
    +
    +      <spacedlayout axis="y" spacing="0"></spacedlayout>
    +
    +
    +      <!-- Use a second text component to indicate this is a dropdown. -->
    +      <view name="container" width="${this.classroot.width}" height="${this.classroot.listbox.maxheight}">
    +        <text name="current" width="${this.classroot.width}" height="${this.classroot.listbox.maxheight}" bordercolor="black" border="1" bgcolor="${this.classroot.bgcolor}" text="${this.classroot.listbox.selected ? this.classroot.listbox.selected.text : ''}" clickable="true"></text>
    +        <text name="current" width="${this.classroot.width}" height="${this.classroot.listbox.maxheight}" text="v" opacity="0.4" textalign="right"></text>
    +      </view>
    +
    +      <listboxtext name="listbox" visible="${this.classroot.expanded}" bgcolor="${this.classroot.bgcolor}" selectcolor="${this.classroot.selectcolor}" width="${this.classroot.width}" height="${this.classroot.dropdownsize * this.maxheight}"></listboxtext>
    +
    +    </class>
    +
    +
    + + + diff --git a/docs/api/source/dropdownfont.html b/docs/api/source/dropdownfont.html new file mode 100644 index 0000000..3afa4c1 --- /dev/null +++ b/docs/api/source/dropdownfont.html @@ -0,0 +1,274 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +
    <!-- The MIT License (MIT)
    +
    +Copyright ( c ) 2014-2015 Teem2 LLC
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in all
    +copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +SOFTWARE. -->
    +
    +
    +<!--/**
    +   * @class dr.dropdownfont {UI Components}
    +   * @extends dr.dropdown
    +   * Displays a dropdown list of fonts, and displays the current selection.
    +   */-->
    +
    +    <class name="dropdownfont" extends="dropdown" type="coffee">
    +
    +      <!-- Find available fonts -->
    +      <fontdetect name="fonts"></fontdetect>
    +      <handler event='oninit'>
    +        fonts = this.fonts.fonts
    +        @listbox.items.setAttribute('data', fonts)
    +        @setAttribute('selected', fonts[0])
    +      </handler>
    +      
    +      <!-- Display the font family in the selected box -->
    +      <handler event="ontext" reference="this.container.current">
    +        family = @container.current.text
    +        @container.current.setAttribute('fontfamily', family) if family
    +      </handler>
    +
    +      <!-- Set the fontfamily of each listitem -->
    +      <handler event="onreplicated" reference="listbox.items">
    +        # Set the fontfamily for each replicated view
    +        for subview in @listbox.subviews
    +          fontfamily = subview.text
    +          subview.setAttribute('fontfamily', fontfamily)
    +
    +        @listbox.findSize()
    +      </handler>
    +
    +    </class>
    +
    +
    + + + diff --git a/docs/api/source/fontdetect.html b/docs/api/source/fontdetect.html new file mode 100644 index 0000000..e316c8c --- /dev/null +++ b/docs/api/source/fontdetect.html @@ -0,0 +1,294 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +
    <!-- The MIT License (MIT)
    +
    +Copyright ( c ) 2014-2015 Teem2 LLC
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in all
    +copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +SOFTWARE. -->
    +<!--/**
    +    * @class dr.fontdetect {UI Components}
    +    * @extends dr.view
    +    * Determine fonts that are available for use.
    +    */-->
    +
    +<class name="fontdetect" type="coffee" scriptincludes="/lib/fontdetect.js">
    +  <!--/**
    +      * @attribute {Array} [fonts=[]]
    +      * The list of fonts that can be used.
    +      */-->
    +  <attribute name="fonts" type="expression" value=""></attribute>
    +
    +  <!--/**
    +      * @attribute {Array} [additional=[]]
    +      * Additional fonts to check
    +      */-->
    +  <attribute name="additionalfonts" type="expression" value=""></attribute>
    +  <handler event="onadditionalfonts">
    +    @detect if @onadditionalfonts
    +  </handler>
    +
    +  <!--/**
    +      * @method detect
    +      * Detect fonts using a predefined list and additionalfonts
    +      */-->
    +  <method name="detect">
    +    checking = ['cursive', 'monospace', 'serif', 'fantasy', 'default', 'Arial', 'Arial Black', 'Arial Narrow', 'Arial Rounded MT Bold', 'Bookman Old Style', 'Bradley Hand ITC', 'Century', 'Century Gothic', 'Comic Sans MS', 'Courier', 'Courier New', 'Georgia', 'Gentium', 'Impact', 'King', 'Lucida Console', 'Lalit', 'Modena', 'Monotype Corsiva', 'Papyrus', 'Tahoma', 'Times', 'Times New Roman', 'Trebuchet MS', 'Verdana', 'Verona']
    +
    +    checking = checking.concat @additionalfonts if @additionalfonts
    +
    +    @fonts = []
    +    detector = new Detector()
    +    for font in checking
    +      @fonts.push(font) if detector.detect(font)
    +   
    +    @fonts = @fonts.sort (a,b) -> return if a.toUpperCase() >= b.toUpperCase() then 1 else -1
    +    #console.log('fonts', @fonts)
    +  </method>
    +
    +
    +  <handler event="oninit">
    +    @detect()
    +  </handler>
    +
    +</class>
    +
    + + + diff --git a/docs/api/source/htmlparser.html b/docs/api/source/htmlparser.html index 9a18003..b32d8bb 100644 --- a/docs/api/source/htmlparser.html +++ b/docs/api/source/htmlparser.html @@ -48,33 +48,45 @@ if(spacing === undefined) spacing = '\t' var ret = '' var child = '' + var textonly = false; if(node.child){ for(var i = 0, l = node.child.length; i<l; i++){ var sub = node.child[i] - child += this.reserialize(node.child[i], spacing, indent === undefined?'': indent + spacing) + textonly = sub.tag === '$text' + child += this.reserialize(sub, spacing, indent === undefined?'': indent + spacing) } } if(!node.tag) return child if(!node.tag.startsWith('$')){ ret += indent + '<' + node.tag var attr = node.attr - if(attr) for(var k in attr){ - var val = attr[k] - if(ret[ret.length - 1] != ' ') ret += ' ' - ret += k - var delim = "'" - if(val !== 1){ - if(val.indexOf(delim) !== -1) delim = '"' - ret += '=' + delim + val + delim + if(attr) { + for(var k in attr){ + var val = attr[k] + if(ret[ret.length - 1] != ' ') ret += ' ' + ret += k + var delim = "'" + if(val !== 1){ + if(typeof val === 'string' && val.indexOf(delim) !== -1) delim = '"' + ret += '=' + delim + val + delim + } + } + } + + if(child) { + if (textonly) { + ret += '>' + child + '</' + node.tag + '>\n' + } else { + ret += '>\n' + child + indent + '</' + node.tag + '>\n' } + } else { + ret += '/>\n' } - if(child) ret += '>\n' + child + indent + '</' + node.tag + '>\n' - else ret += '/>\n' } else{ - if(node.tag == '$text') ret += indent + node.value + '\n' + if(node.tag == '$text') ret += node.value else if(node.tag == '$cdata') ret += indent + '<![CDATA['+node.value+']]>\n' - else if(node.tag == '$comment') ret += indent + '<!--'+node.value+'-->\n' + else if(node.tag == '$comment') ret += indent + node.value+'-->\n' else if(node.tag == '$root') ret += child } return ret diff --git a/docs/api/source/labelbutton.html b/docs/api/source/labelbutton.html index 0dd684c..f8c0c8c 100644 --- a/docs/api/source/labelbutton.html +++ b/docs/api/source/labelbutton.html @@ -277,7 +277,7 @@ * @extends dr.buttonbase * Button class consisting of text centered in a view. The onclick event * is generated when the button is clicked. The visual state of the - * button changes during onmousedown/onmouseup. + * button changes during onismousedown. * * @example * <spacedlayout axis="y"></spacedlayout> @@ -297,8 +297,8 @@ @setActualAttribute('text', v) </setter> - <handler event="onmousedown" args="mousedown"> - if mousedown + <handler event="onismousedown" args="ismousedown"> + if ismousedown @visual.setAttribute('bgcolor', @selectcolor) @label.setAttribute('color', @defaultcolor) @indicator.setAttribute('fill', @defaultcolor) diff --git a/docs/api/source/listboxtext.html b/docs/api/source/listboxtext.html new file mode 100644 index 0000000..a9f9150 --- /dev/null +++ b/docs/api/source/listboxtext.html @@ -0,0 +1,412 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +
    <!-- The MIT License (MIT)
    +
    +Copyright ( c ) 2014-2015 Teem2 LLC
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in all
    +copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +SOFTWARE. -->
    +
    +
    +<!--/**
    +   * @class dr.textlistbox {UI Components}
    +   * @extends dr.view
    +   * Displays a list of items, typically text.
    +   */-->
    +
    +    <class name="listboxtext" type="coffee" width="auto" height="auto" scrollable="true" scrollbars="auto">
    +
    +      <!--/**
    +      * @attribute {String} [selectcolor="white"]
    +      * The color of the selected element.
    +      */-->
    +      <attribute name="selectcolor" type="string" value="white"></attribute>
    +
    +      <!--/**
    +          * @attribute {Number} [maxwidth=0]
    +          * The largest width of any subview.
    +          */-->
    +      <attribute name="maxwidth" value="0" type="number"></attribute>
    +
    +      <!--/**
    +          * @attribute {Number} [maxheight=0]
    +          * The largest height of any subview.
    +          */-->
    +      <attribute name="maxheight" value="0" type="number"></attribute>
    +
    +      <!--/**
    +          * @attribute {Number} [safewidth=0]
    +          * The largest width of any subview, including a scrollbar
    +          */-->
    +      <attribute name="safewidth" value="0" type="number"></attribute>
    +
    +      <!--/**
    +          * @attribute {Number} [spacing=0]
    +          * The vertical spacing between elements.
    +          */-->
    +      <attribute name="spacing" value="0" type="number"></attribute>
    +
    +      <spacedlayout axis="y" spacing="${this.parent.spacing}"></spacedlayout>
    +      <replicator name="items" classname="listboxtextitem"></replicator>
    +
    +      <handler event="onreplicated" reference="items">
    +        @findSize()
    +      </handler>
    +      
    +      <!-- Set the background color of all subviews -->
    +      <handler event="onbgcolor">
    +        for subview in @subviews
    +          subview.setAttribute('bgcolor', @bgcolor) if subview != @selected
    +      </handler>
    +
    +      <!-- Set the selected color -->
    +      <handler event="onselectcolor">
    +        @selected.setAttribute('bgcolor', @selectcolor) if @selected        
    +      </handler>
    +
    +      <!--/**
    +          * @attribute {Object}
    +          * The currently selected dr.listboxtextitem object.
    +          */-->
    +      <attribute name="selected" type="expression" value=""></attribute>
    +
    +      <!-- Unselect the current selection, and show the new selection -->
    +      <setter name="selected" args="view">
    +        @selected.setAttribute('bgcolor', @bgcolor) if @selected
    +        @setActual('selected', view, 'expression')
    +        @selected.setAttribute('bgcolor', @selectcolor) if @selected
    +      </setter>
    +
    +
    +      <!--/**
    +        * Select an item, by name. The value is ignored if missing.
    +        * @param {String} item to select.
    +        */-->
    +      <method name="select" args="value">
    +        for subview in @subviews
    +          if subview.text == value
    +            @setAttribute('selected', subview)
    +            return
    +      </method>
    +
    +
    +      <!--/**
    +        * @method findSize
    +        * Find and return the maximum [width, height] of any text field.
    +        */-->
    +      <method name="findSize">
    +        w = 0
    +        h = 0
    +        for subview in @subviews
    +          w = subview.width if subview.width > w
    +          h = subview.height if subview.height > h
    +
    +        @setAttribute('maxwidth', w);
    +        @setAttribute('maxheight', h);
    +
    +        #TODO Use the actual scrollbar size
    +        @setAttribute('safewidth', @maxwidth+32)
    +
    +        return [w,h]
    +      </method>
    +
    +    </class>
    +
    + + + diff --git a/docs/api/source/listboxtextitem.html b/docs/api/source/listboxtextitem.html new file mode 100644 index 0000000..6d685aa --- /dev/null +++ b/docs/api/source/listboxtextitem.html @@ -0,0 +1,232 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +
    <!-- The MIT License (MIT)
    +
    +Copyright ( c ) 2014-2015 Teem2 LLC
    +
    +Permission is hereby granted, free of charge, to any person obtaining a copy
    +of this software and associated documentation files (the "Software"), to deal
    +in the Software without restriction, including without limitation the rights
    +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    +copies of the Software, and to permit persons to whom the Software is
    +furnished to do so, subject to the following conditions:
    +
    +The above copyright notice and this permission notice shall be included in all
    +copies or substantial portions of the Software.
    +
    +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    +SOFTWARE. -->
    +
    +
    +<!--/**
    +   * @class dr.textlistboxitem {UI Components}
    +   * @extends dr.text
    +   * A textlistboxitem is an element in the dr.textlistbox component.
    +   * Most events are forwarded to its parent component.
    +   */-->
    +
    +    <class name="listboxtextitem" extends="text" cursor="pointer" clickable="true" type="coffee">
    +      <!-- Forward click requests to the parent -->
    +      <handler event="onclick">
    +        @parent.setAttribute('selected', @)
    +      </handler>
    +    </class>
    +
    + + + diff --git a/docs/api/source/orderundoable.html b/docs/api/source/orderundoable.html new file mode 100644 index 0000000..823e126 --- /dev/null +++ b/docs/api/source/orderundoable.html @@ -0,0 +1,276 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.orderundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that updates the lexical order of a view.
    +  */-->
    +<class name="editor-orderundoable" extends="editor-undoable"
    +  undodescription='Undo change order of view.'
    +  redodescription='Redo change order of view.'
    +>
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The target object that will be moved.
    +    */-->
    +  <attribute name="target" type="expression" value=""></attribute>
    +
    +  <!--/**
    +    * @attribute {expression} [oldprevsibling]
    +    * The view the target view begins in front of.
    +    */-->
    +  <attribute name="oldprevsibling" type="object" value="undefined"></attribute>
    +
    +  <!--/**
    +    * @attribute {expression} [newprevsibling]
    +    * The view the target view ends up in front of.
    +    */-->
    +  <attribute name="newprevsibling" type="object" value="undefined"></attribute>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      if (this.oldprevsibling) {
    +        this.target.moveInFrontOf(this.oldprevsibling);
    +      } else {
    +        this.target.moveToBack();
    +      }
    +    } else {
    +      dr.global.error.notifyWarn('invalidUndo', "Invalid undo in orderundoable.");
    +    }
    +    return this.super();
    +  </method>
    +
    +  <method name="redo" args="callback">
    +    if (this.done) {
    +      dr.global.error.notifyWarn('invalidRedo', "Invalid redo in orderundoable.");
    +    } else {
    +      if (this.newprevsibling) {
    +        this.target.moveInFrontOf(this.newprevsibling);
    +      } else {
    +        this.target.moveToBack();
    +      }
    +    }
    +    return this.super();
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/pluginloader.html b/docs/api/source/pluginloader.html new file mode 100644 index 0000000..c05aebe --- /dev/null +++ b/docs/api/source/pluginloader.html @@ -0,0 +1,176 @@ + + + + + The source code + + + + + + +
    /*
    + The MIT License (see LICENSE)
    + Copyright (C) 2014-2015 Teem2 LLC
    + */
    +/**
    + * @class PluginLoader {Internal}
    + * Holder of the dreem <plugin> for the server
    + * Manages all iOT objects and the BusServer for each Plugin
    + */
    +define(function(require, exports, module) {
    +    module.exports = PluginLoader;
    +
    +    var path = require('path'),
    +        fs = require('fs'),
    +
    +        HTMLParser = require('./htmlparser'),
    +        DreemError = require('./dreemerror');
    +
    +    function PluginLoader(args, teemserver) {
    +        this.teemServer = teemserver;
    +        this.args = args;
    +        this.plugins = {};
    +
    +        this.__findPlugins();
    +    }
    +
    +    body.call(PluginLoader.prototype);
    +
    +    function body() {
    +
    +        this.__findPlugins = function() {
    +            var pluginDirs = this.args['-plugin'];
    +            if (!Array.isArray(pluginDirs)) {
    +                pluginDirs = [pluginDirs]
    +            }
    +
    +            var errors = [];
    +            for (var i=0;i<pluginDirs.length;i++) {
    +                var dir = path.resolve(pluginDirs[i]);
    +                if (fs.existsSync(dir + '/index.dre')) {
    +                    if (!define['PLUGIN']) {
    +                        define['PLUGIN'] = [];
    +                    }
    +                    define['PLUGIN'].push(dir + '/node_modules/');
    +                    this.__loadPlugin(dir, errors);
    +                }
    +            }
    +
    +            this.extractedObjects = this.__extractObjects(this.plugins);
    +        };
    +
    +        this.inject = function (composition) {
    +            var objects = composition.child;
    +            if (objects) {
    +                for (var i=this.extractedObjects.length - 1;i >=0;i--) {
    +                    var obj = this.extractedObjects[i];
    +
    +                    var matchingTag = undefined;
    +                    for (var j=0;j<objects.length;j++) {
    +                        if (objects[j].tag == obj.tag) {
    +                            matchingTag = objects[j];
    +                            break;
    +                        }
    +                    }
    +
    +                    if (matchingTag) {
    +                        var children = matchingTag.child;
    +                        if (!children) {
    +                            children = matchingTag.child = [];
    +                        }
    +                        var toCopy = obj.child;
    +                        for (j=0;j<toCopy.length;j++) {
    +                            children.unshift(toCopy[j]);
    +                        }
    +                    } else {
    +                        objects.unshift(obj);
    +                    }
    +                }
    +            }
    +        };
    +
    +        this.__extractObjects = function (plugins) {
    +
    +            var objects = [];
    +            for (var n in plugins) {
    +                var plugin = plugins[n];
    +                var root = plugin.child;
    +                if (root && root.length > 0) {
    +                    var children = root[0].child;
    +                    for (var j=0;j<children.length;j++) {
    +                        objects.push(children[j])
    +                    }
    +                }
    +            }
    +            return objects;
    +        };
    +
    +        this.__originate = function (obj, name) {
    +            if (obj.tag) {
    +                obj['origin'] = name;
    +            }
    +            if (obj.child) {
    +                for (var i = 0;i<obj.child.length;i++) {
    +                    var child = obj.child[i];
    +                    this.__originate(child, name);
    +                }
    +            }
    +        };
    +
    +        this.__loadPlugin = function (dir, errors) {
    +            console.log('Found plugin in dir:', dir);
    +
    +            try {
    +                var drefile = dir + '/index.dre';
    +                var data = fs.readFileSync(drefile);
    +
    +                var htmlParser = new HTMLParser();
    +                var source = data.toString();
    +                var plugin = htmlParser.parse(source);
    +                plugin.rootDir = dir;
    +
    +                // forward the parser errors
    +                if (htmlParser.errors.length) {
    +                    htmlParser.errors.map(function(e) {
    +                        errors.push(new DreemError("HTML Parser Error: " + e.message, e.where));
    +                    });
    +                }
    +
    +                plugin.source = source;
    +
    +                if (fs.existsSync(dir + '/package.json')) {
    +                    plugin.pkg = require(dir + '/package.json');
    +                }
    +                if (!plugin.pkg) {
    +                    plugin.pkg = {}
    +                }
    +                if (!plugin.pkg.name) {
    +                    //if no package grab the last directory and use it as the plugin name
    +                    var match = /([^\/])+\/?$/.exec(dir);
    +                    if (match.length) {
    +                        plugin.pkg.name = match[0];
    +                    }
    +                }
    +
    +                this.__originate(plugin, plugin.pkg.name);
    +
    +                this.plugins[plugin.pkg.name] = plugin;
    +
    +            } catch(e) {
    +                errors.push(new DreemError("Error during readFileSync in __loadPlugin: " + e.toString()));
    +            }
    +
    +        };
    +
    +    }
    +
    +});
    + + diff --git a/docs/api/source/replicator.html b/docs/api/source/replicator.html index b251aa6..f25a8e4 100644 --- a/docs/api/source/replicator.html +++ b/docs/api/source/replicator.html @@ -436,35 +436,6 @@ 282 283 284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298 -299 -300 -301 -302 -303 -304 -305 -306 -307 -308 -309 -310 -311 -312 -313
    <!-- The MIT License (MIT)
     
    @@ -638,12 +609,6 @@
             */-->
           <attribute name="pooling" value="false" type="boolean"></attribute>
     
    -      <!--/**
    -        * @attribute {Boolean} [async=true]
    -        * If true, create views asynchronously
    -        */-->
    -      <attribute name="async" value="false" type="boolean"></attribute>
    -
           <!--/**
             * @attribute {Array} [data=[]]
             * A list of items to replicate. If {@link #path path} is set, a {@link #datapath datapath} will be used to look up the value.
    @@ -659,8 +624,8 @@
               unless @_datapath?
                 @_datapath = new dr.datapath(@parent)
                 @listenTo(@_datapath, 'onresult', (data) =>
    -              @setAttribute('data', data)
    -              #console.log('data callback', data, @)
    +              @setAttribute('data', data) #unless data == dr.datapath._arrayidentity
    +              # console.log('data callback', data, @)
                 )
                 # console.log('new datapath', @_datapath)
               @_datapath.setAttribute('path', datapath)
    @@ -672,8 +637,6 @@
             */-->
           <attribute name="classname" value="" type="string"></attribute>
     
    -      <handler event="onclassname,ondata,oninit" method="applyData"></handler>
    -
           <handler event="ondestroy" method="clear"></handler>
     
           <method name="updateData" args="data">
    @@ -682,15 +645,8 @@
             @dataset.updateData(@datapath.replace(re, ''), data);
           </method>
     
    -      <!--/**
    -        * @method refresh
    -        * Refreshes the dataset manually
    -        */-->
    -      <method name="refresh">
    -        this.applyData()
    -      </method>
    -
           <method name="clear">
    +        @_lockLayouts(true)
             # @parent.setAttribute('display', 'none')
             if @children
               for child in @children
    @@ -698,33 +654,31 @@
                 child.destroy()
             @children = []
             # @parent.setAttribute('display', null)
    +        @_lockLayouts(false)
           </method>
     
    -      <method name="applyData">
    +      <method name="_lockLayouts" args="locked">
    +        if @parent.layouts
    +          for layout in @parent.layouts
    +            layout.setAttribute('locked', locked)
    +      </method>
    +
    +      <!--/**
    +        * @event onreplicated
    +        * Fired when the replicator is done
    +        * @param {dr.replicator} replicator The dr.replicator that fired the event
    +        */-->
    +      <handler event="onclassname,ondata,oninit">
             return unless @inited and @parent
             unless @classname
               console.warn 'missing classname for replicator', @
               return
    -        # console.log('applyData', @data, @classname, @parent, @children, @, @inited)
    +        # console.log('_applyData', @data, @classname, @parent, @children, @, @inited)
     
             unless dr.lookupClass(@classname)
               console.warn 'missing class for replicator', @classname, 'skipping replication'
               return
     
    -        if @data.length > @lazycount
    -          setTimeout(() =>
    -            @doReplication()
    -          , 0);
    -        else
    -          @doReplication()
    -      </method>
    -
    -      <!--/**
    -        * @event onreplicated
    -        * Fired when the replicator is done
    -        * @param {dr.replicator} replicator The dr.replicator that fired the event
    -        */-->
    -      <method name="doReplication">
             return if @locked
             return unless @data and @data != dr.replicator._arrayidentity
     
    @@ -736,9 +690,7 @@
               @locked = locked
               return
     
    -        if @parent.layouts
    -          for layout in @parent.layouts
    -            layout.setAttribute('locked', true)
    +        @_lockLayouts(true)
     
             #console.log @data.length
             @children ?= []
    @@ -764,20 +716,10 @@
                 @children.push(@createChild({class: @classname, data: datum, parent: @parent, replicator: @}))
                 # console.log 'replicator created', @classname, @children[@children.length - 1]
     
    -        finalize = () =>
    -          # init constraints for all children created
    -          # dr.initConstraints()
    -          if @parent.layouts
    -            for layout in @parent.layouts
    -              layout.setAttribute('locked', false) # Updates automatically since the layout was already locked.
    -          @locked = locked
    -          @sendEvent('onreplicated', @)
    -
    -        if @async
    -          dr.idle.callOnIdle(finalize)
    -        else
    -          finalize()
    -      </method>
    +        @_lockLayouts(false)
    +        @locked = locked
    +        @sendEvent('onreplicated', @)
    +      </handler>
         </class>
    diff --git a/docs/api/source/resizelayout.html b/docs/api/source/resizelayout.html index cf4aa37..acc6c59 100644 --- a/docs/api/source/resizelayout.html +++ b/docs/api/source/resizelayout.html @@ -419,7 +419,7 @@ return @super() </method> - <method name="updateParent" args="attribute, value"> + <method name="updateParent" args="attribute, value, count"> # No resizing of parent since this view expands to fill the parent. </method> </class> diff --git a/docs/api/source/saucerunner.html b/docs/api/source/saucerunner.html new file mode 100644 index 0000000..917fc1f --- /dev/null +++ b/docs/api/source/saucerunner.html @@ -0,0 +1,66 @@ + + + + + The source code + + + + + + +
    /*
    + The MIT License (see LICENSE)
    + Copyright (C) 2014-2015 Teem2 LLC
    + */
    +/**
    + * @class BusServer {}
    + * Holds a set of server side sockets for broadcast
    + */
    +define(function(require, exports, module) {
    +  module.exports = SauceRunner;
    +
    +  var fs = require('fs'),
    +    path = require('path');
    +
    +  function SauceRunner() {
    +  };
    +
    +  body.call(SauceRunner.prototype);
    +
    +  function body() {
    +
    +    /**
    +     * @method getHTML
    +     * generates the sauce runner HTML with all of the smoke tests
    +     */
    +    this.getHTML = function(htmlTemplatePath) {
    +      console.log('saucerunner getHTML');
    +//      var filePath = path.join(define.expandVariables(define.ROOT), '/saucerunner.html');
    +//      var filename = dreemroot + '/saucerunner.html';
    +      var html = fs.readFileSync(htmlTemplatePath, "utf8");
    +
    +      var smokePath = path.join(define.expandVariables(define.ROOT), '/compositions/smoke');
    +      var files = fs.readdirSync(smokePath);
    +      var str = '';
    +      for (var i=0, l=files.length; i<l; i++) {
    +        var fileName = files[i];
    +        if(fileName.match(/\.dre/i)){
    +          if(str) str += ","
    +          str += '"http://localhost:8080/compositions/smoke/'+fileName+'?test"'
    +        }
    +      }
    +      var out = html.replace(/DYNAMIC_FILES = null/,'DYNAMIC_FILES = [' + str + ']')
    +      return out;
    +    }
    +  }
    +})
    +
    + + diff --git a/docs/api/source/spacedlayout.html b/docs/api/source/spacedlayout.html index 0e517b3..5015a83 100644 --- a/docs/api/source/spacedlayout.html +++ b/docs/api/source/spacedlayout.html @@ -334,6 +334,9 @@ 180 181 182 +183 +184 +185
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    @@ -508,13 +511,16 @@
         return value + view[@__measureAttrName] + @__spacingAfter
       </method>
       
    -  <method name="updateParent" args="attribute, value">
    +  <method name="updateParent" args="attribute, value, count">
         # Resize the parent to the last returned value from updateLayout plus
         # the outset less spacing since updateSubview added an extra spacing.
         # Also allow for the difference between innersize and size due to border 
         # and padding.
         parent = @parent
    -    @__positionView(parent, @__parentAttrName, value + @outset - @__spacingAfter + parent[@__parentAttrName] - parent[@__innerAttrName])
    +    if count is 0
    +      @__positionView(parent, @__parentAttrName, parent[@__parentAttrName] - parent[@__innerAttrName])
    +    else
    +      @__positionView(parent, @__parentAttrName, value + @outset - @__spacingAfter + parent[@__parentAttrName] - parent[@__innerAttrName])
       </method>
     </class>
     
    diff --git a/docs/api/source/sprite.html b/docs/api/source/sprite.html index 601903f..fdb4e6d 100644 --- a/docs/api/source/sprite.html +++ b/docs/api/source/sprite.html @@ -182,7 +182,9 @@ }(), preventDefault: function(platformEvent) { - platformEvent.preventDefault(); + if (typeof platformEvent.preventDefault === 'function') { + platformEvent.preventDefault(); + } }, // Focus Management diff --git a/docs/api/source/teemserver.html b/docs/api/source/teemserver.html index 42b7220..25727d1 100644 --- a/docs/api/source/teemserver.html +++ b/docs/api/source/teemserver.html @@ -36,7 +36,9 @@ ExternalApps = require('$CORE/externalapps'), BusServer = require('$CORE/busserver'), CompositionServer = require('$CORE/compositionserver'), - NodeWebSocket = require('$CORE/nodewebsocket'); + PluginLoader = require('./pluginloader'), + NodeWebSocket = require('$CORE/nodewebsocket'), + SauceRunner = require('$CORE/saucerunner'); // Create a function to determine a mime type for a file. var mimeFromFile = (function() { @@ -117,6 +119,10 @@ }.bind(this)) if (this.args['-web']) this.__getComposition(this.args['-web']); + + this.saucerunner = new SauceRunner(); + + this.pluginLoader = new PluginLoader(this.args, this.name, this); } body.call(TeemServer.prototype) @@ -143,7 +149,7 @@ // Strip Query var queryIndex = url.indexOf('?'); if (queryIndex !== -1) url = url.substring(0, queryIndex); - + if (url.endsWith(define.DREEM_EXTENSION)) { url = url.substring(0, url.length - define.DREEM_EXTENSION.length); @@ -163,7 +169,7 @@ } }; - /** + /** * Handle protocol upgrade to WebSocket * @param {Request} req * @param {Socket} sock @@ -214,6 +220,7 @@ res.end(); } else { res.writeHead(404); + res.write('FILE NOT FOUND'); res.end(); console.color('~br~Error~y~ ' + filePath + '~~ In teemserver.js request handling. File not found, returning 404\n'); } @@ -224,21 +231,28 @@ "ETag": stat.mtime.getTime() + '_' + stat.ctime.getTime() + '_' + stat.size }; - this.watcher.watch(filePath); - - if (req.headers['if-none-match'] == header.ETag) { - res.writeHead(304, header); - res.end(); - } else { - var stream = fs.createReadStream(filePath); + if (filePath.indexOf('saucerunner') !== -1) { + var sauceRunnerHTML = this.saucerunner.getHTML(filePath); res.writeHead(200, header); - stream.pipe(res); + res.end(sauceRunnerHTML); + } else { + this.watcher.watch(filePath); + + if (req.headers['if-none-match'] == header.ETag) { + res.writeHead(304, header); + res.end(); + } else { + var stream = fs.createReadStream(filePath); + res.writeHead(200, header); + stream.pipe(res); + } } } }.bind(this)); } }; } -}) +}); + diff --git a/docs/api/source/text.html b/docs/api/source/text.html index e9efe90..272c7d7 100644 --- a/docs/api/source/text.html +++ b/docs/api/source/text.html @@ -358,6 +358,17 @@ 204 205 206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    @@ -445,6 +456,17 @@
           if @inited then @sizeToPlatform()
       </setter>
     
    +  <!--/**
    +        * @attribute {Number} [textalign=""]
    +        * Align text within its bounds. Supported values are 
    +        * 'left', 'right', 'center' and 'inherit'.
    +        */-->
    +  <attribute name="textalign" type="string" value=""></attribute>
    +  <setter name="textalign" args="v">
    +    if @setActual('textalign', v, 'string', '')
    +      if @inited then @sizeToPlatform()
    +  </setter>
    +
       <!--/**
             * @attribute {Boolean} [bold=false]
             * Use bold text.
    diff --git a/docs/api/source/text3.html b/docs/api/source/text3.html
    index 6b14972..df62273 100644
    --- a/docs/api/source/text3.html
    +++ b/docs/api/source/text3.html
    @@ -86,6 +86,11 @@
             * @attribute {Number} [fontfamily=""]
             * The name of the font family to use, e.g. "Helvetica"  Include multiple fonts on a line, separated by commas.
             */
    +/**
    +        * @attribute {Number} [textalign=""]
    +        * Align text within its bounds. Supported values are 
    +        * 'left', 'right', 'center' and 'inherit'.
    +        */
     /**
             * @attribute {Boolean} [bold=false]
             * Use bold text.
    diff --git a/docs/api/source/undoable.html b/docs/api/source/undoable.html
    new file mode 100644
    index 0000000..d9ac05c
    --- /dev/null
    +++ b/docs/api/source/undoable.html
    @@ -0,0 +1,356 @@
    +
    +
    +
    +  
    +  CodeRay output
    +  
    +
    +
    +
    +
    +  
    +  
    +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.undoable {UI Components}
    +  * @extends dr.eventable
    +  * @abstract
    +  * An object that encapsulates doing and undoing a change. Typically this
    +  * change would be on a target object of some sort, but that is really
    +  * up to the specific implementation.
    +  *
    +  * When an undoable is in either the "done" or "undone" state. The "done"
    +  * state means the change has been applied and the "undone" state means
    +  * that it has not been applied. An undoable always starts out in the
    +  * undone state when it is created.
    +  *
    +  * Typically an undoable will be added to an editor-undostack and will
    +  * be managed through that object.
    +  */-->
    +<class name="editor-undoable" extends="eventable">
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Boolean} [done]
    +    * @readonly
    +    * Indicates if this undoable is in the "done" or "undone" state.
    +    * Undoables begin in the undone state.
    +    */-->
    +  <attribute name="done" type="boolean" value="false"></attribute>
    +
    +  <!--/**
    +    * @attribute {String} [undodescription]
    +    * A human readable representation of the undoable. The description
    +    * should describe what will be undone when the undoable is
    +    * executed.
    +    */-->
    +  <attribute name="undodescription" type="string" value=""></attribute>
    +
    +  <!--/**
    +    * @attribute {String} [redodescription]
    +    * A human readable representation of the undoable. The description
    +    * should describe what will be done/redone when the undoable is
    +    * executed.
    +    */-->
    +  <attribute name="redodescription" type="string" value=""></attribute>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method getUndoDescription
    +    * Gets a human readable description of this undoable for use when it
    +    * can be undone.
    +    * @returns {String} The human readable string.
    +    */-->
    +  <method name="getUndoDescription">
    +    return this.undodescription;
    +  </method>
    +
    +  <!--/**
    +    * @method getRedoDescription
    +    * Gets a human readable description of this undoable for use when it
    +    * can be done.
    +    * @returns {String} The human readable string.
    +    */-->
    +  <method name="getRedoDescription">
    +    return this.redodescription;
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * Rolls back this undoable if it is in the done state. Sets the "done"
    +    * attribute to false if successfull.
    +    * @param {Function} callback An optional function that will be executed if 
    +    * undo succeeds. The undoable is passed in as an argument to the callback.
    +    * @returns {this}
    +    */-->
    +  <method name="undo" args="callback">
    +    if (this.done) {
    +      this.setAttribute('done', false);
    +      if (callback && typeof callback === 'function') callback(this);
    +    }
    +    return this;
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * Rolls forward this undoable if it is in the undone state. Sets the "done"
    +    * attribute to true if successfull.
    +    * @param {Function} callback An optional function that will be executed if 
    +    * redo succeeds. The undoable is passed in as an argument to the callback.
    +    * @returns {this}
    +    */-->
    +  <method name="redo" args="callback">
    +    if (!this.done) {
    +      this.setAttribute('done', true);
    +      if (callback && typeof callback === 'function') callback(this);
    +    }
    +    return this;
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/undostack.html b/docs/api/source/undostack.html new file mode 100644 index 0000000..e2f2891 --- /dev/null +++ b/docs/api/source/undostack.html @@ -0,0 +1,664 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +  * @class dr.editor.undostack {UI Components}
    +  * @extends dr.node
    +  * Provides a stack of undoables that can be done/undone. As undoables
    +  * are done/undone a position in the stack is maintained.
    +  *
    +  * This object should be used to form the foundation of an undo/redo system
    +  * for an editor.
    +  */-->
    +<class name="editor-undostack" extends="node"
    +  requires="editor-compoundundoable editor-attrundoable editor-orderundoable editor-createundoable editor-deleteundoable"
    +>
    +  <!--// LIFE CYCLE /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method initNode
    +    * @overrides
    +    * Initializes the undostack by calling reset.
    +    */-->
    +  <method name="initNode" args="parent, attrs">
    +    this.reset();
    +    this.super();
    +  </method>
    +
    +
    +  <!--// ATTRIBUTES /////////////////////////////////////////////////////////-->
    +  <attribute name="isundoable" type="boolean" value="false"/>
    +  <attribute name="isredoable" type="boolean" value="false"/>
    +
    +
    +  <!--// METHODS ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method reset
    +    * Clears out this undostack and destroys any undoables contained within
    +    * the undostack at the time of this method call.
    +    * @returns {this}
    +    */-->
    +  <method name="reset">
    +    var stack = this.__stack || (this.__stack = []);
    +    while (stack.length) stack.pop().destroy();
    +    this.__stackLoc = -1;
    +    
    +    this.__syncUndoabilityAttrs();
    +    
    +    return this;
    +  </method>
    +
    +  <!--/**
    +    * @method __syncUndoabilityAttrs
    +    * @private
    +    */-->
    +  <method name="__syncUndoabilityAttrs">
    +    this.setAttribute('isundoable', this.canUndo());
    +    this.setAttribute('isredoable', this.canRedo());
    +  </method>
    +
    +  <!--/**
    +    * @method canUndo
    +    * Determines if there is anything to undo based on the current location
    +    * within the undo stack. If the current stack location is at the start
    +    * then there is nothing to be undone.
    +    * @returns {Boolean}
    +    */-->
    +  <method name="canUndo">
    +    return this.__stackLoc >= 0;
    +  </method>
    +
    +  <!--/**
    +    * @method canRedo
    +    * Determines if there is anything to redo based on the current location
    +    * within the undo stack. If the current stack location is at the end
    +    * then there is nothing to be done.
    +    * @returns {Boolean}
    +    */-->
    +  <method name="canRedo">
    +    return this.__stack.length - 1 > this.__stackLoc;
    +  </method>
    +
    +  <!--/**
    +    * @method getUndoDescription
    +    * Gets the human readable undo description of the undoable that will be
    +    * executed if the undo method of this undostack is called.
    +    * @returns {String}
    +    */-->
    +  <method name="getUndoDescription">
    +    if (this.canUndo()) {
    +      return this.__stack[this.__stackLoc].getUndoDescription();
    +    } else {
    +      return '';
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method getRedoDescription
    +    * Gets the human readable redo description of the undoable that will be
    +    * executed if the redo method of this undostack is called.
    +    * @returns {String}
    +    */-->
    +  <method name="getRedoDescription">
    +    if (this.canRedo()) {
    +      return this.__stack[this.__stackLoc + 1].getRedoDescription();
    +    } else {
    +      return '';
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method do
    +    * Adds the undoable to this stack at the current location and immediately
    +    * does that undoable. Also removes and destroys any undoables that exist
    +    * at or after this location in the undo stack.
    +    *
    +    * If the attempt to do the undoable triggers an error the undoable will
    +    * have its undo method called and the undoable will not be added to the
    +    * undostack.
    +    *
    +    * Undoables already in the done state will be rejected and the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {dr.editor.undoable} undoable The undoable to add.
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the provided undoable is succesfully done. The callback
    +    * is executed only once, not every time the undoable is redone. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying to do add or do the undoable. An
    +    * error object is provided to the callback which may consist of a msg and
    +    * stacktrace, or a native error object.
    +    * @returns {Boolean} Indicates if the undoable was added succesfully or
    +    * not.
    +    */-->
    +  <method name="do" args="undoable, callback, errorHandler">
    +    if (!undoable || undoable.done) {
    +      if (errorHandler && typeof errorHandler === 'function') errorHandler({msg:'Undoable already done.'});
    +    } else {
    +      var error = this.__executeUndoable(undoable, callback, true);
    +      if (error) {
    +        // Rollback since an error occurred.
    +        var undoError = this.__executeUndoable(undoable, callback, false);
    +        if (errorHandler && typeof errorHandler === 'function') {
    +          errorHandler(error);
    +          if (undoError) errorHandler(err);
    +        }
    +      } else {
    +        ++this.__stackLoc;
    +        var stack = this.__stack,
    +          loc = this.__stackLoc;
    +        while (stack.length > loc) stack.pop().destroy();
    +        stack.push(undoable);
    +        this.__syncUndoabilityAttrs();
    +        return true;
    +      }
    +    }
    +    return false;
    +  </method>
    +
    +  <!--/**
    +    * @method undo
    +    * Executes the undo method of the undoable at the current undo stack 
    +    * location.
    +    *
    +    * If the attempt to undo the undoable triggers an error the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the current undoable is succesfully undone. The callback
    +    * is executed only once, not every time the undoable is undone. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying undo the undoable. An error object is 
    +    * provided to the callback which may consist of a msg and stacktrace, or 
    +    * a native error object.
    +    * @returns {Boolean} Indicates if the undoable was successfully 
    +    * undone or not.
    +    */-->
    +  <method name="undo" args="callback, errorHandler">
    +    if (this.canUndo()) {
    +      var error = this.__executeUndoable(this.__stack[this.__stackLoc--], callback, false);
    +      if (error) {
    +        ++this.__stackLoc;
    +        if (errorHandler && typeof errorHandler === 'function') errorHandler(err);
    +      } else {
    +        this.__syncUndoabilityAttrs();
    +        return true;
    +      }
    +    }
    +    return false;
    +  </method>
    +
    +  <!--/**
    +    * @method redo
    +    * Executes the redo method of the undoable at the current undo stack 
    +    * location.
    +    *
    +    * If the attempt to redo the undoable triggers an error the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the current undoable is succesfully done. The callback
    +    * is executed only once, not every time the undoable is done. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying redo the undoable. An error object is 
    +    * provided to the callback which may consist of a msg and stacktrace, or 
    +    * a native error object.
    +    * @returns {Boolean} Indicates if the undoable was successfully done or not.
    +    */-->
    +  <method name="redo" args="callback, errorHandler">
    +    if (this.canRedo()) {
    +      var error = this.__executeUndoable(this.__stack[++this.__stackLoc], callback, true);
    +      if (error) {
    +        --this.__stackLoc;
    +        if (errorHandler && typeof errorHandler === 'function') errorHandler(err);
    +      } else {
    +        this.__syncUndoabilityAttrs();
    +        return true;
    +      }
    +    }
    +    return false;
    +  </method>
    +
    +  <!--/**
    +    * @method __executeUndoable
    +    * @private
    +    * Executes the undoable and returns an error if one occured.
    +    */-->
    +  <method name="__executeUndoable" args="undoable, callback, isRedo">
    +    // Listen for expected errors while doing the undoable.
    +    var error,
    +      expectedErrorHandler = new dr.Eventable(null, [{
    +        handleError: function(event) {error = event;}
    +      }]);
    +    expectedErrorHandler.listenTo(dr.global.error, 'onall', 'handleError');
    +    
    +    // Do the undoable
    +    try {
    +      if (isRedo) {
    +        undoable.redo(callback);
    +      } else {
    +        undoable.undo(callback);
    +      }
    +    } catch (err) {
    +      // Catch unexpected errors
    +      error = err;
    +    }
    +    
    +    expectedErrorHandler.destroy();
    +    
    +    return error;
    +  </method>
    +</class>
    +
    + + + diff --git a/docs/api/source/variablelayout.html b/docs/api/source/variablelayout.html index 1c2c80b..5f67ee5 100644 --- a/docs/api/source/variablelayout.html +++ b/docs/api/source/variablelayout.html @@ -393,6 +393,7 @@ 239 240 241 +242
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    @@ -438,7 +439,7 @@
           *             view.setAttribute('x', count % 2 === 0 ? 5 : 10);
           *             return value + view.height + 1;
           *         </method>
    -      *         <method name="updateParent" args="attribute, value">
    +      *         <method name="updateParent" args="attribute, value, count">
           *             this.parent.setAttribute('height', value + 10);
           *         </method>
           *     </variablelayout>
    @@ -461,7 +462,7 @@
           *             view.setAttribute('x', count % 2 === 0 ? 5 : 10);
           *             return value + view.height + 1;
           *         </method>
    -      *         <method name="updateParent" args="attribute, value">
    +      *         <method name="updateParent" args="attribute, value, count">
           *             this.parent.setAttribute('height', value + 10);
           *         </method>
           *         <method name="startMonitoringSubview" args="view">
    @@ -596,9 +597,10 @@
         * implement this if they want to modify the parent view.
         * @param {String} attribute The name of the attribute to update.
         * @param {*} value The value to set on the parent.
    +    * @param {Number} count The number of views that were layed out.
         * @return {void}
         */-->
    -  <method name="updateParent" args="attribute, value">
    +  <method name="updateParent" args="attribute, value, count">
         # Subclasses to implement as needed.
       </method>
     
    @@ -630,7 +632,7 @@
     
           @doAfterUpdate(value)
     
    -      if @updateparent then @updateParent(attribute, value)
    +      if @updateparent then @updateParent(attribute, value, count)
     
           @locked = false
       </method>
    diff --git a/docs/api/source/wrappinglayout.html b/docs/api/source/wrappinglayout.html
    index 1461033..c86a89a 100644
    --- a/docs/api/source/wrappinglayout.html
    +++ b/docs/api/source/wrappinglayout.html
    @@ -988,7 +988,7 @@
         @sendEvent('onmaxsize', @maxsize)
       </method>
       
    -  <method name="updateParent" args="attribute, value">
    +  <method name="updateParent" args="attribute, value, count">
         # Resize the parent and allow for the difference between innersize and size
         # due to border and padding.
         parent = @parent
    diff --git a/docs/categories.json b/docs/categories.json
    index 27e6dca..876c983 100644
    --- a/docs/categories.json
    +++ b/docs/categories.json
    @@ -1 +1 @@
    -[{"name":"Dreem Classes","groups":[{"name":"All Classes","classes":["Eventable","dr","dr.*"]},{"name":"Internal","classes":["BusClient","BusServer","CompositionServer","DreemCompiler","DreemError","NodeWebSocket","RunMonitor","TeemServer","parser.Compiler","parser.Error","parser.HTMLParser"]},{"name":"Core Dreem","classes":["Eventable","dr.node"]},{"name":"Layout","classes":["dr.alignlayout","dr.constantlayout","dr.layout","dr.resizelayout","dr.spacedlayout","dr.variablelayout","dr.wrappinglayout"]},{"name":"UI Components","classes":["dr.bitmap","dr.buttonbase","dr.checkbutton","dr.expectedoutput","dr.indicator","dr.inputtext","dr.labelbutton","dr.labeltoggle","dr.markup","dr.rangeslider","dr.sizetoplatform","dr.slider","dr.style","dr.testingtimer","dr.text","dr.videoplayer","dr.view","dr.webpage"]},{"name":"Util","classes":["DaliGen"]},{"name":"Data","classes":["dr.datapath","dr.dataset","dr.replicator"]},{"name":"Input","classes":["dr.inputtext"]},{"name":"Media Components","classes":["dr.videoplayer"]}]}]
    \ No newline at end of file
    +[{"name":"Dreem Classes","groups":[{"name":"All Classes","classes":["Eventable","dr","dr.*"]},{"name":"Internal","classes":["BusClient","BusServer","CompositionServer","DreemCompiler","DreemError","NodeWebSocket","PluginLoader","RunMonitor","TeemServer","parser.Compiler","parser.Error","parser.HTMLParser"]},{"name":"Core Dreem","classes":["Eventable","dr.node"]},{"name":"Layout","classes":["dr.alignlayout","dr.constantlayout","dr.layout","dr.resizelayout","dr.spacedlayout","dr.variablelayout","dr.wrappinglayout"]},{"name":"UI Components","classes":["dr.bitmap","dr.buttonbase","dr.checkbutton","dr.dropdown","dr.dropdownfont","dr.expectedoutput","dr.fontdetect","dr.indicator","dr.inputtext","dr.labelbutton","dr.labeltoggle","dr.markup","dr.rangeslider","dr.sizetoplatform","dr.slider","dr.style","dr.testingtimer","dr.text","dr.textlistbox","dr.textlistboxitem","dr.videoplayer","dr.view","dr.webpage"]},{"name":"Util","classes":["DaliGen"]},{"name":"Data","classes":["dr.datapath","dr.dataset","dr.replicator"]},{"name":"Input","classes":["dr.inputtext"]},{"name":"Media Components","classes":["dr.videoplayer"]}]}]
    \ No newline at end of file
    diff --git a/docs/classdocs/activateable.js b/docs/classdocs/activateable.js
    new file mode 100644
    index 0000000..17d6322
    --- /dev/null
    +++ b/docs/classdocs/activateable.js
    @@ -0,0 +1,10 @@
    +/**
    +   * @mixin dr.activateable {UI Behavior}
    +   * Adds the capability for an dr.View to be "activated". A doActivated method
    +   * is added that gets called when the view is "activated".
    +   */
    +/**
    +    * @method doActivated
    +    * Called when this view should be activated.
    +    * @returns {void}
    +    */
    diff --git a/docs/classdocs/attrundoable.js b/docs/classdocs/attrundoable.js
    new file mode 100644
    index 0000000..df3a09e
    --- /dev/null
    +++ b/docs/classdocs/attrundoable.js
    @@ -0,0 +1,64 @@
    +/**
    +  * @class dr.editor.attrundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that updates an attribute on a target object that
    +  * has support for the setAttribute method as defined in dr.AccessorSupport
    +  * such as dr.node and dr.view.
    +  */
    +/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The target object that will have setAttribute called on it.
    +    */
    +/**
    +    * @attribute {String} [attribute]
    +    * The name of the attribute to update.
    +    */
    +/**
    +    * @attribute {expression} [oldvalue]
    +    * The undone value of the attribute. If not provided the current value
    +    * of the attribute on the target object will be stored the first time
    +    * redo is executed.
    +    */
    +/**
    +    * @attribute {expression} [newvalue]
    +    * The done value of the attribute.
    +    */
    +/**
    +    * @method setAttribute
    +    * @overrides
    +    * Prevent resolution of constraints since the values we wish to store
    +    * for oldvalue and newvalue will often be the string value of a
    +    * constraint.
    +    */
    +/**
    +    * @method getUndoDescription
    +    * @overrides
    +    * Gets the undo description using the value of the undodescription
    +    * attribute as a text template which will have the this.attribute, 
    +    * this.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate
    +    * for more info on how text templates work.
    +    */
    +/**
    +    * @method getRedoDescription
    +    * @overrides
    +    * Gets the redo description using the value of the redodescription
    +    * attribute as a text template which will have the this.attribute, 
    +    * this.oldvalue and this.newvalue injected into it. See dr.fillTextTemplate
    +    * for more info on how text templates work.
    +    */
    +/**
    +    * @method __getDescription
    +    * @private
    +    */
    +/**
    +    * @method undo
    +    * @overrides
    +    * Sets the attribute on the target object to the oldvalue.
    +    */
    +/**
    +    * @method redo
    +    * @overrides
    +    * Sets the attribute on the target object to the newvalue. Also stores
    +    * the current value of the target object as the oldvalue if this is the
    +    * first time redo is called successfully.
    +    */
    diff --git a/docs/classdocs/bitmap.js b/docs/classdocs/bitmap.js
    index 5361c9e..c585631 100644
    --- a/docs/classdocs/bitmap.js
    +++ b/docs/classdocs/bitmap.js
    @@ -37,6 +37,11 @@
           * If set to true the bitmap will be sized to the width/height of the
           * bitmap data in pixels.
           */
    +/**
    +      * @attribute {String} [repeat='no-repeat']
    +      * Determines if the image will be repeated within the bounds.
    +      * Supported values are 'no-repeat', 'repeat', 'repeat-x' and 'repeat-y'.
    +      */
     /**
         * @attribute {String} [window='']
         * A window (section) of the image is displayed by specifying four,
    diff --git a/docs/classdocs/button.js b/docs/classdocs/button.js
    index 8b13789..29b35e4 100644
    --- a/docs/classdocs/button.js
    +++ b/docs/classdocs/button.js
    @@ -1 +1,42 @@
    -
    +/**
    +   * @mixin dr.button {UI Behavior}
    +   * Provides button functionality to a dr.View. Most of the functionality 
    +   * comes from the mixins included by this mixin. This mixin resolves issues 
    +   * that arise when the various mixins are used together.
    +   * 
    +   * By default dr.Button instances are focusable.
    +   */
    +/**
    +    * @method drawDisabledState
    +    * @abstract
    +    * Draw the UI when the component is in the disabled state.
    +    * @returns {void}
    +    */
    +/**
    +    * @method drawFocusedState
    +    * Draw the UI when the component has focus. The default implementation
    +    * calls drawHoverState.
    +    * @returns {void}
    +    */
    +/**
    +    * @method drawHoverState
    +    * @abstract
    +    * Draw the UI when the component is on the verge of being interacted 
    +    * with. For mouse interactions this corresponds to the over state.
    +    * @returns {void}
    +    */
    +/**
    +    * @method drawActiveState
    +    * @abstract
    +    * Draw the UI when the component has a pending activation. For mouse
    +    * interactions this corresponds to the down state.
    +    * @returns {void}
    +    */
    +/**
    +    * @method drawReadyState
    +    * @abstract
    +    * Draw the UI when the component is ready to be interacted with. For
    +    * mouse interactions this corresponds to the enabled state when the
    +    * mouse is not over the component.
    +    * @returns {void}
    +    */
    diff --git a/docs/classdocs/buttonbase.js b/docs/classdocs/buttonbase.js
    index 01da274..984ce4f 100644
    --- a/docs/classdocs/buttonbase.js
    +++ b/docs/classdocs/buttonbase.js
    @@ -10,13 +10,13 @@
        * that is inside the button.
        *
        * The following example shows a subclass that has a plain view as the visual 
    -   * element, and sets selected to true onmousedown. The selectcolor is 
    +   * element, and sets selected to true onismousedown. The selectcolor is 
        * automatically applied when selected is true.
        * 
        *     @example
        *     
    -   *        
    -   *          this.setAttribute('selected', mousedown)
    +   *        
    +   *          this.setAttribute('selected', ismousedown)
        *        
        *     
        *     
    diff --git a/docs/classdocs/compoundundoable.js b/docs/classdocs/compoundundoable.js
    new file mode 100644
    index 0000000..f7f14cb
    --- /dev/null
    +++ b/docs/classdocs/compoundundoable.js
    @@ -0,0 +1,31 @@
    +/**
    +  * @class dr.editor.compoundundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that combines multiple undoables into a single group that can
    +  * be done/undone as one. Use the add method to add undoables to this
    +  * compoundundoable.
    +  *
    +  * The contained undoables will be done in the order they were added and
    +  * undone in the reverse order they were added.
    +  */
    +/**
    +    * @method destroy
    +    * @overrides
    +    * Destroys this undoable and all the undoables contained within it.
    +    */
    +/**
    +    * @method add
    +    * Adds an undoable to this dr.editor.compoundundoable.
    +    * @param {dr.editor.undoable} undoable The undoable to add.
    +    * @returns {this}
    +    */
    +/**
    +    * @method undo
    +    * @overrides
    +    * Undoes all the contained undoables.
    +    */
    +/**
    +    * @method undo
    +    * @overrides
    +    * Does all the contained undoables.
    +    */
    diff --git a/docs/classdocs/createundoable.js b/docs/classdocs/createundoable.js
    new file mode 100644
    index 0000000..0d63f8c
    --- /dev/null
    +++ b/docs/classdocs/createundoable.js
    @@ -0,0 +1,23 @@
    +/**
    +  * @class dr.editor.createundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that Inserts a new node into a parent node.
    +  */
    +/**
    +    * @method destroy
    +    * @overrides
    +    */
    +/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The new node/view to add.
    +    */
    +/**
    +    * @method undo
    +    * @overrides
    +    * Removes the target from its parent.
    +    */
    +/**
    +    * @method redo
    +    * @overrides
    +    * Inserts the target into the target parent.
    +    */
    diff --git a/docs/classdocs/deleteundoable.js b/docs/classdocs/deleteundoable.js
    new file mode 100644
    index 0000000..3257a14
    --- /dev/null
    +++ b/docs/classdocs/deleteundoable.js
    @@ -0,0 +1,23 @@
    +/**
    +  * @class dr.editor.deleteundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that Inserts a new node into a parent node.
    +  */
    +/**
    +    * @method destroy
    +    * @overrides
    +    */
    +/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The node/view to remove.
    +    */
    +/**
    +    * @method undo
    +    * @overrides
    +    * Reinserts the target.
    +    */
    +/**
    +    * @method redo
    +    * @overrides
    +    * Removes the target from its parent.
    +    */
    diff --git a/docs/classdocs/disableable.js b/docs/classdocs/disableable.js
    new file mode 100644
    index 0000000..a8669a7
    --- /dev/null
    +++ b/docs/classdocs/disableable.js
    @@ -0,0 +1,19 @@
    +/**
    +   * @mixin dr.disableable {UI Behavior}
    +   * Adds the capability to be "disabled" to a dr.Node. When a dr.Node is 
    +   * disabled the user should typically not be able to interact with it.
    +   *
    +   * When disabled becomes true an attempt will be made to give away the focus
    +   * using dr.View's giveAwayFocus method.
    +   */
    +/**
    +    * @attribute {Boolean} disabled
    +    * Indicates that this component is disabled.
    +    */
    +/**
    +    * @method doDisabled
    +    * Called after the disabled attribute is set. Default behavior attempts
    +    * to give away focus and calls the updateUI method of dr.UpdateableUI if 
    +    * it is defined.
    +    * @returns {void}
    +    */
    diff --git a/docs/classdocs/draggable.js b/docs/classdocs/draggable.js
    index 8b13789..e648dc8 100644
    --- a/docs/classdocs/draggable.js
    +++ b/docs/classdocs/draggable.js
    @@ -1 +1,82 @@
    -
    +/**
    +   * @mixin dr.draggable {UI Behavior}
    +   * Makes an dr.View draggable via the mouse.
    +   * 
    +   * Also supresses context menus since the mouse down to open it causes bad
    +   * behavior since a mouseup event is not always fired.
    +   */
    +/**
    +    * @attribute {Boolean} isdraggable
    +    * Configures the view to be draggable or not.
    +    */
    +/**
    +    * @attribute {Boolean} isdragging
    +    * Indicates that this view is currently being dragged.
    +    */
    +/**
    +    * @attribute {Boolean} allowabort
    +    * Allows a drag to be aborted by the user by pressing the 'esc' key.
    +    */
    +/**
    +    * @attribute {Boolean} centeronmouse
    +    * If true this draggable will update the draginitx and draginity to keep 
    +    * the view centered on the mouse.
    +    */
    +/**
    +    * @attribute {Number} distancebeforedrag
    +    * The distance, in pixels, before a mouse down and drag is considered a 
    +    * drag action.
    +    */
    +/**
    +    * @attribute {String} dragaxis
    +    * Limits dragging to a single axis. Supported values: 'x', 'y', 'both'.
    +    */
    +/** @overrides dr.disableable */
    +/**
    +    * @method getDragViews
    +    * Returns an array of views that can be moused down on to start the
    +    * drag. Subclasses should override this to return an appropriate list
    +    * of views. By default this view is returned thus making the entire
    +    * view capable of starting a drag.
    +    * @returns {Array} 
    +    */
    +/** @private */
    +/** @private */
    +/** @private */
    +/** @private */
    +/**
    +    * @method startDrag
    +    * Active until stopDrag is called. The view position will be bound
    +    * to the mouse position. Subclasses typically call this onmousedown for
    +    * subviews that allow dragging the view.
    +    * @param {Object} event The event the mouse event when the drag started.
    +    * @returns {void} 
    +    */
    +/**
    +    * @method updateDrag
    +    * Called on every mousemove event while dragging.
    +    * @returns {void} 
    +    */
    +/** @private */
    +/**
    +    * @method updatePosition
    +    * Repositions the view to the provided values. The default implementation
    +    * is to directly set x and y. Subclasses should override this method
    +    * when it is necessary to constrain the position.
    +    * @param {Number} x the new x position.
    +    * @param {Number} y the new y position.
    +    * @returns {void} 
    +    */
    +/**
    +    * @method stopDrag
    +    * Stop the drag. (see startDrag for more details)
    +    * @param {Object} event The event that ended the drag.
    +    * @param {Boolean} isAbort Indicates if the drag ended normally or was aborted.
    +    * @returns {void} 
    +    */
    +/** @private */
    +/**
    +    * @method getDistanceFromOriginalLocation
    +    * Gets the distance dragged from the location of the start of the drag.
    +    * @returns {Number} 
    +    */
    diff --git a/docs/classdocs/dropdown.js b/docs/classdocs/dropdown.js
    new file mode 100644
    index 0000000..e1a91a8
    --- /dev/null
    +++ b/docs/classdocs/dropdown.js
    @@ -0,0 +1,21 @@
    +/**
    +   * @class dr.dropdown {UI Components}
    +   * @extends dr.view
    +   * Displays a dropdown list of items, and displays the current selection.
    +   */
    +/**
    +      * @attribute {Boolean} [expanded="false"]
    +      * The listbox portion is displayed only when expanded = true
    +      */
    +/**
    +      * @attribute {String} [selected=""]
    +      * The currently selected element
    +      */
    +/**
    +      * @attribute {String} [selectcolor="white"]
    +      * The color of the selected element.
    +      */
    +/**
    +      * @attribute {Number} [dropdownsize=5]
    +      * The number of items to display in the dropdown list.
    +      */
    diff --git a/docs/classdocs/dropdownfont.js b/docs/classdocs/dropdownfont.js
    new file mode 100644
    index 0000000..80cf73b
    --- /dev/null
    +++ b/docs/classdocs/dropdownfont.js
    @@ -0,0 +1,5 @@
    +/**
    +   * @class dr.dropdownfont {UI Components}
    +   * @extends dr.dropdown
    +   * Displays a dropdown list of fonts, and displays the current selection.
    +   */
    diff --git a/docs/classdocs/fontdetect.js b/docs/classdocs/fontdetect.js
    new file mode 100644
    index 0000000..9ad46a1
    --- /dev/null
    +++ b/docs/classdocs/fontdetect.js
    @@ -0,0 +1,17 @@
    +/**
    +    * @class dr.fontdetect {UI Components}
    +    * @extends dr.view
    +    * Determine fonts that are available for use.
    +    */
    +/**
    +      * @attribute {Array} [fonts=[]]
    +      * The list of fonts that can be used.
    +      */
    +/**
    +      * @attribute {Array} [additional=[]]
    +      * Additional fonts to check
    +      */
    +/**
    +      * @method detect
    +      * Detect fonts using a predefined list and additionalfonts
    +      */
    diff --git a/docs/classdocs/keyactivation.js b/docs/classdocs/keyactivation.js
    new file mode 100644
    index 0000000..24939fd
    --- /dev/null
    +++ b/docs/classdocs/keyactivation.js
    @@ -0,0 +1,57 @@
    +/**
    +   * @mixin dr.keyactivation {UI Behavior}
    +   * Provides keyboard handling to "activate" the component when a key is 
    +   * pressed down or released up. By default, when a keyup event occurs for
    +   * an activation key and this view is not disabled, the 'doActivated' method
    +   * will get called.
    +   */
    +/**
    +    * The default activation keys are enter (13) and spacebar (32).
    +    */
    +/**
    +    * @attribute {Array} activationkeys
    +    * An array of chars The keys that when keyed down will activate this 
    +    * component. Note: The value is not copied so modification of the array 
    +    * outside the scope of this object will effect behavior.
    +    */
    +/**
    +    * @attribute {Number} activateKeyDown
    +    * @readonly
    +    * The keycode of the activation key that is currently down. This will 
    +    * be -1 when no key is down.
    +    */
    +/**
    +    * @attribute {Boolean} repeatkeydown
    +    * Indicates if doActivationKeyDown will be called for repeated keydown 
    +    * events or not.
    +    */
    +/** @private */
    +/** @private */
    +/** @private */
    +/**
    +    * @method doBlur
    +    * @overrides dr.view
    +    * @returns {void} 
    +    */
    +/**
    +    * @method doActivationKeyDown
    +    * @abstract
    +    * Called when an activation key is pressed down.
    +    * @param {Number} key the keycode that is down.
    +    * @param {Boolean} isRepeat Indicates if this is a key repeat event or not.
    +    * @returns {void} 
    +    */
    +/**
    +    * @method doActivationKeyUp
    +    * Called when an activation key is release up. This executes the 
    +    * 'doActivated' method by default. 
    +    * @param {Number} key the keycode that is up.
    +    * @returns {void} 
    +    */
    +/**
    +    * @method doActivationKeyAborted
    +    * @abstract
    +    * Called when focus is lost while an activation key is down.
    +    * @param {Number} key the keycode that is down.
    +    * @returns {void} 
    +    */
    diff --git a/docs/classdocs/labelbutton.js b/docs/classdocs/labelbutton.js
    index 402187f..f600e2d 100644
    --- a/docs/classdocs/labelbutton.js
    +++ b/docs/classdocs/labelbutton.js
    @@ -3,7 +3,7 @@
        * @extends dr.buttonbase
        * Button class consisting of text centered in a view. The onclick event
        * is generated when the button is clicked. The visual state of the
    -   * button changes during onmousedown/onmouseup.
    +   * button changes during onismousedown.
        *
        *     @example
        *     
    diff --git a/docs/classdocs/listboxtext.js b/docs/classdocs/listboxtext.js
    new file mode 100644
    index 0000000..e4dbb97
    --- /dev/null
    +++ b/docs/classdocs/listboxtext.js
    @@ -0,0 +1,37 @@
    +/**
    +   * @class dr.textlistbox {UI Components}
    +   * @extends dr.view
    +   * Displays a list of items, typically text.
    +   */
    +/**
    +      * @attribute {String} [selectcolor="white"]
    +      * The color of the selected element.
    +      */
    +/**
    +          * @attribute {Number} [maxwidth=0]
    +          * The largest width of any subview.
    +          */
    +/**
    +          * @attribute {Number} [maxheight=0]
    +          * The largest height of any subview.
    +          */
    +/**
    +          * @attribute {Number} [safewidth=0]
    +          * The largest width of any subview, including a scrollbar
    +          */
    +/**
    +          * @attribute {Number} [spacing=0]
    +          * The vertical spacing between elements.
    +          */
    +/**
    +          * @attribute {Object}
    +          * The currently selected dr.listboxtextitem object.
    +          */
    +/**
    +        * Select an item, by name. The value is ignored if missing.
    +        * @param {String} item to select.
    +        */
    +/**
    +        * @method findSize
    +        * Find and return the maximum [width, height] of any text field.
    +        */
    diff --git a/docs/classdocs/listboxtextitem.js b/docs/classdocs/listboxtextitem.js
    new file mode 100644
    index 0000000..56cd5f9
    --- /dev/null
    +++ b/docs/classdocs/listboxtextitem.js
    @@ -0,0 +1,6 @@
    +/**
    +   * @class dr.textlistboxitem {UI Components}
    +   * @extends dr.text
    +   * A textlistboxitem is an element in the dr.textlistbox component.
    +   * Most events are forwarded to its parent component.
    +   */
    diff --git a/docs/classdocs/mousedown.js b/docs/classdocs/mousedown.js
    new file mode 100644
    index 0000000..13b5b44
    --- /dev/null
    +++ b/docs/classdocs/mousedown.js
    @@ -0,0 +1,47 @@
    +/**
    +   * @mixin dr.mousedown {UI Behavior}
    +   * Provides an 'ismousedown' attribute that tracks mouse up/down state.
    +   * 
    +   * Suggested: dr.updateableui and dr.activateable super mixins.
    +   */
    +/**
    +    * @attribute {Boolean} ismousedown
    +    * Indicates if the mouse is down or not.
    +    */
    +/**
    +    * @overrides dr.disableable
    +    */
    +/**
    +    * @method doMouseOver
    +    * @overrides dr.mouseover
    +    */
    +/**
    +    * @method doMouseOut
    +    * @overrides dr.mouseover
    +    */
    +/**
    +    * @method doMouseDown
    +    * Called when the mouse is down on this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @return {void}
    +    */
    +/**
    +    * @method doMouseUp
    +    * Called when the mouse is up on this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @return {void}
    +    */
    +/**
    +    * @method doMouseUpInside
    +    * Called when the mouse is up and we are still over the view. Executes
    +    * the 'doActivated' method by default.
    +    * @param {Object} event
    +    * @return {void}
    +    */
    +/**
    +    * @method doMouseUpOutside
    +    * Called when the mouse is up and we are not over the view. Fires
    +    * an 'onmouseupoutside' event.
    +    * @param {Object} event
    +    * @return {void}
    +    */
    diff --git a/docs/classdocs/mouseover.js b/docs/classdocs/mouseover.js
    new file mode 100644
    index 0000000..643f60a
    --- /dev/null
    +++ b/docs/classdocs/mouseover.js
    @@ -0,0 +1,39 @@
    +/**
    +   * @mixin dr.mouseover {UI Behavior}
    +   * Provides an 'ismouseover' attribute that tracks mouse over/out state. Also
    +   * provides a mechanism to smoothe over/out events so only one call to
    +   * 'doSmoothMouseOver' occurs per onidle event.
    +   */
    +/**
    +    * @attribute {Boolean} ismouseover
    +    * Indicates if the mouse is over this view or not.
    +    */
    +/**
    +    * @overrides dr.disableable
    +    */
    +/** @private */
    +/**
    +    * @method doSmoothMouseOver
    +    * Called when ismouseover state changes. This method is called after
    +    * an event filtering process has reduced frequent over/out events
    +    * originating from the dom.
    +    * @param {Boolean} isOver
    +    * @return {void}
    +    */
    +/**
    +    * @method trigger
    +    * @overrides
    +    * Try to update the UI immediately if an event was triggered programatically.
    +    */
    +/**
    +    * @method doMouseOver
    +    * Called when the mouse is over this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @returns {void}
    +    */
    +/**
    +    * @method doMouseOut
    +    * Called when the mouse leaves this view. Subclasses must call call super.
    +    * @param {Object} event
    +    * @returns {void}
    +    */
    diff --git a/docs/classdocs/mouseoveranddown.js b/docs/classdocs/mouseoveranddown.js
    new file mode 100644
    index 0000000..cd5a35d
    --- /dev/null
    +++ b/docs/classdocs/mouseoveranddown.js
    @@ -0,0 +1,4 @@
    +/**
    +   * @mixin dr.mouseoveranddown {UI Behavior}
    +   * Provides both MouseOver and MouseDown mixins as a single mixin.
    +   */
    diff --git a/docs/classdocs/orderundoable.js b/docs/classdocs/orderundoable.js
    new file mode 100644
    index 0000000..3e0d267
    --- /dev/null
    +++ b/docs/classdocs/orderundoable.js
    @@ -0,0 +1,17 @@
    +/**
    +  * @class dr.editor.orderundoable {UI Components}
    +  * @extends dr.editor.undoable
    +  * An undoable that updates the lexical order of a view.
    +  */
    +/**
    +    * @attribute {dr.AccessorSupport} [target]
    +    * The target object that will be moved.
    +    */
    +/**
    +    * @attribute {expression} [oldprevsibling]
    +    * The view the target view begins in front of.
    +    */
    +/**
    +    * @attribute {expression} [newprevsibling]
    +    * The view the target view ends up in front of.
    +    */
    diff --git a/docs/classdocs/replicator.js b/docs/classdocs/replicator.js
    index 3fad6c7..6ff7f1c 100644
    --- a/docs/classdocs/replicator.js
    +++ b/docs/classdocs/replicator.js
    @@ -145,10 +145,6 @@
             * @attribute {Boolean} [pooling=false]
             * If true, reuse views when replicating.
             */
    -/**
    -        * @attribute {Boolean} [async=true]
    -        * If true, create views asynchronously
    -        */
     /**
             * @attribute {Array} [data=[]]
             * A list of items to replicate. If {@link #path path} is set, a {@link #datapath datapath} will be used to look up the value.
    @@ -161,10 +157,6 @@
             * @attribute {String} classname (required)
             * The name of the class to be replicated.
             */
    -/**
    -        * @method refresh
    -        * Refreshes the dataset manually
    -        */
     /**
             * @event onreplicated
             * Fired when the replicator is done
    diff --git a/docs/classdocs/text.js b/docs/classdocs/text.js
    index 0e3f56d..fa85cd0 100644
    --- a/docs/classdocs/text.js
    +++ b/docs/classdocs/text.js
    @@ -69,6 +69,11 @@
             * @attribute {Number} [fontfamily=""]
             * The name of the font family to use, e.g. "Helvetica"  Include multiple fonts on a line, separated by commas.
             */
    +/**
    +        * @attribute {Number} [textalign=""]
    +        * Align text within its bounds. Supported values are 
    +        * 'left', 'right', 'center' and 'inherit'.
    +        */
     /**
             * @attribute {Boolean} [bold=false]
             * Use bold text.
    diff --git a/docs/classdocs/undoable.js b/docs/classdocs/undoable.js
    new file mode 100644
    index 0000000..f9836ce
    --- /dev/null
    +++ b/docs/classdocs/undoable.js
    @@ -0,0 +1,62 @@
    +/**
    +  * @class dr.editor.undoable {UI Components}
    +  * @extends dr.eventable
    +  * @abstract
    +  * An object that encapsulates doing and undoing a change. Typically this
    +  * change would be on a target object of some sort, but that is really
    +  * up to the specific implementation.
    +  *
    +  * When an undoable is in either the "done" or "undone" state. The "done"
    +  * state means the change has been applied and the "undone" state means
    +  * that it has not been applied. An undoable always starts out in the
    +  * undone state when it is created.
    +  *
    +  * Typically an undoable will be added to an editor-undostack and will
    +  * be managed through that object.
    +  */
    +/**
    +    * @attribute {Boolean} [done]
    +    * @readonly
    +    * Indicates if this undoable is in the "done" or "undone" state.
    +    * Undoables begin in the undone state.
    +    */
    +/**
    +    * @attribute {String} [undodescription]
    +    * A human readable representation of the undoable. The description
    +    * should describe what will be undone when the undoable is
    +    * executed.
    +    */
    +/**
    +    * @attribute {String} [redodescription]
    +    * A human readable representation of the undoable. The description
    +    * should describe what will be done/redone when the undoable is
    +    * executed.
    +    */
    +/**
    +    * @method getUndoDescription
    +    * Gets a human readable description of this undoable for use when it
    +    * can be undone.
    +    * @returns {String} The human readable string.
    +    */
    +/**
    +    * @method getRedoDescription
    +    * Gets a human readable description of this undoable for use when it
    +    * can be done.
    +    * @returns {String} The human readable string.
    +    */
    +/**
    +    * @method undo
    +    * Rolls back this undoable if it is in the done state. Sets the "done"
    +    * attribute to false if successfull.
    +    * @param {Function} callback An optional function that will be executed if 
    +    * undo succeeds. The undoable is passed in as an argument to the callback.
    +    * @returns {this}
    +    */
    +/**
    +    * @method undo
    +    * Rolls forward this undoable if it is in the undone state. Sets the "done"
    +    * attribute to true if successfull.
    +    * @param {Function} callback An optional function that will be executed if 
    +    * redo succeeds. The undoable is passed in as an argument to the callback.
    +    * @returns {this}
    +    */
    diff --git a/docs/classdocs/undostack.js b/docs/classdocs/undostack.js
    new file mode 100644
    index 0000000..61a7a0e
    --- /dev/null
    +++ b/docs/classdocs/undostack.js
    @@ -0,0 +1,117 @@
    +/**
    +  * @class dr.editor.undostack {UI Components}
    +  * @extends dr.node
    +  * Provides a stack of undoables that can be done/undone. As undoables
    +  * are done/undone a position in the stack is maintained.
    +  *
    +  * This object should be used to form the foundation of an undo/redo system
    +  * for an editor.
    +  */
    +/**
    +    * @method initNode
    +    * @overrides
    +    * Initializes the undostack by calling reset.
    +    */
    +/**
    +    * @method reset
    +    * Clears out this undostack and destroys any undoables contained within
    +    * the undostack at the time of this method call.
    +    * @returns {this}
    +    */
    +/**
    +    * @method __syncUndoabilityAttrs
    +    * @private
    +    */
    +/**
    +    * @method canUndo
    +    * Determines if there is anything to undo based on the current location
    +    * within the undo stack. If the current stack location is at the start
    +    * then there is nothing to be undone.
    +    * @returns {Boolean}
    +    */
    +/**
    +    * @method canRedo
    +    * Determines if there is anything to redo based on the current location
    +    * within the undo stack. If the current stack location is at the end
    +    * then there is nothing to be done.
    +    * @returns {Boolean}
    +    */
    +/**
    +    * @method getUndoDescription
    +    * Gets the human readable undo description of the undoable that will be
    +    * executed if the undo method of this undostack is called.
    +    * @returns {String}
    +    */
    +/**
    +    * @method getRedoDescription
    +    * Gets the human readable redo description of the undoable that will be
    +    * executed if the redo method of this undostack is called.
    +    * @returns {String}
    +    */
    +/**
    +    * @method do
    +    * Adds the undoable to this stack at the current location and immediately
    +    * does that undoable. Also removes and destroys any undoables that exist
    +    * at or after this location in the undo stack.
    +    *
    +    * If the attempt to do the undoable triggers an error the undoable will
    +    * have its undo method called and the undoable will not be added to the
    +    * undostack.
    +    *
    +    * Undoables already in the done state will be rejected and the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {dr.editor.undoable} undoable The undoable to add.
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the provided undoable is succesfully done. The callback
    +    * is executed only once, not every time the undoable is redone. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying to do add or do the undoable. An
    +    * error object is provided to the callback which may consist of a msg and
    +    * stacktrace, or a native error object.
    +    * @returns {Boolean} Indicates if the undoable was added succesfully or
    +    * not.
    +    */
    +/**
    +    * @method undo
    +    * Executes the undo method of the undoable at the current undo stack 
    +    * location.
    +    *
    +    * If the attempt to undo the undoable triggers an error the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the current undoable is succesfully undone. The callback
    +    * is executed only once, not every time the undoable is undone. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying undo the undoable. An error object is 
    +    * provided to the callback which may consist of a msg and stacktrace, or 
    +    * a native error object.
    +    * @returns {Boolean} Indicates if the undoable was successfully 
    +    * undone or not.
    +    */
    +/**
    +    * @method redo
    +    * Executes the redo method of the undoable at the current undo stack 
    +    * location.
    +    *
    +    * If the attempt to redo the undoable triggers an error the errorHandler
    +    * (if provided) will be executed.
    +    *
    +    * @param {Function} callback An optional argument that if provided will
    +    * be called when the current undoable is succesfully done. The callback
    +    * is executed only once, not every time the undoable is done. The
    +    * undoable is provided as an argument to the callback.
    +    * @param {Function} errorHandler An optional argument that if provided will
    +    * be called if an error occurs trying redo the undoable. An error object is 
    +    * provided to the callback which may consist of a msg and stacktrace, or 
    +    * a native error object.
    +    * @returns {Boolean} Indicates if the undoable was successfully done or not.
    +    */
    +/**
    +    * @method __executeUndoable
    +    * @private
    +    * Executes the undoable and returns an error if one occured.
    +    */
    diff --git a/docs/classdocs/updateableui.js b/docs/classdocs/updateableui.js
    new file mode 100644
    index 0000000..899d518
    --- /dev/null
    +++ b/docs/classdocs/updateableui.js
    @@ -0,0 +1,12 @@
    +/**
    +   * @mixin dr.updateableui {UI Behavior}
    +   * Adds an udpateUI method that should be called to update the UI. Various
    +   * mixins will rely on the updateUI method to trigger visual updates.
    +   */
    +/**
    +    * @method updateUI
    +    * @abstract
    +    * Updates the UI whenever a change occurs that requires a visual update.
    +    * Subclasses should implement this as needed.
    +    * @returns {void}
    +    */
    diff --git a/docs/classdocs/variablelayout.js b/docs/classdocs/variablelayout.js
    index 3f16ea2..3d75b16 100644
    --- a/docs/classdocs/variablelayout.js
    +++ b/docs/classdocs/variablelayout.js
    @@ -40,7 +40,7 @@
           *             view.setAttribute('x', count % 2 === 0 ? 5 : 10);
           *             return value + view.height + 1;
           *         
    -      *         
    +      *         
           *             this.parent.setAttribute('height', value + 10);
           *         
           *     
    @@ -63,7 +63,7 @@
           *             view.setAttribute('x', count % 2 === 0 ? 5 : 10);
           *             return value + view.height + 1;
           *         
    -      *         
    +      *         
           *             this.parent.setAttribute('height', value + 10);
           *         
           *         
    @@ -166,5 +166,6 @@
         * implement this if they want to modify the parent view.
         * @param {String} attribute The name of the attribute to update.
         * @param {*} value The value to set on the parent.
    +    * @param {Number} count The number of views that were layed out.
         * @return {void}
         */
    diff --git a/docs/guides.json b/docs/guides.json
    index a1a6889..37d18c1 100644
    --- a/docs/guides.json
    +++ b/docs/guides.json
    @@ -1 +1 @@
    -[{"title":"Dreem Guides","items":[{"name":"constraints","url":"guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem."},{"name":"debug","url":"guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem  "},{"name":"packages","url":"guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system"},{"name":"startingwithdreem","url":"guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r"},{"name":"subclassing","url":"guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language"}]}]
    \ No newline at end of file
    +[{"title":"Dreem Guides","items":[{"name":"constraints","url":"guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem."},{"name":"debug","url":"guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem  "},{"name":"packages","url":"guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system"},{"name":"plugins","url":"guides/plugins","title":"Dreem Plugin Guide","description":"This introduction to building plugins in Dreem."},{"name":"startingwithdreem","url":"guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r"},{"name":"subclassing","url":"guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language"}]}]
    \ No newline at end of file
    diff --git a/docs/guides/plugins/README.md b/docs/guides/plugins/README.md
    new file mode 100644
    index 0000000..fd94d2f
    --- /dev/null
    +++ b/docs/guides/plugins/README.md
    @@ -0,0 +1,61 @@
    +# Dreem Plugin Guide
    +
    +[//]: # This introduction to building plugins in Dreem.
    +
    +Plugins allow you to provide additional classes and server behavior to a composition.  The structure of a plugin is almost 
    +identical composition (though typically without `` tags), and is contained within the `` tag.  
    +Plugins are added to the server at startup with one or more `-plugin /path/to/plugin/` command line switches, like so:
    +
    +    node ./server.js -plugin ../plugins/teem-sample_component/ -plugin ../plugins/soundcloud/
    +
    +## Directory Structure
    +
    +    ./index.dre - the main plugin code
    +    ./package.json - names the plugin and provides for a dependencies
    +    ./node_modules/ - node modules that plugin depends on
    +    ./examples/*.dre - optional example compositions that use the plugin
    +    
    +The examples will automatically be mounted at `/plugins/plugin-name/examples/filename.dre`
    +    
    +## Plugin File Structure
    +
    +Here is a sample index.dre (explained in more detail below):
    +
    +    
    +      
    +        
    +          
    +          
    +            if (val) {
    +              dr.teem.server.request(val).then((function (ret) {
    +                this.setAttribute('response', ret);
    +              }).bind(this));
    +            }
    +            return val;
    +          
    +              
    +        
    +      
    +    
    +      
    +        
    +          this.__srequest = require('$PLUGIN/sync-request');
    +        
    +        
    +          if (/^https?:.*/.test(url)) {
    +            try {
    +              var res = this.__srequest('GET', url);
    +              var body = res.getBody().toString();
    +              return body;
    +            } catch(err) {
    +              return ['[ERROR]', err.message].join(' ');
    +            }
    +          } else {
    +            return "Cannot parse URL:" + url;
    +          }
    +        
    +      
    +    
    +
    +This plugin provides a simple "webrequest" object which can be used in compositions to have the server fetch web pages
    +from a given URL in it's `src` attribute, which is then stored in it's `response` attribute.
    \ No newline at end of file
    
    From 6233e45d2963a8d3c379cd32525414338229707e Mon Sep 17 00:00:00 2001
    From: gnovos 
    Date: Mon, 27 Jul 2015 15:04:58 -0700
    Subject: [PATCH 4/5] more docs
    
    ---
     core/pluginloader.js                          |   3 +-
     .../data-4a543d7d078c3f954b43376d15934fb1.js  |   1 -
     .../data-a37746aac934b3d2a6c0cdbec3ea731a.js  |   1 +
     docs/api/index.html                           |   7 +-
     docs/api/output/Compiler.js                   |   2 +-
     docs/api/output/PluginLoader.js               |   2 +-
     docs/api/output/dr.bitmap.js                  |   2 +-
     docs/api/output/dr.buttonbase.js              |   2 +-
     docs/api/output/dr.checkbutton.js             |   2 +-
     docs/api/output/dr.dropdown.js                |   2 +-
     docs/api/output/dr.dropdownfont.js            |   2 +-
     docs/api/output/dr.floatingpanel.js           |   1 +
     docs/api/output/dr.fontdetect.js              |   2 +-
     docs/api/output/dr.indicator.js               |   2 +-
     docs/api/output/dr.inputtext.js               |   2 +-
     docs/api/output/dr.labelbutton.js             |   2 +-
     docs/api/output/dr.labeltoggle.js             |   2 +-
     docs/api/output/dr.markup.js                  |   2 +-
     docs/api/output/dr.rangeslider.js             |   2 +-
     docs/api/output/dr.slider.js                  |   2 +-
     docs/api/output/dr.text.js                    |   2 +-
     docs/api/output/dr.textlistbox.js             |   2 +-
     docs/api/output/dr.textlistboxitem.js         |   2 +-
     docs/api/output/dr.videoplayer.js             |   2 +-
     docs/api/output/dr.view.js                    |   2 +-
     docs/api/output/dr.webpage.js                 |   2 +-
     docs/api/output/global.js                     |   2 +-
     docs/api/source/GlobalDragManager.html        | 243 +++++++
     docs/api/source/GlobalFocus.html              |   2 +
     docs/api/source/GlobalKeys2.html              |  47 +-
     docs/api/source/GlobalKeys3.html              |  40 +-
     docs/api/source/KeyActivation.html            |  50 +-
     docs/api/source/RootNode.html                 |   2 +-
     docs/api/source/SizeToViewport.html           | 204 ++++--
     docs/api/source/View3.html                    |  97 ++-
     docs/api/source/autoscroller.html             | 489 +++++++++++++
     docs/api/source/button.html                   |   2 +-
     docs/api/source/dr.html                       |  23 +
     docs/api/source/draggable.html                | 176 ++++-
     docs/api/source/draggroupsupport.html         | 289 ++++++++
     docs/api/source/dreemMaker.html               |  11 +-
     docs/api/source/dropable.html                 | 429 +++++++++++
     docs/api/source/dropsource.html               | 379 ++++++++++
     docs/api/source/droptarget.html               | 333 +++++++++
     docs/api/source/floatingpanel.html            | 655 +++++++++++++++++
     docs/api/source/floatingpanelanchor.html      | 681 ++++++++++++++++++
     docs/api/source/inputtext.html                |  30 +-
     docs/api/source/pluginloader.html             |   3 +-
     docs/api/source/sizetoviewport2.html          |  21 +
     docs/api/source/sprite.html                   |   8 +-
     docs/api/source/sprite2.html                  |   2 +-
     docs/categories.json                          |   2 +-
     docs/classdocs/autoscroller.js                |  40 +
     docs/classdocs/draggable.js                   |  24 +
     docs/classdocs/draggroupsupport.js            |  26 +
     docs/classdocs/dropable.js                    |  73 ++
     docs/classdocs/dropsource.js                  |  39 +
     docs/classdocs/droptarget.js                  |  53 ++
     docs/classdocs/floatingpanel.js               |  99 +++
     docs/classdocs/floatingpanelanchor.js         | 147 ++++
     docs/classdocs/keyactivation.js               |   6 +-
     docs/classdocs/sizetoviewport.js              |   1 +
     62 files changed, 4573 insertions(+), 210 deletions(-)
     delete mode 100644 docs/api/data-4a543d7d078c3f954b43376d15934fb1.js
     create mode 100644 docs/api/data-a37746aac934b3d2a6c0cdbec3ea731a.js
     create mode 100644 docs/api/output/dr.floatingpanel.js
     create mode 100644 docs/api/source/GlobalDragManager.html
     create mode 100644 docs/api/source/autoscroller.html
     create mode 100644 docs/api/source/draggroupsupport.html
     create mode 100644 docs/api/source/dropable.html
     create mode 100644 docs/api/source/dropsource.html
     create mode 100644 docs/api/source/droptarget.html
     create mode 100644 docs/api/source/floatingpanel.html
     create mode 100644 docs/api/source/floatingpanelanchor.html
     create mode 100644 docs/api/source/sizetoviewport2.html
     create mode 100644 docs/classdocs/autoscroller.js
     create mode 100644 docs/classdocs/draggroupsupport.js
     create mode 100644 docs/classdocs/dropable.js
     create mode 100644 docs/classdocs/dropsource.js
     create mode 100644 docs/classdocs/droptarget.js
     create mode 100644 docs/classdocs/floatingpanel.js
     create mode 100644 docs/classdocs/floatingpanelanchor.js
     create mode 100644 docs/classdocs/sizetoviewport.js
    
    diff --git a/core/pluginloader.js b/core/pluginloader.js
    index 84af9d1..4588e4f 100644
    --- a/core/pluginloader.js
    +++ b/core/pluginloader.js
    @@ -4,8 +4,7 @@
      */
     /**
      * @class PluginLoader {Internal}
    - * Holder of the dreem  for the server
    - * Manages all iOT objects and the BusServer for each Plugin
    + * Reads plugins and injects them into compositins when requested.
      */
     define(function(require, exports, module) {
         module.exports = PluginLoader;
    diff --git a/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js b/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js
    deleted file mode 100644
    index db9e705..0000000
    --- a/docs/api/data-4a543d7d078c3f954b43376d15934fb1.js
    +++ /dev/null
    @@ -1 +0,0 @@
    -Docs = {"data":{"classes":[{"name":"BusClient","extends":null,"private":null,"icon":"icon-class"},{"name":"BusServer","extends":null,"private":null,"icon":"icon-class"},{"name":"CompositionServer","extends":null,"private":null,"icon":"icon-class"},{"name":"DaliGen","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemCompiler","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemError","extends":null,"private":null,"icon":"icon-class"},{"name":"FileWatcher","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.HTMLParser","extends":null,"private":null,"icon":"icon-class"},{"name":"NodeWebSocket","extends":null,"private":null,"icon":"icon-class"},{"name":"PluginLoader","extends":null,"private":null,"icon":"icon-class"},{"name":"RunMonitor","extends":null,"private":null,"icon":"icon-class"},{"name":"TeemServer","extends":null,"private":null,"icon":"icon-class"},{"name":"Eventable","extends":"Module","private":null,"icon":"icon-class"},{"name":"dr.node","extends":"Eventable","private":null,"icon":"icon-class"},{"name":"parser.Error","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.Animator.DEFAULT_MOTION","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.layout","extends":"dr.baselayout","private":null,"icon":"icon-class"},{"name":"dr.view","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.alignlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.editor.attrundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.bitmap","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.buttonbase","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.checkbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.editor.compoundundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.constantlayout","extends":"dr.layout","private":null,"icon":"icon-class"},{"name":"dr.editor.createundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.datapath","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.dataset","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.editor.deleteundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.dropdown","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.dropdownfont","extends":"dr.dropdown","private":null,"icon":"icon-class"},{"name":"dr.expectedoutput","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.fontdetect","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.indicator","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.inputtext","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.labelbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.labeltoggle","extends":"dr.labelbutton","private":null,"icon":"icon-class"},{"name":"dr.textlistbox","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.textlistboxitem","extends":"dr.text","private":null,"icon":"icon-class"},{"name":"dr.markup","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.orderundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.rangeslider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.replicator","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.resizelayout","extends":"dr.spacedlayout","private":null,"icon":"icon-class"},{"name":"dr.sizetoplatform","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.slider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.spacedlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.style","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.testingtimer","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.text","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.undoable","extends":"dr.eventable","private":null,"icon":"icon-class"},{"name":"dr.editor.undostack","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.variablelayout","extends":"dr.constantlayout","private":null,"icon":"icon-class"},{"name":"dr.videoplayer","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.webpage","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.wrappinglayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"global","extends":null,"private":null,"icon":"icon-class"}],"guides":[{"title":"Dreem Guides","items":[{"name":"constraints","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints/README.md"},{"name":"debug","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem  ","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug/README.md"},{"name":"packages","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages/README.md"},{"name":"plugins","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins","title":"Dreem Plugin Guide","description":"This introduction to building plugins in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins/README.md"},{"name":"startingwithdreem","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem/README.md"},{"name":"subclassing","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing/README.md"}]}],"videos":[],"examples":[],"search":[{"name":"BusClient","fullName":"BusClient","icon":"icon-class","url":"#!/api/BusClient","meta":{},"sort":1},{"name":"__reconnect","fullName":"BusClient.__reconnect","icon":"icon-method","url":"#!/api/BusClient-method-__reconnect","meta":{},"sort":3},{"name":"send","fullName":"BusClient.send","icon":"icon-method","url":"#!/api/BusClient-method-send","meta":{},"sort":3},{"name":"onMessage","fullName":"BusClient.onMessage","icon":"icon-event","url":"#!/api/BusClient-event-onMessage","meta":{},"sort":3},{"name":"BusServer","fullName":"BusServer","icon":"icon-class","url":"#!/api/BusServer","meta":{},"sort":1},{"name":"addWebSocket","fullName":"BusServer.addWebSocket","icon":"icon-method","url":"#!/api/BusServer-method-addWebSocket","meta":{},"sort":3},{"name":"onMessage","fullName":"BusServer.onMessage","icon":"icon-event","url":"#!/api/BusServer-event-onMessage","meta":{},"sort":3},{"name":"onConnect","fullName":"BusServer.onConnect","icon":"icon-event","url":"#!/api/BusServer-event-onConnect","meta":{},"sort":3},{"name":"broadcast","fullName":"BusServer.broadcast","icon":"icon-method","url":"#!/api/BusServer-method-broadcast","meta":{},"sort":3},{"name":"getHTML","fullName":"BusServer.getHTML","icon":"icon-method","url":"#!/api/BusServer-method-getHTML","meta":{},"sort":3},{"name":"CompositionServer","fullName":"CompositionServer","icon":"icon-class","url":"#!/api/CompositionServer","meta":{},"sort":1},{"name":"request","fullName":"CompositionServer.request","icon":"icon-method","url":"#!/api/CompositionServer-method-request","meta":{},"sort":3},{"name":"onChange","fullName":"CompositionServer.onChange","icon":"icon-event","url":"#!/api/CompositionServer-event-onChange","meta":{},"sort":3},{"name":"__buildScreenPath","fullName":"CompositionServer.__buildScreenPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildScreenPath","meta":{"private":true},"sort":3},{"name":"__buildPath","fullName":"CompositionServer.__buildPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildPath","meta":{"private":true},"sort":3},{"name":"__showErrors","fullName":"CompositionServer.__showErrors","icon":"icon-method","url":"#!/api/CompositionServer-method-__showErrors","meta":{"private":true},"sort":3},{"name":"__parseDreSync","fullName":"CompositionServer.__parseDreSync","icon":"icon-method","url":"#!/api/CompositionServer-method-__parseDreSync","meta":{"private":true},"sort":3},{"name":"__makeLocalDeps","fullName":"CompositionServer.__makeLocalDeps","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeLocalDeps","meta":{"private":true},"sort":3},{"name":"__lookupDep","fullName":"CompositionServer.__lookupDep","icon":"icon-method","url":"#!/api/CompositionServer-method-__lookupDep","meta":{"private":true},"sort":3},{"name":"__compileAndWriteDreToJS","fullName":"CompositionServer.__compileAndWriteDreToJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileAndWriteDreToJS","meta":{},"sort":3},{"name":"__compileLocalClass","fullName":"CompositionServer.__compileLocalClass","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileLocalClass","meta":{"private":true},"sort":3},{"name":"__handleInclude","fullName":"CompositionServer.__handleInclude","icon":"icon-method","url":"#!/api/CompositionServer-method-__handleInclude","meta":{"private":true},"sort":3},{"name":"__getCompositionPath","fullName":"CompositionServer.__getCompositionPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__getCompositionPath","meta":{"private":true},"sort":3},{"name":"__reloadComposition","fullName":"CompositionServer.__reloadComposition","icon":"icon-method","url":"#!/api/CompositionServer-method-__reloadComposition","meta":{"private":true},"sort":3},{"name":"__makeComponentJS","fullName":"CompositionServer.__makeComponentJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeComponentJS","meta":{"private":true},"sort":3},{"name":"__makeScreenJS","fullName":"CompositionServer.__makeScreenJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeScreenJS","meta":{"private":true},"sort":3},{"name":"__packageDali","fullName":"CompositionServer.__packageDali","icon":"icon-method","url":"#!/api/CompositionServer-method-__packageDali","meta":{},"sort":3},{"name":"__renderHTMLTemplate","fullName":"CompositionServer.__renderHTMLTemplate","icon":"icon-method","url":"#!/api/CompositionServer-method-__renderHTMLTemplate","meta":{},"sort":3},{"name":"__mkdirParent","fullName":"CompositionServer.__mkdirParent","icon":"icon-method","url":"#!/api/CompositionServer-method-__mkdirParent","meta":{},"sort":3},{"name":"__writeFileIfChanged","fullName":"CompositionServer.__writeFileIfChanged","icon":"icon-method","url":"#!/api/CompositionServer-method-__writeFileIfChanged","meta":{},"sort":3},{"name":"DaliGen","fullName":"DaliGen","icon":"icon-class","url":"#!/api/DaliGen","meta":{},"sort":1},{"name":"DreemCompiler","fullName":"DreemCompiler","icon":"icon-class","url":"#!/api/DreemCompiler","meta":{},"sort":1},{"name":"DreemError","fullName":"DreemError","icon":"icon-class","url":"#!/api/DreemError","meta":{},"sort":1},{"name":"FileWatcher","fullName":"FileWatcher","icon":"icon-class","url":"#!/api/FileWatcher","meta":{},"sort":1},{"name":"onChange","fullName":"FileWatcher.onChange","icon":"icon-event","url":"#!/api/FileWatcher-event-onChange","meta":{},"sort":3},{"name":"watch","fullName":"FileWatcher.watch","icon":"icon-method","url":"#!/api/FileWatcher-method-watch","meta":{},"sort":3},{"name":"HTMLParser","fullName":"parser.HTMLParser","icon":"icon-class","url":"#!/api/parser.HTMLParser","meta":{},"sort":1},{"name":"reserialize","fullName":"parser.HTMLParser.reserialize","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-reserialize","meta":{},"sort":3},{"name":"parse","fullName":"parser.HTMLParser.parse","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-parse","meta":{},"sort":3},{"name":"NodeWebSocket","fullName":"NodeWebSocket","icon":"icon-class","url":"#!/api/NodeWebSocket","meta":{},"sort":1},{"name":"onMessage","fullName":"NodeWebSocket.onMessage","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onMessage","meta":{},"sort":3},{"name":"onClose","fullName":"NodeWebSocket.onClose","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onClose","meta":{},"sort":3},{"name":"onError","fullName":"NodeWebSocket.onError","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onError","meta":{},"sort":3},{"name":"send","fullName":"NodeWebSocket.send","icon":"icon-method","url":"#!/api/NodeWebSocket-method-send","meta":{},"sort":3},{"name":"close","fullName":"NodeWebSocket.close","icon":"icon-method","url":"#!/api/NodeWebSocket-method-close","meta":{},"sort":3},{"name":"PluginLoader","fullName":"PluginLoader","icon":"icon-class","url":"#!/api/PluginLoader","meta":{},"sort":1},{"name":"RunMonitor","fullName":"RunMonitor","icon":"icon-class","url":"#!/api/RunMonitor","meta":{},"sort":1},{"name":"restart_delay","fullName":"RunMonitor.restart_delay","icon":"icon-attribute","url":"#!/api/RunMonitor-attribute-restart_delay","meta":{},"sort":3},{"name":"TeemServer","fullName":"TeemServer","icon":"icon-class","url":"#!/api/TeemServer","meta":{},"sort":1},{"name":"broadcast","fullName":"TeemServer.broadcast","icon":"icon-method","url":"#!/api/TeemServer-method-broadcast","meta":{},"sort":3},{"name":"","fullName":"TeemServer.","icon":"icon-method","url":"#!/api/TeemServer-method-","meta":{},"sort":3},{"name":"__upgrade","fullName":"TeemServer.__upgrade","icon":"icon-method","url":"#!/api/TeemServer-method-__upgrade","meta":{},"sort":3},{"name":"request","fullName":"TeemServer.request","icon":"icon-method","url":"#!/api/TeemServer-method-request","meta":{},"sort":3},{"name":"Eventable","fullName":"Eventable","icon":"icon-class","url":"#!/api/Eventable","meta":{},"sort":1},{"name":"initing","fullName":"Eventable.initing","icon":"icon-attribute","url":"#!/api/Eventable-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"Eventable.inited","icon":"icon-attribute","url":"#!/api/Eventable-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"initialize","fullName":"Eventable.initialize","icon":"icon-method","url":"#!/api/Eventable-method-initialize","meta":{},"sort":3},{"name":"init","fullName":"Eventable.init","icon":"icon-method","url":"#!/api/Eventable-method-init","meta":{},"sort":3},{"name":"destroy","fullName":"Eventable.destroy","icon":"icon-method","url":"#!/api/Eventable-method-destroy","meta":{},"sort":3},{"name":"node","fullName":"dr.node","icon":"icon-class","url":"#!/api/dr.node","meta":{},"sort":1},{"name":"parent","fullName":"dr.node.parent","icon":"icon-event","url":"#!/api/dr.node-event-parent","meta":{},"sort":3},{"name":"parent","fullName":"dr.node.parent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-parent","meta":{},"sort":3},{"name":"$textcontent","fullName":"dr.node.$textcontent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-S-textcontent","meta":{},"sort":3},{"name":"initing","fullName":"dr.node.initing","icon":"icon-attribute","url":"#!/api/dr.node-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"dr.node.inited","icon":"icon-attribute","url":"#!/api/dr.node-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"isBeingDestroyed","fullName":"dr.node.isBeingDestroyed","icon":"icon-attribute","url":"#!/api/dr.node-attribute-isBeingDestroyed","meta":{"readonly":true},"sort":3},{"name":"placement","fullName":"dr.node.placement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-placement","meta":{},"sort":3},{"name":"defaultplacement","fullName":"dr.node.defaultplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-defaultplacement","meta":{},"sort":3},{"name":"ignoreplacement","fullName":"dr.node.ignoreplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-ignoreplacement","meta":{},"sort":3},{"name":"__disallowPlacement","fullName":"dr.node.__disallowPlacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__disallowPlacement","meta":{},"sort":3},{"name":"__animPool","fullName":"dr.node.__animPool","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__animPool","meta":{"private":true},"sort":3},{"name":"subnodes","fullName":"dr.node.subnodes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-subnodes","meta":{},"sort":3},{"name":"name","fullName":"dr.node.name","icon":"icon-attribute","url":"#!/api/dr.node-attribute-name","meta":{},"sort":3},{"name":"id","fullName":"dr.node.id","icon":"icon-attribute","url":"#!/api/dr.node-attribute-id","meta":{},"sort":3},{"name":"scriptincludes","fullName":"dr.node.scriptincludes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludes","meta":{},"sort":3},{"name":"scriptincludeserror","fullName":"dr.node.scriptincludeserror","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludeserror","meta":{},"sort":3},{"name":"getMatchingAncestorOrSelf","fullName":"dr.node.getMatchingAncestorOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestorOrSelf","meta":{},"sort":3},{"name":"getMatchingAncestor","fullName":"dr.node.getMatchingAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestor","meta":{},"sort":3},{"name":"initialize","fullName":"dr.node.initialize","icon":"icon-method","url":"#!/api/dr.node-method-initialize","meta":{},"sort":3},{"name":"initNode","fullName":"dr.node.initNode","icon":"icon-method","url":"#!/api/dr.node-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.node.notifyReady","icon":"icon-method","url":"#!/api/dr.node-method-notifyReady","meta":{},"sort":3},{"name":"doBeforeAdoption","fullName":"dr.node.doBeforeAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doBeforeAdoption","meta":{},"sort":3},{"name":"doAfterAdoption","fullName":"dr.node.doAfterAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doAfterAdoption","meta":{},"sort":3},{"name":"__makeChildren","fullName":"dr.node.__makeChildren","icon":"icon-method","url":"#!/api/dr.node-method-__makeChildren","meta":{"private":true},"sort":3},{"name":"__registerHandlers","fullName":"dr.node.__registerHandlers","icon":"icon-method","url":"#!/api/dr.node-method-__registerHandlers","meta":{"private":true},"sort":3},{"name":"destroy","fullName":"dr.node.destroy","icon":"icon-method","url":"#!/api/dr.node-method-destroy","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.node.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.node.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"set_parent","fullName":"dr.node.set_parent","icon":"icon-method","url":"#!/api/dr.node-method-set_parent","meta":{},"sort":3},{"name":"set_name","fullName":"dr.node.set_name","icon":"icon-method","url":"#!/api/dr.node-method-set_name","meta":{},"sort":3},{"name":"set_id","fullName":"dr.node.set_id","icon":"icon-method","url":"#!/api/dr.node-method-set_id","meta":{},"sort":3},{"name":"getSubnodes","fullName":"dr.node.getSubnodes","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodes","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.node.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.node-method-getTypeForAttrName","meta":{},"sort":3},{"name":"createChild","fullName":"dr.node.createChild","icon":"icon-method","url":"#!/api/dr.node-method-createChild","meta":{},"sort":3},{"name":"determinePlacement","fullName":"dr.node.determinePlacement","icon":"icon-method","url":"#!/api/dr.node-method-determinePlacement","meta":{},"sort":3},{"name":"__addNameRef","fullName":"dr.node.__addNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__addNameRef","meta":{"private":true},"sort":3},{"name":"__removeNameRef","fullName":"dr.node.__removeNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__removeNameRef","meta":{"private":true},"sort":3},{"name":"getRoot","fullName":"dr.node.getRoot","icon":"icon-method","url":"#!/api/dr.node-method-getRoot","meta":{},"sort":3},{"name":"isRoot","fullName":"dr.node.isRoot","icon":"icon-method","url":"#!/api/dr.node-method-isRoot","meta":{},"sort":3},{"name":"isDescendantOf","fullName":"dr.node.isDescendantOf","icon":"icon-method","url":"#!/api/dr.node-method-isDescendantOf","meta":{},"sort":3},{"name":"isAncestorOf","fullName":"dr.node.isAncestorOf","icon":"icon-method","url":"#!/api/dr.node-method-isAncestorOf","meta":{},"sort":3},{"name":"getLeastCommonAncestor","fullName":"dr.node.getLeastCommonAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getLeastCommonAncestor","meta":{},"sort":3},{"name":"searchAncestorsForClass","fullName":"dr.node.searchAncestorsForClass","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsForClass","meta":{},"sort":3},{"name":"getAncestorWithProperty","fullName":"dr.node.getAncestorWithProperty","icon":"icon-method","url":"#!/api/dr.node-method-getAncestorWithProperty","meta":{},"sort":3},{"name":"searchAncestors","fullName":"dr.node.searchAncestors","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestors","meta":{},"sort":3},{"name":"searchAncestorsOrSelf","fullName":"dr.node.searchAncestorsOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsOrSelf","meta":{},"sort":3},{"name":"getAncestors","fullName":"dr.node.getAncestors","icon":"icon-method","url":"#!/api/dr.node-method-getAncestors","meta":{},"sort":3},{"name":"walk","fullName":"dr.node.walk","icon":"icon-method","url":"#!/api/dr.node-method-walk","meta":{"chainable":true},"sort":3},{"name":"hasSubnode","fullName":"dr.node.hasSubnode","icon":"icon-method","url":"#!/api/dr.node-method-hasSubnode","meta":{},"sort":3},{"name":"getSubnodeIndex","fullName":"dr.node.getSubnodeIndex","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodeIndex","meta":{},"sort":3},{"name":"addSubnode","fullName":"dr.node.addSubnode","icon":"icon-method","url":"#!/api/dr.node-method-addSubnode","meta":{"chainable":true},"sort":3},{"name":"removeSubnode","fullName":"dr.node.removeSubnode","icon":"icon-method","url":"#!/api/dr.node-method-removeSubnode","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.node.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.node.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"animateMultiple","fullName":"dr.node.animateMultiple","icon":"icon-method","url":"#!/api/dr.node-method-animateMultiple","meta":{"chainable":true},"sort":3},{"name":"animate","fullName":"dr.node.animate","icon":"icon-method","url":"#!/api/dr.node-method-animate","meta":{},"sort":3},{"name":"getActiveAnimators","fullName":"dr.node.getActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-getActiveAnimators","meta":{},"sort":3},{"name":"stopActiveAnimators","fullName":"dr.node.stopActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-stopActiveAnimators","meta":{"chainable":true},"sort":3},{"name":"__getAnimPool","fullName":"dr.node.__getAnimPool","icon":"icon-method","url":"#!/api/dr.node-method-__getAnimPool","meta":{"private":true},"sort":3},{"name":"Error","fullName":"parser.Error","icon":"icon-class","url":"#!/api/parser.Error","meta":{},"sort":1},{"name":"Compiler","fullName":"parser.Compiler","icon":"icon-class","url":"#!/api/parser.Compiler","meta":{},"sort":1},{"name":"Compiler","fullName":"Compiler","icon":"icon-class","url":"#!/api/Compiler","meta":{},"sort":1},{"name":"languages","fullName":"Compiler.languages","icon":"icon-property","url":"#!/api/Compiler-property-languages","meta":{},"sort":3},{"name":"execute","fullName":"Compiler.execute","icon":"icon-method","url":"#!/api/Compiler-method-execute","meta":{},"sort":3},{"name":"builtin","fullName":"Compiler.builtin","icon":"icon-property","url":"#!/api/Compiler-property-builtin","meta":{},"sort":3},{"name":"Animator.DEFAULT_MOTION","fullName":"dr.Animator.DEFAULT_MOTION","icon":"icon-class","url":"#!/api/dr.Animator.DEFAULT_MOTION","meta":{},"sort":1},{"name":"layout","fullName":"dr.layout","icon":"icon-class","url":"#!/api/dr.layout","meta":{},"sort":1},{"name":"__notifyReady","fullName":"dr.layout.__notifyReady","icon":"icon-method","url":"#!/api/dr.layout-method-__notifyReady","meta":{"private":true},"sort":3},{"name":"addSubview","fullName":"dr.layout.addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-addSubview","meta":{},"sort":3},{"name":"__addSubview","fullName":"dr.layout.__addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__addSubview","meta":{"private":true},"sort":3},{"name":"removeSubview","fullName":"dr.layout.removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-removeSubview","meta":{},"sort":3},{"name":"__removeSubview","fullName":"dr.layout.__removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__removeSubview","meta":{"private":true},"sort":3},{"name":"startMonitoringSubviewForIgnore","fullName":"dr.layout.startMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"stopMonitoringSubviewForIgnore","fullName":"dr.layout.stopMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"ignore","fullName":"dr.layout.ignore","icon":"icon-method","url":"#!/api/dr.layout-method-ignore","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.layout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"startMonitoringAllSubviews","fullName":"dr.layout.startMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringAllSubviews","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.layout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringAllSubviews","fullName":"dr.layout.stopMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringAllSubviews","meta":{},"sort":3},{"name":"canUpdate","fullName":"dr.layout.canUpdate","icon":"icon-method","url":"#!/api/dr.layout-method-canUpdate","meta":{},"sort":3},{"name":"update","fullName":"dr.layout.update","icon":"icon-method","url":"#!/api/dr.layout-method-update","meta":{},"sort":3},{"name":"view","fullName":"dr.view","icon":"icon-class","url":"#!/api/dr.view","meta":{},"sort":1},{"name":"onsubviewadded","fullName":"dr.view.onsubviewadded","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewadded","meta":{},"sort":3},{"name":"onsubviewremoved","fullName":"dr.view.onsubviewremoved","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewremoved","meta":{},"sort":3},{"name":"onlayoutadded","fullName":"dr.view.onlayoutadded","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutadded","meta":{},"sort":3},{"name":"onlayoutremoved","fullName":"dr.view.onlayoutremoved","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutremoved","meta":{},"sort":3},{"name":"focustrap","fullName":"dr.view.focustrap","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focustrap","meta":{},"sort":3},{"name":"focuscage","fullName":"dr.view.focuscage","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focuscage","meta":{},"sort":3},{"name":"maskfocus","fullName":"dr.view.maskfocus","icon":"icon-attribute","url":"#!/api/dr.view-attribute-maskfocus","meta":{},"sort":3},{"name":"focusable","fullName":"dr.view.focusable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusable","meta":{},"sort":3},{"name":"focused","fullName":"dr.view.focused","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focused","meta":{},"sort":3},{"name":"focusembellishment","fullName":"dr.view.focusembellishment","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusembellishment","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"gradient","fullName":"dr.view.gradient","icon":"icon-attribute","url":"#!/api/dr.view-attribute-gradient","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{},"sort":3},{"name":"__fullBorderPaddingWidth","fullName":"dr.view.__fullBorderPaddingWidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingWidth","meta":{"private":true},"sort":3},{"name":"__fullBorderPaddingHeight","fullName":"dr.view.__fullBorderPaddingHeight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingHeight","meta":{"private":true},"sort":3},{"name":"__autoLayoutwidth","fullName":"dr.view.__autoLayoutwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutwidth","meta":{"private":true},"sort":3},{"name":"__autoLayoutheight","fullName":"dr.view.__autoLayoutheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutheight","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_x","fullName":"dr.view.__isPercentConstraint_x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_x","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_y","fullName":"dr.view.__isPercentConstraint_y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_y","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_width","fullName":"dr.view.__isPercentConstraint_width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_width","meta":{},"sort":3},{"name":"__isPercentConstraint_height","fullName":"dr.view.__isPercentConstraint_height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_height","meta":{},"sort":3},{"name":"__lockRecalc","fullName":"dr.view.__lockRecalc","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__lockRecalc","meta":{},"sort":3},{"name":"x","fullName":"dr.view.x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-x","meta":{},"sort":3},{"name":"y","fullName":"dr.view.y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-y","meta":{},"sort":3},{"name":"width","fullName":"dr.view.width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-width","meta":{},"sort":3},{"name":"height","fullName":"dr.view.height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-height","meta":{},"sort":3},{"name":"isaligned","fullName":"dr.view.isaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isaligned","meta":{"readonly":true},"sort":3},{"name":"isvaligned","fullName":"dr.view.isvaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isvaligned","meta":{"readonly":true},"sort":3},{"name":"innerwidth","fullName":"dr.view.innerwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerwidth","meta":{"readonly":true},"sort":3},{"name":"innerheight","fullName":"dr.view.innerheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerheight","meta":{"readonly":true},"sort":3},{"name":"boundsx","fullName":"dr.view.boundsx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsx","meta":{"readonly":true},"sort":3},{"name":"boundsy","fullName":"dr.view.boundsy","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsy","meta":{"readonly":true},"sort":3},{"name":"boundsxdiff","fullName":"dr.view.boundsxdiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsxdiff","meta":{"readonly":true},"sort":3},{"name":"boundsydiff","fullName":"dr.view.boundsydiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsydiff","meta":{"readonly":true},"sort":3},{"name":"boundswidth","fullName":"dr.view.boundswidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundswidth","meta":{"readonly":true},"sort":3},{"name":"boundsheight","fullName":"dr.view.boundsheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsheight","meta":{"readonly":true},"sort":3},{"name":"clickable","fullName":"dr.view.clickable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clickable","meta":{},"sort":3},{"name":"clip","fullName":"dr.view.clip","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clip","meta":{},"sort":3},{"name":"scrollable","fullName":"dr.view.scrollable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollable","meta":{},"sort":3},{"name":"scrollbars","fullName":"dr.view.scrollbars","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollbars","meta":{},"sort":3},{"name":"visible","fullName":"dr.view.visible","icon":"icon-attribute","url":"#!/api/dr.view-attribute-visible","meta":{},"sort":3},{"name":"bgcolor","fullName":"dr.view.bgcolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bgcolor","meta":{},"sort":3},{"name":"bordercolor","fullName":"dr.view.bordercolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bordercolor","meta":{},"sort":3},{"name":"borderstyle","fullName":"dr.view.borderstyle","icon":"icon-attribute","url":"#!/api/dr.view-attribute-borderstyle","meta":{},"sort":3},{"name":"border","fullName":"dr.view.border","icon":"icon-attribute","url":"#!/api/dr.view-attribute-border","meta":{},"sort":3},{"name":"padding","fullName":"dr.view.padding","icon":"icon-attribute","url":"#!/api/dr.view-attribute-padding","meta":{},"sort":3},{"name":"xscale","fullName":"dr.view.xscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xscale","meta":{},"sort":3},{"name":"yscale","fullName":"dr.view.yscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yscale","meta":{},"sort":3},{"name":"z","fullName":"dr.view.z","icon":"icon-attribute","url":"#!/api/dr.view-attribute-z","meta":{},"sort":3},{"name":"rotation","fullName":"dr.view.rotation","icon":"icon-attribute","url":"#!/api/dr.view-attribute-rotation","meta":{},"sort":3},{"name":"perspective","fullName":"dr.view.perspective","icon":"icon-attribute","url":"#!/api/dr.view-attribute-perspective","meta":{},"sort":3},{"name":"opacity","fullName":"dr.view.opacity","icon":"icon-attribute","url":"#!/api/dr.view-attribute-opacity","meta":{},"sort":3},{"name":"scrollx","fullName":"dr.view.scrollx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollx","meta":{},"sort":3},{"name":"scrolly","fullName":"dr.view.scrolly","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrolly","meta":{},"sort":3},{"name":"xanchor","fullName":"dr.view.xanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xanchor","meta":{},"sort":3},{"name":"yanchor","fullName":"dr.view.yanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yanchor","meta":{},"sort":3},{"name":"zanchor","fullName":"dr.view.zanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-zanchor","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"ignorelayout","fullName":"dr.view.ignorelayout","icon":"icon-attribute","url":"#!/api/dr.view-attribute-ignorelayout","meta":{},"sort":3},{"name":"layouthint","fullName":"dr.view.layouthint","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouthint","meta":{},"sort":3},{"name":"onclick","fullName":"dr.view.onclick","icon":"icon-event","url":"#!/api/dr.view-event-onclick","meta":{},"sort":3},{"name":"onmouseover","fullName":"dr.view.onmouseover","icon":"icon-event","url":"#!/api/dr.view-event-onmouseover","meta":{},"sort":3},{"name":"onmouseout","fullName":"dr.view.onmouseout","icon":"icon-event","url":"#!/api/dr.view-event-onmouseout","meta":{},"sort":3},{"name":"onmousedown","fullName":"dr.view.onmousedown","icon":"icon-event","url":"#!/api/dr.view-event-onmousedown","meta":{},"sort":3},{"name":"onmouseup","fullName":"dr.view.onmouseup","icon":"icon-event","url":"#!/api/dr.view-event-onmouseup","meta":{},"sort":3},{"name":"onscroll","fullName":"dr.view.onscroll","icon":"icon-event","url":"#!/api/dr.view-event-onscroll","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{"readonly":true},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{"readonly":true},"sort":3},{"name":"initNode","fullName":"dr.view.initNode","icon":"icon-method","url":"#!/api/dr.view-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.view.notifyReady","icon":"icon-method","url":"#!/api/dr.view-method-notifyReady","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.view.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.view.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"__setupAlignConstraint","fullName":"dr.view.__setupAlignConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAlignConstraint","meta":{},"sort":3},{"name":"__setupPercentConstraint","fullName":"dr.view.__setupPercentConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupPercentConstraint","meta":{},"sort":3},{"name":"__setupAutoConstraint","fullName":"dr.view.__setupAutoConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAutoConstraint","meta":{"private":true},"sort":3},{"name":"getSiblingViews","fullName":"dr.view.getSiblingViews","icon":"icon-method","url":"#!/api/dr.view-method-getSiblingViews","meta":{},"sort":3},{"name":"getLayouts","fullName":"dr.view.getLayouts","icon":"icon-method","url":"#!/api/dr.view-method-getLayouts","meta":{},"sort":3},{"name":"__handleScroll","fullName":"dr.view.__handleScroll","icon":"icon-method","url":"#!/api/dr.view-method-__handleScroll","meta":{"private":true},"sort":3},{"name":"__setBP","fullName":"dr.view.__setBP","icon":"icon-method","url":"#!/api/dr.view-method-__setBP","meta":{"private":true},"sort":3},{"name":"__updateBP","fullName":"dr.view.__updateBP","icon":"icon-method","url":"#!/api/dr.view-method-__updateBP","meta":{"private":true},"sort":3},{"name":"__updateInnerWidth","fullName":"dr.view.__updateInnerWidth","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerWidth","meta":{"private":true},"sort":3},{"name":"__updateInnerHeight","fullName":"dr.view.__updateInnerHeight","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerHeight","meta":{"private":true},"sort":3},{"name":"__updateCornerRadius","fullName":"dr.view.__updateCornerRadius","icon":"icon-method","url":"#!/api/dr.view-method-__updateCornerRadius","meta":{"private":true},"sort":3},{"name":"__updateTransform","fullName":"dr.view.__updateTransform","icon":"icon-method","url":"#!/api/dr.view-method-__updateTransform","meta":{"private":true},"sort":3},{"name":"__updateBounds","fullName":"dr.view.__updateBounds","icon":"icon-method","url":"#!/api/dr.view-method-__updateBounds","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.view.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.view-method-getTypeForAttrName","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"dr.view.getAbsolutePosition","icon":"icon-method","url":"#!/api/dr.view-method-getAbsolutePosition","meta":{},"sort":3},{"name":"isVisible","fullName":"dr.view.isVisible","icon":"icon-method","url":"#!/api/dr.view-method-isVisible","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.view.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.view.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"dr.view.getNextSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getNextSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"dr.view.getLastSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getLastSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"dr.view.getPrevSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"dr.view.getFirstSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getFirstSiblingView","meta":{},"sort":3},{"name":"hasSubview","fullName":"dr.view.hasSubview","icon":"icon-method","url":"#!/api/dr.view-method-hasSubview","meta":{},"sort":3},{"name":"getSubviewIndex","fullName":"dr.view.getSubviewIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewIndex","meta":{},"sort":3},{"name":"getSubviewAtIndex","fullName":"dr.view.getSubviewAtIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewAtIndex","meta":{},"sort":3},{"name":"doSubviewAdded","fullName":"dr.view.doSubviewAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewAdded","meta":{},"sort":3},{"name":"doSubviewRemoved","fullName":"dr.view.doSubviewRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewRemoved","meta":{},"sort":3},{"name":"hasLayout","fullName":"dr.view.hasLayout","icon":"icon-method","url":"#!/api/dr.view-method-hasLayout","meta":{},"sort":3},{"name":"getLayoutIndex","fullName":"dr.view.getLayoutIndex","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutIndex","meta":{},"sort":3},{"name":"doLayoutAdded","fullName":"dr.view.doLayoutAdded","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutAdded","meta":{},"sort":3},{"name":"doLayoutRemoved","fullName":"dr.view.doLayoutRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutRemoved","meta":{},"sort":3},{"name":"getLayoutHint","fullName":"dr.view.getLayoutHint","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutHint","meta":{},"sort":3},{"name":"getFocusTrap","fullName":"dr.view.getFocusTrap","icon":"icon-method","url":"#!/api/dr.view-method-getFocusTrap","meta":{},"sort":3},{"name":"isFocusable","fullName":"dr.view.isFocusable","icon":"icon-method","url":"#!/api/dr.view-method-isFocusable","meta":{},"sort":3},{"name":"giveAwayFocus","fullName":"dr.view.giveAwayFocus","icon":"icon-method","url":"#!/api/dr.view-method-giveAwayFocus","meta":{},"sort":3},{"name":"__handleFocus","fullName":"dr.view.__handleFocus","icon":"icon-method","url":"#!/api/dr.view-method-__handleFocus","meta":{"private":true},"sort":3},{"name":"__handleBlur","fullName":"dr.view.__handleBlur","icon":"icon-method","url":"#!/api/dr.view-method-__handleBlur","meta":{"private":true},"sort":3},{"name":"focus","fullName":"dr.view.focus","icon":"icon-method","url":"#!/api/dr.view-method-focus","meta":{},"sort":3},{"name":"blur","fullName":"dr.view.blur","icon":"icon-method","url":"#!/api/dr.view-method-blur","meta":{},"sort":3},{"name":"getNextFocus","fullName":"dr.view.getNextFocus","icon":"icon-method","url":"#!/api/dr.view-method-getNextFocus","meta":{},"sort":3},{"name":"getPrevFocus","fullName":"dr.view.getPrevFocus","icon":"icon-method","url":"#!/api/dr.view-method-getPrevFocus","meta":{},"sort":3},{"name":"isBehind","fullName":"dr.view.isBehind","icon":"icon-method","url":"#!/api/dr.view-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"dr.view.isInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-isInFrontOf","meta":{},"sort":3},{"name":"moveToFront","fullName":"dr.view.moveToFront","icon":"icon-method","url":"#!/api/dr.view-method-moveToFront","meta":{"chainable":true},"sort":3},{"name":"moveToBack","fullName":"dr.view.moveToBack","icon":"icon-method","url":"#!/api/dr.view-method-moveToBack","meta":{"chainable":true},"sort":3},{"name":"moveInFrontOf","fullName":"dr.view.moveInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-moveInFrontOf","meta":{"chainable":true},"sort":3},{"name":"moveBehind","fullName":"dr.view.moveBehind","icon":"icon-method","url":"#!/api/dr.view-method-moveBehind","meta":{"chainable":true},"sort":3},{"name":"alignlayout","fullName":"dr.alignlayout","icon":"icon-class","url":"#!/api/dr.alignlayout","meta":{},"sort":1},{"name":"align","fullName":"dr.alignlayout.align","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-align","meta":{},"sort":3},{"name":"inset","fullName":"dr.alignlayout.inset","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-inset","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.alignlayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.alignlayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"attrundoable","fullName":"dr.editor.attrundoable","icon":"icon-class","url":"#!/api/dr.editor.attrundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.attrundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-target","meta":{},"sort":3},{"name":"attribute","fullName":"dr.editor.attrundoable.attribute","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-attribute","meta":{},"sort":3},{"name":"oldvalue","fullName":"dr.editor.attrundoable.oldvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-oldvalue","meta":{},"sort":3},{"name":"newvalue","fullName":"dr.editor.attrundoable.newvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-newvalue","meta":{},"sort":3},{"name":"setAttribute","fullName":"dr.editor.attrundoable.setAttribute","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-setAttribute","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.attrundoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.attrundoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getRedoDescription","meta":{},"sort":3},{"name":"__getDescription","fullName":"dr.editor.attrundoable.__getDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-__getDescription","meta":{"private":true},"sort":3},{"name":"undo","fullName":"dr.editor.attrundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.attrundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-redo","meta":{},"sort":3},{"name":"bitmap","fullName":"dr.bitmap","icon":"icon-class","url":"#!/api/dr.bitmap","meta":{},"sort":1},{"name":"src","fullName":"dr.bitmap.src","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-src","meta":{},"sort":3},{"name":"onload","fullName":"dr.bitmap.onload","icon":"icon-event","url":"#!/api/dr.bitmap-event-onload","meta":{},"sort":3},{"name":"onerror","fullName":"dr.bitmap.onerror","icon":"icon-event","url":"#!/api/dr.bitmap-event-onerror","meta":{},"sort":3},{"name":"stretches","fullName":"dr.bitmap.stretches","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-stretches","meta":{},"sort":3},{"name":"naturalsize","fullName":"dr.bitmap.naturalsize","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-naturalsize","meta":{},"sort":3},{"name":"repeat","fullName":"dr.bitmap.repeat","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-repeat","meta":{},"sort":3},{"name":"window","fullName":"dr.bitmap.window","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-window","meta":{},"sort":3},{"name":"buttonbase","fullName":"dr.buttonbase","icon":"icon-class","url":"#!/api/dr.buttonbase","meta":{},"sort":1},{"name":"defaultcolor","fullName":"dr.buttonbase.defaultcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-defaultcolor","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.buttonbase.selectcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selectcolor","meta":{},"sort":3},{"name":"selected","fullName":"dr.buttonbase.selected","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selected","meta":{},"sort":3},{"name":"onselected","fullName":"dr.buttonbase.onselected","icon":"icon-event","url":"#!/api/dr.buttonbase-event-onselected","meta":{},"sort":3},{"name":"text","fullName":"dr.buttonbase.text","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-text","meta":{},"sort":3},{"name":"checkbutton","fullName":"dr.checkbutton","icon":"icon-class","url":"#!/api/dr.checkbutton","meta":{},"sort":1},{"name":"compoundundoable","fullName":"dr.editor.compoundundoable","icon":"icon-class","url":"#!/api/dr.editor.compoundundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.compoundundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-destroy","meta":{},"sort":3},{"name":"add","fullName":"dr.editor.compoundundoable.add","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-add","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"constantlayout","fullName":"dr.constantlayout","icon":"icon-class","url":"#!/api/dr.constantlayout","meta":{},"sort":1},{"name":"attribute","fullName":"dr.constantlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-attribute","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"update","fullName":"dr.constantlayout.update","icon":"icon-method","url":"#!/api/dr.constantlayout-method-update","meta":{},"sort":3},{"name":"createundoable","fullName":"dr.editor.createundoable","icon":"icon-class","url":"#!/api/dr.editor.createundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.createundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.createundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.createundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.createundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.createundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-redo","meta":{},"sort":3},{"name":"datapath","fullName":"dr.datapath","icon":"icon-class","url":"#!/api/dr.datapath","meta":{},"sort":1},{"name":"data","fullName":"dr.datapath.data","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-data","meta":{},"sort":3},{"name":"result","fullName":"dr.datapath.result","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-result","meta":{},"sort":3},{"name":"path","fullName":"dr.datapath.path","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-path","meta":{},"sort":3},{"name":"sortpath","fullName":"dr.datapath.sortpath","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortpath","meta":{},"sort":3},{"name":"sortasc","fullName":"dr.datapath.sortasc","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortasc","meta":{},"sort":3},{"name":"filterexpression","fullName":"dr.datapath.filterexpression","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-filterexpression","meta":{},"sort":3},{"name":"filterfunction","fullName":"dr.datapath.filterfunction","icon":"icon-method","url":"#!/api/dr.datapath-method-filterfunction","meta":{"abstract":true},"sort":3},{"name":"refresh","fullName":"dr.datapath.refresh","icon":"icon-method","url":"#!/api/dr.datapath-method-refresh","meta":{},"sort":3},{"name":"dataset","fullName":"dr.dataset","icon":"icon-class","url":"#!/api/dr.dataset","meta":{},"sort":1},{"name":"name","fullName":"dr.dataset.name","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-name","meta":{"required":true},"sort":3},{"name":"data","fullName":"dr.dataset.data","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-data","meta":{},"sort":3},{"name":"url","fullName":"dr.dataset.url","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-url","meta":{},"sort":3},{"name":"async","fullName":"dr.dataset.async","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-async","meta":{},"sort":3},{"name":"","fullName":"dr.dataset.","icon":"icon-property","url":"#!/api/dr.dataset-property-","meta":{"private":true},"sort":3},{"name":"deleteundoable","fullName":"dr.editor.deleteundoable","icon":"icon-class","url":"#!/api/dr.editor.deleteundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.deleteundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.deleteundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.deleteundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.deleteundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.deleteundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-redo","meta":{},"sort":3},{"name":"dropdown","fullName":"dr.dropdown","icon":"icon-class","url":"#!/api/dr.dropdown","meta":{},"sort":1},{"name":"expanded","fullName":"dr.dropdown.expanded","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-expanded","meta":{},"sort":3},{"name":"selected","fullName":"dr.dropdown.selected","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selected","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.dropdown.selectcolor","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selectcolor","meta":{},"sort":3},{"name":"dropdownsize","fullName":"dr.dropdown.dropdownsize","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-dropdownsize","meta":{},"sort":3},{"name":"dropdownfont","fullName":"dr.dropdownfont","icon":"icon-class","url":"#!/api/dr.dropdownfont","meta":{},"sort":1},{"name":"expectedoutput","fullName":"dr.expectedoutput","icon":"icon-class","url":"#!/api/dr.expectedoutput","meta":{},"sort":1},{"name":"fontdetect","fullName":"dr.fontdetect","icon":"icon-class","url":"#!/api/dr.fontdetect","meta":{},"sort":1},{"name":"fonts","fullName":"dr.fontdetect.fonts","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-fonts","meta":{},"sort":3},{"name":"additional","fullName":"dr.fontdetect.additional","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-additional","meta":{},"sort":3},{"name":"detect","fullName":"dr.fontdetect.detect","icon":"icon-method","url":"#!/api/dr.fontdetect-method-detect","meta":{},"sort":3},{"name":"indicator","fullName":"dr.indicator","icon":"icon-class","url":"#!/api/dr.indicator","meta":{},"sort":1},{"name":"fill","fullName":"dr.indicator.fill","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-fill","meta":{},"sort":3},{"name":"inset","fullName":"dr.indicator.inset","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-inset","meta":{},"sort":3},{"name":"size","fullName":"dr.indicator.size","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-size","meta":{},"sort":3},{"name":"inputtext","fullName":"dr.inputtext","icon":"icon-class","url":"#!/api/dr.inputtext","meta":{},"sort":1},{"name":"onselect","fullName":"dr.inputtext.onselect","icon":"icon-event","url":"#!/api/dr.inputtext-event-onselect","meta":{},"sort":3},{"name":"labelbutton","fullName":"dr.labelbutton","icon":"icon-class","url":"#!/api/dr.labelbutton","meta":{},"sort":1},{"name":"labeltoggle","fullName":"dr.labeltoggle","icon":"icon-class","url":"#!/api/dr.labeltoggle","meta":{},"sort":1},{"name":"textlistbox","fullName":"dr.textlistbox","icon":"icon-class","url":"#!/api/dr.textlistbox","meta":{},"sort":1},{"name":"selectcolor","fullName":"dr.textlistbox.selectcolor","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-selectcolor","meta":{},"sort":3},{"name":"maxwidth","fullName":"dr.textlistbox.maxwidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxwidth","meta":{},"sort":3},{"name":"maxheight","fullName":"dr.textlistbox.maxheight","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxheight","meta":{},"sort":3},{"name":"safewidth","fullName":"dr.textlistbox.safewidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-safewidth","meta":{},"sort":3},{"name":"spacing","fullName":"dr.textlistbox.spacing","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-spacing","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-method","url":"#!/api/dr.textlistbox-method-","meta":{},"sort":3},{"name":"findSize","fullName":"dr.textlistbox.findSize","icon":"icon-method","url":"#!/api/dr.textlistbox-method-findSize","meta":{},"sort":3},{"name":"textlistboxitem","fullName":"dr.textlistboxitem","icon":"icon-class","url":"#!/api/dr.textlistboxitem","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup","icon":"icon-class","url":"#!/api/dr.markup","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup.markup","icon":"icon-attribute","url":"#!/api/dr.markup-attribute-markup","meta":{},"sort":3},{"name":"unescape","fullName":"dr.markup.unescape","icon":"icon-method","url":"#!/api/dr.markup-method-unescape","meta":{"private":true},"sort":3},{"name":"orderundoable","fullName":"dr.editor.orderundoable","icon":"icon-class","url":"#!/api/dr.editor.orderundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.orderundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-target","meta":{},"sort":3},{"name":"oldprevsibling","fullName":"dr.editor.orderundoable.oldprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-oldprevsibling","meta":{},"sort":3},{"name":"newprevsibling","fullName":"dr.editor.orderundoable.newprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-newprevsibling","meta":{},"sort":3},{"name":"rangeslider","fullName":"dr.rangeslider","icon":"icon-class","url":"#!/api/dr.rangeslider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.rangeslider.minvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-minvalue","meta":{},"sort":3},{"name":"maxlowvalue","fullName":"dr.rangeslider.maxlowvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxlowvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.rangeslider.axis","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.rangeslider.invert","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.rangeslider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-selectcolor","meta":{},"sort":3},{"name":"lowprogresscolor","fullName":"dr.rangeslider.lowprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-lowprogresscolor","meta":{},"sort":3},{"name":"highprogresscolor","fullName":"dr.rangeslider.highprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-highprogresscolor","meta":{},"sort":3},{"name":"replicator","fullName":"dr.replicator","icon":"icon-class","url":"#!/api/dr.replicator","meta":{},"sort":1},{"name":"pooling","fullName":"dr.replicator.pooling","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-pooling","meta":{},"sort":3},{"name":"data","fullName":"dr.replicator.data","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-data","meta":{},"sort":3},{"name":"path","fullName":"dr.replicator.path","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-path","meta":{},"sort":3},{"name":"classname","fullName":"dr.replicator.classname","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-classname","meta":{"required":true},"sort":3},{"name":"onreplicated","fullName":"dr.replicator.onreplicated","icon":"icon-event","url":"#!/api/dr.replicator-event-onreplicated","meta":{},"sort":3},{"name":"resizelayout","fullName":"dr.resizelayout","icon":"icon-class","url":"#!/api/dr.resizelayout","meta":{},"sort":1},{"name":"sizetoplatform","fullName":"dr.sizetoplatform","icon":"icon-class","url":"#!/api/dr.sizetoplatform","meta":{},"sort":1},{"name":"sizeToPlatform","fullName":"dr.sizetoplatform.sizeToPlatform","icon":"icon-method","url":"#!/api/dr.sizetoplatform-method-sizeToPlatform","meta":{},"sort":3},{"name":"slider","fullName":"dr.slider","icon":"icon-class","url":"#!/api/dr.slider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.slider.minvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-minvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.slider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.slider.value","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.slider.axis","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.slider.invert","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.slider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-selectcolor","meta":{},"sort":3},{"name":"progresscolor","fullName":"dr.slider.progresscolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-progresscolor","meta":{},"sort":3},{"name":"spacedlayout","fullName":"dr.spacedlayout","icon":"icon-class","url":"#!/api/dr.spacedlayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.spacedlayout.spacing","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.spacedlayout.outset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.spacedlayout.inset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-inset","meta":{},"sort":3},{"name":"axis","fullName":"dr.spacedlayout.axis","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.spacedlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"style","fullName":"dr.style","icon":"icon-class","url":"#!/api/dr.style","meta":{},"sort":1},{"name":"testingtimer","fullName":"dr.testingtimer","icon":"icon-class","url":"#!/api/dr.testingtimer","meta":{},"sort":1},{"name":"text","fullName":"dr.text","icon":"icon-class","url":"#!/api/dr.text","meta":{},"sort":1},{"name":"fontsize","fullName":"dr.text.fontsize","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontsize","meta":{},"sort":3},{"name":"fontfamily","fullName":"dr.text.fontfamily","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontfamily","meta":{},"sort":3},{"name":"textalign","fullName":"dr.text.textalign","icon":"icon-attribute","url":"#!/api/dr.text-attribute-textalign","meta":{},"sort":3},{"name":"bold","fullName":"dr.text.bold","icon":"icon-attribute","url":"#!/api/dr.text-attribute-bold","meta":{},"sort":3},{"name":"italic","fullName":"dr.text.italic","icon":"icon-attribute","url":"#!/api/dr.text-attribute-italic","meta":{},"sort":3},{"name":"smallcaps","fullName":"dr.text.smallcaps","icon":"icon-attribute","url":"#!/api/dr.text-attribute-smallcaps","meta":{},"sort":3},{"name":"underline","fullName":"dr.text.underline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-underline","meta":{},"sort":3},{"name":"strike","fullName":"dr.text.strike","icon":"icon-attribute","url":"#!/api/dr.text-attribute-strike","meta":{},"sort":3},{"name":"multiline","fullName":"dr.text.multiline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-multiline","meta":{},"sort":3},{"name":"ellipsis","fullName":"dr.text.ellipsis","icon":"icon-attribute","url":"#!/api/dr.text-attribute-ellipsis","meta":{},"sort":3},{"name":"text","fullName":"dr.text.text","icon":"icon-attribute","url":"#!/api/dr.text-attribute-text","meta":{},"sort":3},{"name":"format","fullName":"dr.text.format","icon":"icon-method","url":"#!/api/dr.text-method-format","meta":{},"sort":3},{"name":"undoable","fullName":"dr.editor.undoable","icon":"icon-class","url":"#!/api/dr.editor.undoable","meta":{"abstract":true},"sort":1},{"name":"done","fullName":"dr.editor.undoable.done","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-done","meta":{"readonly":true},"sort":3},{"name":"undodescription","fullName":"dr.editor.undoable.undodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-undodescription","meta":{},"sort":3},{"name":"redodescription","fullName":"dr.editor.undoable.redodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-redodescription","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getRedoDescription","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undostack","fullName":"dr.editor.undostack","icon":"icon-class","url":"#!/api/dr.editor.undostack","meta":{},"sort":1},{"name":"initNode","fullName":"dr.editor.undostack.initNode","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-initNode","meta":{},"sort":3},{"name":"reset","fullName":"dr.editor.undostack.reset","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-reset","meta":{},"sort":3},{"name":"__syncUndoabilityAttrs","fullName":"dr.editor.undostack.__syncUndoabilityAttrs","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__syncUndoabilityAttrs","meta":{"private":true},"sort":3},{"name":"canUndo","fullName":"dr.editor.undostack.canUndo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canUndo","meta":{},"sort":3},{"name":"canRedo","fullName":"dr.editor.undostack.canRedo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canRedo","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undostack.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undostack.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getRedoDescription","meta":{},"sort":3},{"name":"do","fullName":"dr.editor.undostack.do","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-do","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undostack.undo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.undostack.redo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-redo","meta":{},"sort":3},{"name":"__executeUndoable","fullName":"dr.editor.undostack.__executeUndoable","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__executeUndoable","meta":{"private":true},"sort":3},{"name":"variablelayout","fullName":"dr.variablelayout","icon":"icon-class","url":"#!/api/dr.variablelayout","meta":{},"sort":1},{"name":"updateparent","fullName":"dr.variablelayout.updateparent","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-updateparent","meta":{},"sort":3},{"name":"reverse","fullName":"dr.variablelayout.reverse","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-reverse","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.variablelayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"doAfterUpdate","fullName":"dr.variablelayout.doAfterUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doAfterUpdate","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.variablelayout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.variablelayout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"updateSubview","fullName":"dr.variablelayout.updateSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateSubview","meta":{},"sort":3},{"name":"skipSubview","fullName":"dr.variablelayout.skipSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-skipSubview","meta":{},"sort":3},{"name":"updateParent","fullName":"dr.variablelayout.updateParent","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateParent","meta":{},"sort":3},{"name":"videoplayer","fullName":"dr.videoplayer","icon":"icon-class","url":"#!/api/dr.videoplayer","meta":{},"sort":1},{"name":"video","fullName":"dr.videoplayer.video","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-video","meta":{"readonly":true},"sort":3},{"name":"controls","fullName":"dr.videoplayer.controls","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-controls","meta":{},"sort":3},{"name":"poster","fullName":"dr.videoplayer.poster","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-poster","meta":{},"sort":3},{"name":"preload","fullName":"dr.videoplayer.preload","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-preload","meta":{},"sort":3},{"name":"loop","fullName":"dr.videoplayer.loop","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-loop","meta":{},"sort":3},{"name":"volume","fullName":"dr.videoplayer.volume","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-volume","meta":{},"sort":3},{"name":"duration","fullName":"dr.videoplayer.duration","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-duration","meta":{"readonly":true},"sort":3},{"name":"currenttime","fullName":"dr.videoplayer.currenttime","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-currenttime","meta":{},"sort":3},{"name":"playing","fullName":"dr.videoplayer.playing","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-playing","meta":{},"sort":3},{"name":"src","fullName":"dr.videoplayer.src","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-src","meta":{},"sort":3},{"name":"webpage","fullName":"dr.webpage","icon":"icon-class","url":"#!/api/dr.webpage","meta":{},"sort":1},{"name":"src","fullName":"dr.webpage.src","icon":"icon-attribute","url":"#!/api/dr.webpage-attribute-src","meta":{},"sort":3},{"name":"wrappinglayout","fullName":"dr.wrappinglayout","icon":"icon-class","url":"#!/api/dr.wrappinglayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.wrappinglayout.spacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.wrappinglayout.outset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.wrappinglayout.inset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-inset","meta":{},"sort":3},{"name":"linespacing","fullName":"dr.wrappinglayout.linespacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linespacing","meta":{},"sort":3},{"name":"lineoutset","fullName":"dr.wrappinglayout.lineoutset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineoutset","meta":{},"sort":3},{"name":"lineinset","fullName":"dr.wrappinglayout.lineinset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineinset","meta":{},"sort":3},{"name":"justify","fullName":"dr.wrappinglayout.justify","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-justify","meta":{},"sort":3},{"name":"align","fullName":"dr.wrappinglayout.align","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-align","meta":{},"sort":3},{"name":"linealign","fullName":"dr.wrappinglayout.linealign","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linealign","meta":{},"sort":3},{"name":"axis","fullName":"dr.wrappinglayout.axis","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.wrappinglayout.attribute","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"doLineStart","fullName":"dr.wrappinglayout.doLineStart","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineStart","meta":{},"sort":3},{"name":"doLineEnd","fullName":"dr.wrappinglayout.doLineEnd","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineEnd","meta":{},"sort":3},{"name":"onlinecount","fullName":"dr.wrappinglayout.onlinecount","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onlinecount","meta":{},"sort":3},{"name":"onmaxsize","fullName":"dr.wrappinglayout.onmaxsize","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onmaxsize","meta":{},"sort":3},{"name":"global","fullName":"global","icon":"icon-class","url":"#!/api/global","meta":{},"sort":1},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"browser","fullName":"global.browser","icon":"icon-method","url":"#!/api/global-method-browser","meta":{},"sort":3},{"name":"editor","fullName":"global.editor","icon":"icon-method","url":"#!/api/global-method-editor","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doResolve","fullName":"global.doResolve","icon":"icon-method","url":"#!/api/global-method-doResolve","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"generateSetterName","fullName":"global.generateSetterName","icon":"icon-method","url":"#!/api/global-method-generateSetterName","meta":{},"sort":3},{"name":"generateGetterName","fullName":"global.generateGetterName","icon":"icon-method","url":"#!/api/global-method-generateGetterName","meta":{},"sort":3},{"name":"generateConfigAttrName","fullName":"global.generateConfigAttrName","icon":"icon-method","url":"#!/api/global-method-generateConfigAttrName","meta":{},"sort":3},{"name":"generateConstraintFunctionName","fullName":"global.generateConstraintFunctionName","icon":"icon-method","url":"#!/api/global-method-generateConstraintFunctionName","meta":{},"sort":3},{"name":"generateName","fullName":"global.generateName","icon":"icon-method","url":"#!/api/global-method-generateName","meta":{},"sort":3},{"name":"GETTER_NAMES","fullName":"global.GETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-GETTER_NAMES","meta":{},"sort":3},{"name":"SETTER_NAMES","fullName":"global.SETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-SETTER_NAMES","meta":{},"sort":3},{"name":"CONFIG_ATTR_NAMES","fullName":"global.CONFIG_ATTR_NAMES","icon":"icon-property","url":"#!/api/global-property-CONFIG_ATTR_NAMES","meta":{},"sort":3},{"name":"CONSTRAINT_FUNCTION_NAMES","fullName":"global.CONSTRAINT_FUNCTION_NAMES","icon":"icon-property","url":"#!/api/global-property-CONSTRAINT_FUNCTION_NAMES","meta":{},"sort":3},{"name":"setAttributes","fullName":"global.setAttributes","icon":"icon-method","url":"#!/api/global-method-setAttributes","meta":{},"sort":3},{"name":"getAttribute","fullName":"global.getAttribute","icon":"icon-method","url":"#!/api/global-method-getAttribute","meta":{},"sort":3},{"name":"getActualAttribute","fullName":"global.getActualAttribute","icon":"icon-method","url":"#!/api/global-method-getActualAttribute","meta":{},"sort":3},{"name":"setAttribute","fullName":"global.setAttribute","icon":"icon-method","url":"#!/api/global-method-setAttribute","meta":{"chainable":true},"sort":3},{"name":"setActualAttribute","fullName":"global.setActualAttribute","icon":"icon-method","url":"#!/api/global-method-setActualAttribute","meta":{"chainable":true},"sort":3},{"name":"getTypeForAttrName","fullName":"global.getTypeForAttrName","icon":"icon-method","url":"#!/api/global-method-getTypeForAttrName","meta":{"private":true},"sort":3},{"name":"setActual","fullName":"global.setActual","icon":"icon-method","url":"#!/api/global-method-setActual","meta":{},"sort":3},{"name":"setSimpleActual","fullName":"global.setSimpleActual","icon":"icon-method","url":"#!/api/global-method-setSimpleActual","meta":{},"sort":3},{"name":"setConstraint","fullName":"global.setConstraint","icon":"icon-method","url":"#!/api/global-method-setConstraint","meta":{"chainable":true},"sort":3},{"name":"setupConstraint","fullName":"global.setupConstraint","icon":"icon-method","url":"#!/api/global-method-setupConstraint","meta":{},"sort":3},{"name":"constraintify","fullName":"global.constraintify","icon":"icon-method","url":"#!/api/global-method-constraintify","meta":{"private":true},"sort":3},{"name":"isConstraintExpression","fullName":"global.isConstraintExpression","icon":"icon-method","url":"#!/api/global-method-isConstraintExpression","meta":{"private":true},"sort":3},{"name":"extractConstraintExpression","fullName":"global.extractConstraintExpression","icon":"icon-method","url":"#!/api/global-method-extractConstraintExpression","meta":{"private":true},"sort":3},{"name":"rebindConstraints","fullName":"global.rebindConstraints","icon":"icon-method","url":"#!/api/global-method-rebindConstraints","meta":{},"sort":3},{"name":"getConstraintTemplate","fullName":"global.getConstraintTemplate","icon":"icon-method","url":"#!/api/global-method-getConstraintTemplate","meta":{"private":true},"sort":3},{"name":"bindConstraint","fullName":"global.bindConstraint","icon":"icon-method","url":"#!/api/global-method-bindConstraint","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroy","fullName":"global.destroy","icon":"icon-method","url":"#!/api/global-method-destroy","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"global.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/global-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"PLATFORM_EVENTS","fullName":"global.PLATFORM_EVENTS","icon":"icon-property","url":"#!/api/global-property-PLATFORM_EVENTS","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"IDdictionary","fullName":"global.IDdictionary","icon":"icon-property","url":"#!/api/global-property-IDdictionary","meta":{},"sort":3},{"name":"__GUID_COUNTER","fullName":"global.__GUID_COUNTER","icon":"icon-property","url":"#!/api/global-property-__GUID_COUNTER","meta":{},"sort":3},{"name":"generateGuid","fullName":"global.generateGuid","icon":"icon-method","url":"#!/api/global-method-generateGuid","meta":{},"sort":3},{"name":"noop","fullName":"global.noop","icon":"icon-method","url":"#!/api/global-method-noop","meta":{},"sort":3},{"name":"resolveName","fullName":"global.resolveName","icon":"icon-method","url":"#!/api/global-method-resolveName","meta":{},"sort":3},{"name":"wrapFunction","fullName":"global.wrapFunction","icon":"icon-method","url":"#!/api/global-method-wrapFunction","meta":{},"sort":3},{"name":"dumpStack","fullName":"global.dumpStack","icon":"icon-method","url":"#!/api/global-method-dumpStack","meta":{},"sort":3},{"name":"fillTextTemplate","fullName":"global.fillTextTemplate","icon":"icon-method","url":"#!/api/global-method-fillTextTemplate","meta":{},"sort":3},{"name":"memoize","fullName":"global.memoize","icon":"icon-method","url":"#!/api/global-method-memoize","meta":{},"sort":3},{"name":"extend","fullName":"global.extend","icon":"icon-method","url":"#!/api/global-method-extend","meta":{},"sort":3},{"name":"closeTo","fullName":"global.closeTo","icon":"icon-method","url":"#!/api/global-method-closeTo","meta":{},"sort":3},{"name":"notifyReady","fullName":"global.notifyReady","icon":"icon-method","url":"#!/api/global-method-notifyReady","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"makePuppet","fullName":"global.makePuppet","icon":"icon-method","url":"#!/api/global-method-makePuppet","meta":{"private":true},"sort":3},{"name":"releasePuppet","fullName":"global.releasePuppet","icon":"icon-method","url":"#!/api/global-method-releasePuppet","meta":{"private":true},"sort":3},{"name":"__calculateLoopTime","fullName":"global.__calculateLoopTime","icon":"icon-method","url":"#!/api/global-method-__calculateLoopTime","meta":{"private":true},"sort":3},{"name":"__calculateTotalDuration","fullName":"global.__calculateTotalDuration","icon":"icon-method","url":"#!/api/global-method-__calculateTotalDuration","meta":{"private":true},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"rewind","fullName":"global.rewind","icon":"icon-method","url":"#!/api/global-method-rewind","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{"private":true},"sort":3},{"name":"__resetProgress","fullName":"global.__resetProgress","icon":"icon-method","url":"#!/api/global-method-__resetProgress","meta":{"private":true},"sort":3},{"name":"__isFlipped","fullName":"global.__isFlipped","icon":"icon-method","url":"#!/api/global-method-__isFlipped","meta":{"private":true},"sort":3},{"name":"__update","fullName":"global.__update","icon":"icon-method","url":"#!/api/global-method-__update","meta":{"private":true},"sort":3},{"name":"__advance","fullName":"global.__advance","icon":"icon-method","url":"#!/api/global-method-__advance","meta":{"private":true},"sort":3},{"name":"__calculateRemainder","fullName":"global.__calculateRemainder","icon":"icon-method","url":"#!/api/global-method-__calculateRemainder","meta":{"private":true},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"__notifyAnimators","fullName":"global.__notifyAnimators","icon":"icon-method","url":"#!/api/global-method-__notifyAnimators","meta":{"private":true},"sort":3},{"name":"__updateDuration","fullName":"global.__updateDuration","icon":"icon-method","url":"#!/api/global-method-__updateDuration","meta":{"private":true},"sort":3},{"name":"doSubnodeAdded","fullName":"global.doSubnodeAdded","icon":"icon-method","url":"#!/api/global-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"global.doSubnodeRemoved","icon":"icon-method","url":"#!/api/global-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"__getIntersection","fullName":"global.__getIntersection","icon":"icon-method","url":"#!/api/global-method-__getIntersection","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"__getColorValue","fullName":"global.__getColorValue","icon":"icon-method","url":"#!/api/global-method-__getColorValue","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"pendingEventQueue","fullName":"global.pendingEventQueue","icon":"icon-property","url":"#!/api/global-property-pendingEventQueue","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"detachAllObservers","fullName":"global.detachAllObservers","icon":"icon-method","url":"#!/api/global-method-detachAllObservers","meta":{},"sort":3},{"name":"getObservers","fullName":"global.getObservers","icon":"icon-method","url":"#!/api/global-method-getObservers","meta":{},"sort":3},{"name":"hasObservers","fullName":"global.hasObservers","icon":"icon-method","url":"#!/api/global-method-hasObservers","meta":{},"sort":3},{"name":"sendEvent","fullName":"global.sendEvent","icon":"icon-method","url":"#!/api/global-method-sendEvent","meta":{"chainable":true},"sort":3},{"name":"__fireEvent","fullName":"global.__fireEvent","icon":"icon-method","url":"#!/api/global-method-__fireEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"syncTo","fullName":"global.syncTo","icon":"icon-method","url":"#!/api/global-method-syncTo","meta":{},"sort":3},{"name":"isListeningTo","fullName":"global.isListeningTo","icon":"icon-method","url":"#!/api/global-method-isListeningTo","meta":{},"sort":3},{"name":"getObservables","fullName":"global.getObservables","icon":"icon-method","url":"#!/api/global-method-getObservables","meta":{},"sort":3},{"name":"hasObservables","fullName":"global.hasObservables","icon":"icon-method","url":"#!/api/global-method-hasObservables","meta":{},"sort":3},{"name":"listenToOnce","fullName":"global.listenToOnce","icon":"icon-method","url":"#!/api/global-method-listenToOnce","meta":{},"sort":3},{"name":"listenTo","fullName":"global.listenTo","icon":"icon-method","url":"#!/api/global-method-listenTo","meta":{"chainable":true},"sort":3},{"name":"stopListening","fullName":"global.stopListening","icon":"icon-method","url":"#!/api/global-method-stopListening","meta":{"chainable":true},"sort":3},{"name":"stopListeningToAllObservables","fullName":"global.stopListeningToAllObservables","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllObservables","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"listenToPlatform","fullName":"global.listenToPlatform","icon":"icon-method","url":"#!/api/global-method-listenToPlatform","meta":{},"sort":3},{"name":"stopListeningToPlatform","fullName":"global.stopListeningToPlatform","icon":"icon-method","url":"#!/api/global-method-stopListeningToPlatform","meta":{},"sort":3},{"name":"stopListeningToAllPlatformSources","fullName":"global.stopListeningToAllPlatformSources","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllPlatformSources","meta":{},"sort":3},{"name":"invokePlatformObserverCallback","fullName":"global.invokePlatformObserverCallback","icon":"icon-method","url":"#!/api/global-method-invokePlatformObserverCallback","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"register","fullName":"global.register","icon":"icon-method","url":"#!/api/global-method-register","meta":{},"sort":3},{"name":"unregister","fullName":"global.unregister","icon":"icon-method","url":"#!/api/global-method-unregister","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"notifyError","fullName":"global.notifyError","icon":"icon-method","url":"#!/api/global-method-notifyError","meta":{},"sort":3},{"name":"notifyWarn","fullName":"global.notifyWarn","icon":"icon-method","url":"#!/api/global-method-notifyWarn","meta":{},"sort":3},{"name":"notifyMsg","fullName":"global.notifyMsg","icon":"icon-method","url":"#!/api/global-method-notifyMsg","meta":{},"sort":3},{"name":"notifyDebug","fullName":"global.notifyDebug","icon":"icon-method","url":"#!/api/global-method-notifyDebug","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"callOnIdle","fullName":"global.callOnIdle","icon":"icon-method","url":"#!/api/global-method-callOnIdle","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__handleFocused","fullName":"global.__handleFocused","icon":"icon-method","url":"#!/api/global-method-__handleFocused","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getRoots","fullName":"global.getRoots","icon":"icon-method","url":"#!/api/global-method-getRoots","meta":{},"sort":3},{"name":"addRoot","fullName":"global.addRoot","icon":"icon-method","url":"#!/api/global-method-addRoot","meta":{},"sort":3},{"name":"removeRoot","fullName":"global.removeRoot","icon":"icon-method","url":"#!/api/global-method-removeRoot","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getWidth","fullName":"global.getWidth","icon":"icon-method","url":"#!/api/global-method-getWidth","meta":{},"sort":3},{"name":"getHeight","fullName":"global.getHeight","icon":"icon-method","url":"#!/api/global-method-getHeight","meta":{},"sort":3},{"name":"__handleResizeEvent","fullName":"global.__handleResizeEvent","icon":"icon-method","url":"#!/api/global-method-__handleResizeEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__skipX","fullName":"global.__skipX","icon":"icon-method","url":"#!/api/global-method-__skipX","meta":{},"sort":3},{"name":"__skipY","fullName":"global.__skipY","icon":"icon-method","url":"#!/api/global-method-__skipY","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"toHex","fullName":"global.toHex","icon":"icon-method","url":"#!/api/global-method-toHex","meta":{},"sort":3},{"name":"rgbToHex","fullName":"global.rgbToHex","icon":"icon-method","url":"#!/api/global-method-rgbToHex","meta":{},"sort":3},{"name":"cleanChannelValue","fullName":"global.cleanChannelValue","icon":"icon-method","url":"#!/api/global-method-cleanChannelValue","meta":{},"sort":3},{"name":"getRedChannel","fullName":"global.getRedChannel","icon":"icon-method","url":"#!/api/global-method-getRedChannel","meta":{},"sort":3},{"name":"getGreenChannel","fullName":"global.getGreenChannel","icon":"icon-method","url":"#!/api/global-method-getGreenChannel","meta":{},"sort":3},{"name":"getBlueChannel","fullName":"global.getBlueChannel","icon":"icon-method","url":"#!/api/global-method-getBlueChannel","meta":{},"sort":3},{"name":"makeColorFromNumber","fullName":"global.makeColorFromNumber","icon":"icon-method","url":"#!/api/global-method-makeColorFromNumber","meta":{},"sort":3},{"name":"makeColorFromHexString","fullName":"global.makeColorFromHexString","icon":"icon-method","url":"#!/api/global-method-makeColorFromHexString","meta":{},"sort":3},{"name":"getLighterColor","fullName":"global.getLighterColor","icon":"icon-method","url":"#!/api/global-method-getLighterColor","meta":{},"sort":3},{"name":"makeColorNumberFromChannels","fullName":"global.makeColorNumberFromChannels","icon":"icon-method","url":"#!/api/global-method-makeColorNumberFromChannels","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"setRed","fullName":"global.setRed","icon":"icon-method","url":"#!/api/global-method-setRed","meta":{},"sort":3},{"name":"setGreen","fullName":"global.setGreen","icon":"icon-method","url":"#!/api/global-method-setGreen","meta":{},"sort":3},{"name":"setBlue","fullName":"global.setBlue","icon":"icon-method","url":"#!/api/global-method-setBlue","meta":{},"sort":3},{"name":"getColorNumber","fullName":"global.getColorNumber","icon":"icon-method","url":"#!/api/global-method-getColorNumber","meta":{},"sort":3},{"name":"getHtmlHexString","fullName":"global.getHtmlHexString","icon":"icon-method","url":"#!/api/global-method-getHtmlHexString","meta":{},"sort":3},{"name":"isLighterThan","fullName":"global.isLighterThan","icon":"icon-method","url":"#!/api/global-method-isLighterThan","meta":{},"sort":3},{"name":"getDiffFrom","fullName":"global.getDiffFrom","icon":"icon-method","url":"#!/api/global-method-getDiffFrom","meta":{},"sort":3},{"name":"applyDiff","fullName":"global.applyDiff","icon":"icon-method","url":"#!/api/global-method-applyDiff","meta":{"chainable":true},"sort":3},{"name":"add","fullName":"global.add","icon":"icon-method","url":"#!/api/global-method-add","meta":{"chainable":true},"sort":3},{"name":"subtract","fullName":"global.subtract","icon":"icon-method","url":"#!/api/global-method-subtract","meta":{"chainable":true},"sort":3},{"name":"multiply","fullName":"global.multiply","icon":"icon-method","url":"#!/api/global-method-multiply","meta":{"chainable":true},"sort":3},{"name":"divide","fullName":"global.divide","icon":"icon-method","url":"#!/api/global-method-divide","meta":{"chainable":true},"sort":3},{"name":"clone","fullName":"global.clone","icon":"icon-method","url":"#!/api/global-method-clone","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"degreesToRadians","fullName":"global.degreesToRadians","icon":"icon-method","url":"#!/api/global-method-degreesToRadians","meta":{},"sort":3},{"name":"radiansToDegrees","fullName":"global.radiansToDegrees","icon":"icon-method","url":"#!/api/global-method-radiansToDegrees","meta":{},"sort":3},{"name":"translate","fullName":"global.translate","icon":"icon-method","url":"#!/api/global-method-translate","meta":{"chainable":true},"sort":3},{"name":"rotate","fullName":"global.rotate","icon":"icon-method","url":"#!/api/global-method-rotate","meta":{"chainable":true},"sort":3},{"name":"scale","fullName":"global.scale","icon":"icon-method","url":"#!/api/global-method-scale","meta":{"chainable":true},"sort":3},{"name":"transformAroundOrigin","fullName":"global.transformAroundOrigin","icon":"icon-method","url":"#!/api/global-method-transformAroundOrigin","meta":{},"sort":3},{"name":"getBoundingBox","fullName":"global.getBoundingBox","icon":"icon-method","url":"#!/api/global-method-getBoundingBox","meta":{},"sort":3},{"name":"keys","fullName":"global.keys","icon":"icon-property","url":"#!/api/global-property-keys","meta":{},"sort":3},{"name":"isArray","fullName":"global.isArray","icon":"icon-property","url":"#!/api/global-property-isArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"now","fullName":"global.now","icon":"icon-property","url":"#!/api/global-property-now","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"__sendEvent","fullName":"global.__sendEvent","icon":"icon-method","url":"#!/api/global-method-__sendEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getCaretPosition","fullName":"global.getCaretPosition","icon":"icon-method","url":"#!/api/global-method-getCaretPosition","meta":{},"sort":3},{"name":"setCaretPosition","fullName":"global.setCaretPosition","icon":"icon-method","url":"#!/api/global-method-setCaretPosition","meta":{},"sort":3},{"name":"setCaretToStart","fullName":"global.setCaretToStart","icon":"icon-method","url":"#!/api/global-method-setCaretToStart","meta":{},"sort":3},{"name":"setCaretToEnd","fullName":"global.setCaretToEnd","icon":"icon-method","url":"#!/api/global-method-setCaretToEnd","meta":{},"sort":3},{"name":"selectAll","fullName":"global.selectAll","icon":"icon-method","url":"#!/api/global-method-selectAll","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"set_boxshadow","fullName":"global.set_boxshadow","icon":"icon-method","url":"#!/api/global-method-set_boxshadow","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"setInnerHTML","fullName":"global.setInnerHTML","icon":"icon-method","url":"#!/api/global-method-setInnerHTML","meta":{},"sort":3},{"name":"getInnerHTML","fullName":"global.getInnerHTML","icon":"icon-method","url":"#!/api/global-method-getInnerHTML","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"isBehind","fullName":"global.isBehind","icon":"icon-method","url":"#!/api/global-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"global.isInFrontOf","icon":"icon-method","url":"#!/api/global-method-isInFrontOf","meta":{},"sort":3},{"name":"__comparePosition","fullName":"global.__comparePosition","icon":"icon-method","url":"#!/api/global-method-__comparePosition","meta":{"private":true},"sort":3},{"name":"moveToFront","fullName":"global.moveToFront","icon":"icon-method","url":"#!/api/global-method-moveToFront","meta":{},"sort":3},{"name":"moveToBack","fullName":"global.moveToBack","icon":"icon-method","url":"#!/api/global-method-moveToBack","meta":{},"sort":3},{"name":"moveInFrontOf","fullName":"global.moveInFrontOf","icon":"icon-method","url":"#!/api/global-method-moveInFrontOf","meta":{},"sort":3},{"name":"moveBehind","fullName":"global.moveBehind","icon":"icon-method","url":"#!/api/global-method-moveBehind","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"global.getNextSiblingView","icon":"icon-method","url":"#!/api/global-method-getNextSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"global.getPrevSiblingView","icon":"icon-method","url":"#!/api/global-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"global.getLastSiblingView","icon":"icon-method","url":"#!/api/global-method-getLastSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"global.getFirstSiblingView","icon":"icon-method","url":"#!/api/global-method-getFirstSiblingView","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"platform","fullName":"global.platform","icon":"icon-property","url":"#!/api/global-property-platform","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"__isDomElementVisible","fullName":"global.__isDomElementVisible","icon":"icon-method","url":"#!/api/global-method-__isDomElementVisible","meta":{},"sort":3},{"name":"createElement","fullName":"global.createElement","icon":"icon-method","url":"#!/api/global-method-createElement","meta":{},"sort":3},{"name":"simulatePlatformEvent","fullName":"global.simulatePlatformEvent","icon":"icon-method","url":"#!/api/global-method-simulatePlatformEvent","meta":{},"sort":3},{"name":"retainFocusDuringDomUpdate","fullName":"global.retainFocusDuringDomUpdate","icon":"icon-method","url":"#!/api/global-method-retainFocusDuringDomUpdate","meta":{},"sort":3},{"name":"sendReadyEvent","fullName":"global.sendReadyEvent","icon":"icon-method","url":"#!/api/global-method-sendReadyEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doActivated","fullName":"global.doActivated","icon":"icon-method","url":"#!/api/global-method-doActivated","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"drawDisabledState","fullName":"global.drawDisabledState","icon":"icon-method","url":"#!/api/global-method-drawDisabledState","meta":{"abstract":true},"sort":3},{"name":"drawFocusedState","fullName":"global.drawFocusedState","icon":"icon-method","url":"#!/api/global-method-drawFocusedState","meta":{},"sort":3},{"name":"drawHoverState","fullName":"global.drawHoverState","icon":"icon-method","url":"#!/api/global-method-drawHoverState","meta":{"abstract":true},"sort":3},{"name":"drawActiveState","fullName":"global.drawActiveState","icon":"icon-method","url":"#!/api/global-method-drawActiveState","meta":{"abstract":true},"sort":3},{"name":"drawReadyState","fullName":"global.drawReadyState","icon":"icon-method","url":"#!/api/global-method-drawReadyState","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"disabled","fullName":"global.disabled","icon":"icon-attribute","url":"#!/api/global-attribute-disabled","meta":{},"sort":3},{"name":"doDisabled","fullName":"global.doDisabled","icon":"icon-method","url":"#!/api/global-method-doDisabled","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isdraggable","fullName":"global.isdraggable","icon":"icon-attribute","url":"#!/api/global-attribute-isdraggable","meta":{},"sort":3},{"name":"isdragging","fullName":"global.isdragging","icon":"icon-attribute","url":"#!/api/global-attribute-isdragging","meta":{},"sort":3},{"name":"allowabort","fullName":"global.allowabort","icon":"icon-attribute","url":"#!/api/global-attribute-allowabort","meta":{},"sort":3},{"name":"centeronmouse","fullName":"global.centeronmouse","icon":"icon-attribute","url":"#!/api/global-attribute-centeronmouse","meta":{},"sort":3},{"name":"distancebeforedrag","fullName":"global.distancebeforedrag","icon":"icon-attribute","url":"#!/api/global-attribute-distancebeforedrag","meta":{},"sort":3},{"name":"dragaxis","fullName":"global.dragaxis","icon":"icon-attribute","url":"#!/api/global-attribute-dragaxis","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getDragViews","fullName":"global.getDragViews","icon":"icon-method","url":"#!/api/global-method-getDragViews","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"updatePosition","fullName":"global.updatePosition","icon":"icon-method","url":"#!/api/global-method-updatePosition","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"getDistanceFromOriginalLocation","fullName":"global.getDistanceFromOriginalLocation","icon":"icon-method","url":"#!/api/global-method-getDistanceFromOriginalLocation","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"activationkeys","fullName":"global.activationkeys","icon":"icon-attribute","url":"#!/api/global-attribute-activationkeys","meta":{},"sort":3},{"name":"activateKeyDown","fullName":"global.activateKeyDown","icon":"icon-attribute","url":"#!/api/global-attribute-activateKeyDown","meta":{"readonly":true},"sort":3},{"name":"repeatkeydown","fullName":"global.repeatkeydown","icon":"icon-attribute","url":"#!/api/global-attribute-repeatkeydown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doBlur","fullName":"global.doBlur","icon":"icon-method","url":"#!/api/global-method-doBlur","meta":{},"sort":3},{"name":"doActivationKeyDown","fullName":"global.doActivationKeyDown","icon":"icon-method","url":"#!/api/global-method-doActivationKeyDown","meta":{"abstract":true},"sort":3},{"name":"doActivationKeyUp","fullName":"global.doActivationKeyUp","icon":"icon-method","url":"#!/api/global-method-doActivationKeyUp","meta":{},"sort":3},{"name":"doActivationKeyAborted","fullName":"global.doActivationKeyAborted","icon":"icon-method","url":"#!/api/global-method-doActivationKeyAborted","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismousedown","fullName":"global.ismousedown","icon":"icon-attribute","url":"#!/api/global-attribute-ismousedown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"doMouseDown","fullName":"global.doMouseDown","icon":"icon-method","url":"#!/api/global-method-doMouseDown","meta":{},"sort":3},{"name":"doMouseUp","fullName":"global.doMouseUp","icon":"icon-method","url":"#!/api/global-method-doMouseUp","meta":{},"sort":3},{"name":"doMouseUpInside","fullName":"global.doMouseUpInside","icon":"icon-method","url":"#!/api/global-method-doMouseUpInside","meta":{},"sort":3},{"name":"doMouseUpOutside","fullName":"global.doMouseUpOutside","icon":"icon-method","url":"#!/api/global-method-doMouseUpOutside","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismouseover","fullName":"global.ismouseover","icon":"icon-attribute","url":"#!/api/global-attribute-ismouseover","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doSmoothMouseOver","fullName":"global.doSmoothMouseOver","icon":"icon-method","url":"#!/api/global-method-doSmoothMouseOver","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"updateUI","fullName":"global.updateUI","icon":"icon-method","url":"#!/api/global-method-updateUI","meta":{"abstract":true},"sort":3},{"name":"Dynamically Constraining Attributes with JavaScript Expressions","fullName":"guide: Dynamically Constraining Attributes with JavaScript Expressions","icon":"icon-guide","url":"#!/guide/constraints","meta":{},"sort":4},{"name":"Troubleshooting and Debugging Dreem Applications","fullName":"guide: Troubleshooting and Debugging Dreem Applications","icon":"icon-guide","url":"#!/guide/debug","meta":{},"sort":4},{"name":"Dreem Class Packages Guide","fullName":"guide: Dreem Class Packages Guide","icon":"icon-guide","url":"#!/guide/packages","meta":{},"sort":4},{"name":"Dreem Plugin Guide","fullName":"guide: Dreem Plugin Guide","icon":"icon-guide","url":"#!/guide/plugins","meta":{},"sort":4},{"name":"Starting out with Dreem (using windows)\r","fullName":"guide: Starting out with Dreem (using windows)\r","icon":"icon-guide","url":"#!/guide/startingwithdreem","meta":{},"sort":4},{"name":"Dreem Language Guide","fullName":"guide: Dreem Language Guide","icon":"icon-guide","url":"#!/guide/subclassing","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Attributes","position":0.9,"icon":"/Users/freemason/workspace/teem/dreem2/docs/lib/attr.png","toolbar_title":"Attributes","subsections":[{"title":"Required attributes","filter":{"required":true}},{"title":"Optional attributes","filter":{"required":false},"default":true}],"name":"attribute"},{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}};
    diff --git a/docs/api/data-a37746aac934b3d2a6c0cdbec3ea731a.js b/docs/api/data-a37746aac934b3d2a6c0cdbec3ea731a.js
    new file mode 100644
    index 0000000..ea94daa
    --- /dev/null
    +++ b/docs/api/data-a37746aac934b3d2a6c0cdbec3ea731a.js
    @@ -0,0 +1 @@
    +Docs = {"data":{"classes":[{"name":"BusClient","extends":null,"private":null,"icon":"icon-class"},{"name":"BusServer","extends":null,"private":null,"icon":"icon-class"},{"name":"CompositionServer","extends":null,"private":null,"icon":"icon-class"},{"name":"DaliGen","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemCompiler","extends":null,"private":null,"icon":"icon-class"},{"name":"DreemError","extends":null,"private":null,"icon":"icon-class"},{"name":"FileWatcher","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.HTMLParser","extends":null,"private":null,"icon":"icon-class"},{"name":"NodeWebSocket","extends":null,"private":null,"icon":"icon-class"},{"name":"PluginLoader","extends":null,"private":null,"icon":"icon-class"},{"name":"RunMonitor","extends":null,"private":null,"icon":"icon-class"},{"name":"TeemServer","extends":null,"private":null,"icon":"icon-class"},{"name":"Eventable","extends":"Module","private":null,"icon":"icon-class"},{"name":"dr.node","extends":"Eventable","private":null,"icon":"icon-class"},{"name":"parser.Error","extends":null,"private":null,"icon":"icon-class"},{"name":"parser.Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"Compiler","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.Animator.DEFAULT_MOTION","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.layout","extends":"dr.baselayout","private":null,"icon":"icon-class"},{"name":"dr.view","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.alignlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.editor.attrundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.bitmap","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.buttonbase","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.checkbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.editor.compoundundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.constantlayout","extends":"dr.layout","private":null,"icon":"icon-class"},{"name":"dr.editor.createundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.datapath","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.dataset","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.editor.deleteundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.dropdown","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.dropdownfont","extends":"dr.dropdown","private":null,"icon":"icon-class"},{"name":"dr.expectedoutput","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.floatingpanel","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.fontdetect","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.indicator","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.inputtext","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.labelbutton","extends":"dr.buttonbase","private":null,"icon":"icon-class"},{"name":"dr.labeltoggle","extends":"dr.labelbutton","private":null,"icon":"icon-class"},{"name":"dr.textlistbox","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.textlistboxitem","extends":"dr.text","private":null,"icon":"icon-class"},{"name":"dr.markup","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.orderundoable","extends":"dr.editor.undoable","private":null,"icon":"icon-class"},{"name":"dr.rangeslider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.replicator","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.resizelayout","extends":"dr.spacedlayout","private":null,"icon":"icon-class"},{"name":"dr.sizetoplatform","extends":null,"private":null,"icon":"icon-class"},{"name":"dr.slider","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.spacedlayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"dr.style","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.testingtimer","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.text","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.editor.undoable","extends":"dr.eventable","private":null,"icon":"icon-class"},{"name":"dr.editor.undostack","extends":"dr.node","private":null,"icon":"icon-class"},{"name":"dr.variablelayout","extends":"dr.constantlayout","private":null,"icon":"icon-class"},{"name":"dr.videoplayer","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.webpage","extends":"dr.view","private":null,"icon":"icon-class"},{"name":"dr.wrappinglayout","extends":"dr.variablelayout","private":null,"icon":"icon-class"},{"name":"global","extends":null,"private":null,"icon":"icon-class"}],"guides":[{"title":"Dreem Guides","items":[{"name":"constraints","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints","title":"Dynamically Constraining Attributes with JavaScript Expressions","description":"This introduction to attribute constraints and explains how to get started using them in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/constraints/README.md"},{"name":"debug","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug","title":"Troubleshooting and Debugging Dreem Applications","description":"Tips for debugging Dreem  ","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/debug/README.md"},{"name":"packages","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages","title":"Dreem Class Packages Guide","description":"This guide describes how packages work in the class system","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/packages/README.md"},{"name":"plugins","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins","title":"Dreem Plugin Guide","description":"This introduction to building plugins in Dreem.","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/plugins/README.md"},{"name":"startingwithdreem","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem","title":"Starting out with Dreem (using windows)\r","description":"Walkthrough on how to install Dreem and write you first few apps (from a coders perspective) \r","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/startingwithdreem/README.md"},{"name":"subclassing","url":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing","title":"Dreem Language Guide","description":"This guide introduces some common features of Dreem and documents some unexpected features and aspects of the language","filename":"/Users/freemason/workspace/teem/dreem2/docs/guides/subclassing/README.md"}]}],"videos":[],"examples":[],"search":[{"name":"BusClient","fullName":"BusClient","icon":"icon-class","url":"#!/api/BusClient","meta":{},"sort":1},{"name":"__reconnect","fullName":"BusClient.__reconnect","icon":"icon-method","url":"#!/api/BusClient-method-__reconnect","meta":{},"sort":3},{"name":"send","fullName":"BusClient.send","icon":"icon-method","url":"#!/api/BusClient-method-send","meta":{},"sort":3},{"name":"onMessage","fullName":"BusClient.onMessage","icon":"icon-event","url":"#!/api/BusClient-event-onMessage","meta":{},"sort":3},{"name":"BusServer","fullName":"BusServer","icon":"icon-class","url":"#!/api/BusServer","meta":{},"sort":1},{"name":"addWebSocket","fullName":"BusServer.addWebSocket","icon":"icon-method","url":"#!/api/BusServer-method-addWebSocket","meta":{},"sort":3},{"name":"onMessage","fullName":"BusServer.onMessage","icon":"icon-event","url":"#!/api/BusServer-event-onMessage","meta":{},"sort":3},{"name":"onConnect","fullName":"BusServer.onConnect","icon":"icon-event","url":"#!/api/BusServer-event-onConnect","meta":{},"sort":3},{"name":"broadcast","fullName":"BusServer.broadcast","icon":"icon-method","url":"#!/api/BusServer-method-broadcast","meta":{},"sort":3},{"name":"getHTML","fullName":"BusServer.getHTML","icon":"icon-method","url":"#!/api/BusServer-method-getHTML","meta":{},"sort":3},{"name":"CompositionServer","fullName":"CompositionServer","icon":"icon-class","url":"#!/api/CompositionServer","meta":{},"sort":1},{"name":"request","fullName":"CompositionServer.request","icon":"icon-method","url":"#!/api/CompositionServer-method-request","meta":{},"sort":3},{"name":"onChange","fullName":"CompositionServer.onChange","icon":"icon-event","url":"#!/api/CompositionServer-event-onChange","meta":{},"sort":3},{"name":"__buildScreenPath","fullName":"CompositionServer.__buildScreenPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildScreenPath","meta":{"private":true},"sort":3},{"name":"__buildPath","fullName":"CompositionServer.__buildPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__buildPath","meta":{"private":true},"sort":3},{"name":"__showErrors","fullName":"CompositionServer.__showErrors","icon":"icon-method","url":"#!/api/CompositionServer-method-__showErrors","meta":{"private":true},"sort":3},{"name":"__parseDreSync","fullName":"CompositionServer.__parseDreSync","icon":"icon-method","url":"#!/api/CompositionServer-method-__parseDreSync","meta":{"private":true},"sort":3},{"name":"__makeLocalDeps","fullName":"CompositionServer.__makeLocalDeps","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeLocalDeps","meta":{"private":true},"sort":3},{"name":"__lookupDep","fullName":"CompositionServer.__lookupDep","icon":"icon-method","url":"#!/api/CompositionServer-method-__lookupDep","meta":{"private":true},"sort":3},{"name":"__compileAndWriteDreToJS","fullName":"CompositionServer.__compileAndWriteDreToJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileAndWriteDreToJS","meta":{},"sort":3},{"name":"__compileLocalClass","fullName":"CompositionServer.__compileLocalClass","icon":"icon-method","url":"#!/api/CompositionServer-method-__compileLocalClass","meta":{"private":true},"sort":3},{"name":"__handleInclude","fullName":"CompositionServer.__handleInclude","icon":"icon-method","url":"#!/api/CompositionServer-method-__handleInclude","meta":{"private":true},"sort":3},{"name":"__getCompositionPath","fullName":"CompositionServer.__getCompositionPath","icon":"icon-method","url":"#!/api/CompositionServer-method-__getCompositionPath","meta":{"private":true},"sort":3},{"name":"__reloadComposition","fullName":"CompositionServer.__reloadComposition","icon":"icon-method","url":"#!/api/CompositionServer-method-__reloadComposition","meta":{"private":true},"sort":3},{"name":"__makeComponentJS","fullName":"CompositionServer.__makeComponentJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeComponentJS","meta":{"private":true},"sort":3},{"name":"__makeScreenJS","fullName":"CompositionServer.__makeScreenJS","icon":"icon-method","url":"#!/api/CompositionServer-method-__makeScreenJS","meta":{"private":true},"sort":3},{"name":"__packageDali","fullName":"CompositionServer.__packageDali","icon":"icon-method","url":"#!/api/CompositionServer-method-__packageDali","meta":{},"sort":3},{"name":"__renderHTMLTemplate","fullName":"CompositionServer.__renderHTMLTemplate","icon":"icon-method","url":"#!/api/CompositionServer-method-__renderHTMLTemplate","meta":{},"sort":3},{"name":"__mkdirParent","fullName":"CompositionServer.__mkdirParent","icon":"icon-method","url":"#!/api/CompositionServer-method-__mkdirParent","meta":{},"sort":3},{"name":"__writeFileIfChanged","fullName":"CompositionServer.__writeFileIfChanged","icon":"icon-method","url":"#!/api/CompositionServer-method-__writeFileIfChanged","meta":{},"sort":3},{"name":"DaliGen","fullName":"DaliGen","icon":"icon-class","url":"#!/api/DaliGen","meta":{},"sort":1},{"name":"DreemCompiler","fullName":"DreemCompiler","icon":"icon-class","url":"#!/api/DreemCompiler","meta":{},"sort":1},{"name":"DreemError","fullName":"DreemError","icon":"icon-class","url":"#!/api/DreemError","meta":{},"sort":1},{"name":"FileWatcher","fullName":"FileWatcher","icon":"icon-class","url":"#!/api/FileWatcher","meta":{},"sort":1},{"name":"onChange","fullName":"FileWatcher.onChange","icon":"icon-event","url":"#!/api/FileWatcher-event-onChange","meta":{},"sort":3},{"name":"watch","fullName":"FileWatcher.watch","icon":"icon-method","url":"#!/api/FileWatcher-method-watch","meta":{},"sort":3},{"name":"HTMLParser","fullName":"parser.HTMLParser","icon":"icon-class","url":"#!/api/parser.HTMLParser","meta":{},"sort":1},{"name":"reserialize","fullName":"parser.HTMLParser.reserialize","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-reserialize","meta":{},"sort":3},{"name":"parse","fullName":"parser.HTMLParser.parse","icon":"icon-method","url":"#!/api/parser.HTMLParser-method-parse","meta":{},"sort":3},{"name":"NodeWebSocket","fullName":"NodeWebSocket","icon":"icon-class","url":"#!/api/NodeWebSocket","meta":{},"sort":1},{"name":"onMessage","fullName":"NodeWebSocket.onMessage","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onMessage","meta":{},"sort":3},{"name":"onClose","fullName":"NodeWebSocket.onClose","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onClose","meta":{},"sort":3},{"name":"onError","fullName":"NodeWebSocket.onError","icon":"icon-event","url":"#!/api/NodeWebSocket-event-onError","meta":{},"sort":3},{"name":"send","fullName":"NodeWebSocket.send","icon":"icon-method","url":"#!/api/NodeWebSocket-method-send","meta":{},"sort":3},{"name":"close","fullName":"NodeWebSocket.close","icon":"icon-method","url":"#!/api/NodeWebSocket-method-close","meta":{},"sort":3},{"name":"PluginLoader","fullName":"PluginLoader","icon":"icon-class","url":"#!/api/PluginLoader","meta":{},"sort":1},{"name":"RunMonitor","fullName":"RunMonitor","icon":"icon-class","url":"#!/api/RunMonitor","meta":{},"sort":1},{"name":"restart_delay","fullName":"RunMonitor.restart_delay","icon":"icon-attribute","url":"#!/api/RunMonitor-attribute-restart_delay","meta":{},"sort":3},{"name":"TeemServer","fullName":"TeemServer","icon":"icon-class","url":"#!/api/TeemServer","meta":{},"sort":1},{"name":"broadcast","fullName":"TeemServer.broadcast","icon":"icon-method","url":"#!/api/TeemServer-method-broadcast","meta":{},"sort":3},{"name":"","fullName":"TeemServer.","icon":"icon-method","url":"#!/api/TeemServer-method-","meta":{},"sort":3},{"name":"__upgrade","fullName":"TeemServer.__upgrade","icon":"icon-method","url":"#!/api/TeemServer-method-__upgrade","meta":{},"sort":3},{"name":"request","fullName":"TeemServer.request","icon":"icon-method","url":"#!/api/TeemServer-method-request","meta":{},"sort":3},{"name":"Eventable","fullName":"Eventable","icon":"icon-class","url":"#!/api/Eventable","meta":{},"sort":1},{"name":"initing","fullName":"Eventable.initing","icon":"icon-attribute","url":"#!/api/Eventable-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"Eventable.inited","icon":"icon-attribute","url":"#!/api/Eventable-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"initialize","fullName":"Eventable.initialize","icon":"icon-method","url":"#!/api/Eventable-method-initialize","meta":{},"sort":3},{"name":"init","fullName":"Eventable.init","icon":"icon-method","url":"#!/api/Eventable-method-init","meta":{},"sort":3},{"name":"destroy","fullName":"Eventable.destroy","icon":"icon-method","url":"#!/api/Eventable-method-destroy","meta":{},"sort":3},{"name":"node","fullName":"dr.node","icon":"icon-class","url":"#!/api/dr.node","meta":{},"sort":1},{"name":"parent","fullName":"dr.node.parent","icon":"icon-event","url":"#!/api/dr.node-event-parent","meta":{},"sort":3},{"name":"parent","fullName":"dr.node.parent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-parent","meta":{},"sort":3},{"name":"$textcontent","fullName":"dr.node.$textcontent","icon":"icon-attribute","url":"#!/api/dr.node-attribute-S-textcontent","meta":{},"sort":3},{"name":"initing","fullName":"dr.node.initing","icon":"icon-attribute","url":"#!/api/dr.node-attribute-initing","meta":{"readonly":true},"sort":3},{"name":"inited","fullName":"dr.node.inited","icon":"icon-attribute","url":"#!/api/dr.node-attribute-inited","meta":{"readonly":true},"sort":3},{"name":"isBeingDestroyed","fullName":"dr.node.isBeingDestroyed","icon":"icon-attribute","url":"#!/api/dr.node-attribute-isBeingDestroyed","meta":{"readonly":true},"sort":3},{"name":"placement","fullName":"dr.node.placement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-placement","meta":{},"sort":3},{"name":"defaultplacement","fullName":"dr.node.defaultplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-defaultplacement","meta":{},"sort":3},{"name":"ignoreplacement","fullName":"dr.node.ignoreplacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-ignoreplacement","meta":{},"sort":3},{"name":"__disallowPlacement","fullName":"dr.node.__disallowPlacement","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__disallowPlacement","meta":{},"sort":3},{"name":"__animPool","fullName":"dr.node.__animPool","icon":"icon-attribute","url":"#!/api/dr.node-attribute-__animPool","meta":{"private":true},"sort":3},{"name":"subnodes","fullName":"dr.node.subnodes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-subnodes","meta":{},"sort":3},{"name":"name","fullName":"dr.node.name","icon":"icon-attribute","url":"#!/api/dr.node-attribute-name","meta":{},"sort":3},{"name":"id","fullName":"dr.node.id","icon":"icon-attribute","url":"#!/api/dr.node-attribute-id","meta":{},"sort":3},{"name":"scriptincludes","fullName":"dr.node.scriptincludes","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludes","meta":{},"sort":3},{"name":"scriptincludeserror","fullName":"dr.node.scriptincludeserror","icon":"icon-attribute","url":"#!/api/dr.node-attribute-scriptincludeserror","meta":{},"sort":3},{"name":"getMatchingAncestorOrSelf","fullName":"dr.node.getMatchingAncestorOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestorOrSelf","meta":{},"sort":3},{"name":"getMatchingAncestor","fullName":"dr.node.getMatchingAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getMatchingAncestor","meta":{},"sort":3},{"name":"initialize","fullName":"dr.node.initialize","icon":"icon-method","url":"#!/api/dr.node-method-initialize","meta":{},"sort":3},{"name":"initNode","fullName":"dr.node.initNode","icon":"icon-method","url":"#!/api/dr.node-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.node.notifyReady","icon":"icon-method","url":"#!/api/dr.node-method-notifyReady","meta":{},"sort":3},{"name":"doBeforeAdoption","fullName":"dr.node.doBeforeAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doBeforeAdoption","meta":{},"sort":3},{"name":"doAfterAdoption","fullName":"dr.node.doAfterAdoption","icon":"icon-method","url":"#!/api/dr.node-method-doAfterAdoption","meta":{},"sort":3},{"name":"__makeChildren","fullName":"dr.node.__makeChildren","icon":"icon-method","url":"#!/api/dr.node-method-__makeChildren","meta":{"private":true},"sort":3},{"name":"__registerHandlers","fullName":"dr.node.__registerHandlers","icon":"icon-method","url":"#!/api/dr.node-method-__registerHandlers","meta":{"private":true},"sort":3},{"name":"destroy","fullName":"dr.node.destroy","icon":"icon-method","url":"#!/api/dr.node-method-destroy","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.node.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.node.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.node-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"set_parent","fullName":"dr.node.set_parent","icon":"icon-method","url":"#!/api/dr.node-method-set_parent","meta":{},"sort":3},{"name":"set_name","fullName":"dr.node.set_name","icon":"icon-method","url":"#!/api/dr.node-method-set_name","meta":{},"sort":3},{"name":"set_id","fullName":"dr.node.set_id","icon":"icon-method","url":"#!/api/dr.node-method-set_id","meta":{},"sort":3},{"name":"getSubnodes","fullName":"dr.node.getSubnodes","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodes","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.node.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.node-method-getTypeForAttrName","meta":{},"sort":3},{"name":"createChild","fullName":"dr.node.createChild","icon":"icon-method","url":"#!/api/dr.node-method-createChild","meta":{},"sort":3},{"name":"determinePlacement","fullName":"dr.node.determinePlacement","icon":"icon-method","url":"#!/api/dr.node-method-determinePlacement","meta":{},"sort":3},{"name":"__addNameRef","fullName":"dr.node.__addNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__addNameRef","meta":{"private":true},"sort":3},{"name":"__removeNameRef","fullName":"dr.node.__removeNameRef","icon":"icon-method","url":"#!/api/dr.node-method-__removeNameRef","meta":{"private":true},"sort":3},{"name":"getRoot","fullName":"dr.node.getRoot","icon":"icon-method","url":"#!/api/dr.node-method-getRoot","meta":{},"sort":3},{"name":"isRoot","fullName":"dr.node.isRoot","icon":"icon-method","url":"#!/api/dr.node-method-isRoot","meta":{},"sort":3},{"name":"isDescendantOf","fullName":"dr.node.isDescendantOf","icon":"icon-method","url":"#!/api/dr.node-method-isDescendantOf","meta":{},"sort":3},{"name":"isAncestorOf","fullName":"dr.node.isAncestorOf","icon":"icon-method","url":"#!/api/dr.node-method-isAncestorOf","meta":{},"sort":3},{"name":"getLeastCommonAncestor","fullName":"dr.node.getLeastCommonAncestor","icon":"icon-method","url":"#!/api/dr.node-method-getLeastCommonAncestor","meta":{},"sort":3},{"name":"searchAncestorsForClass","fullName":"dr.node.searchAncestorsForClass","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsForClass","meta":{},"sort":3},{"name":"getAncestorWithProperty","fullName":"dr.node.getAncestorWithProperty","icon":"icon-method","url":"#!/api/dr.node-method-getAncestorWithProperty","meta":{},"sort":3},{"name":"searchAncestors","fullName":"dr.node.searchAncestors","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestors","meta":{},"sort":3},{"name":"searchAncestorsOrSelf","fullName":"dr.node.searchAncestorsOrSelf","icon":"icon-method","url":"#!/api/dr.node-method-searchAncestorsOrSelf","meta":{},"sort":3},{"name":"getAncestors","fullName":"dr.node.getAncestors","icon":"icon-method","url":"#!/api/dr.node-method-getAncestors","meta":{},"sort":3},{"name":"walk","fullName":"dr.node.walk","icon":"icon-method","url":"#!/api/dr.node-method-walk","meta":{"chainable":true},"sort":3},{"name":"hasSubnode","fullName":"dr.node.hasSubnode","icon":"icon-method","url":"#!/api/dr.node-method-hasSubnode","meta":{},"sort":3},{"name":"getSubnodeIndex","fullName":"dr.node.getSubnodeIndex","icon":"icon-method","url":"#!/api/dr.node-method-getSubnodeIndex","meta":{},"sort":3},{"name":"addSubnode","fullName":"dr.node.addSubnode","icon":"icon-method","url":"#!/api/dr.node-method-addSubnode","meta":{"chainable":true},"sort":3},{"name":"removeSubnode","fullName":"dr.node.removeSubnode","icon":"icon-method","url":"#!/api/dr.node-method-removeSubnode","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.node.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.node.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.node-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"animateMultiple","fullName":"dr.node.animateMultiple","icon":"icon-method","url":"#!/api/dr.node-method-animateMultiple","meta":{"chainable":true},"sort":3},{"name":"animate","fullName":"dr.node.animate","icon":"icon-method","url":"#!/api/dr.node-method-animate","meta":{},"sort":3},{"name":"getActiveAnimators","fullName":"dr.node.getActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-getActiveAnimators","meta":{},"sort":3},{"name":"stopActiveAnimators","fullName":"dr.node.stopActiveAnimators","icon":"icon-method","url":"#!/api/dr.node-method-stopActiveAnimators","meta":{"chainable":true},"sort":3},{"name":"__getAnimPool","fullName":"dr.node.__getAnimPool","icon":"icon-method","url":"#!/api/dr.node-method-__getAnimPool","meta":{"private":true},"sort":3},{"name":"Error","fullName":"parser.Error","icon":"icon-class","url":"#!/api/parser.Error","meta":{},"sort":1},{"name":"Compiler","fullName":"parser.Compiler","icon":"icon-class","url":"#!/api/parser.Compiler","meta":{},"sort":1},{"name":"Compiler","fullName":"Compiler","icon":"icon-class","url":"#!/api/Compiler","meta":{},"sort":1},{"name":"languages","fullName":"Compiler.languages","icon":"icon-property","url":"#!/api/Compiler-property-languages","meta":{},"sort":3},{"name":"execute","fullName":"Compiler.execute","icon":"icon-method","url":"#!/api/Compiler-method-execute","meta":{},"sort":3},{"name":"builtin","fullName":"Compiler.builtin","icon":"icon-property","url":"#!/api/Compiler-property-builtin","meta":{},"sort":3},{"name":"Animator.DEFAULT_MOTION","fullName":"dr.Animator.DEFAULT_MOTION","icon":"icon-class","url":"#!/api/dr.Animator.DEFAULT_MOTION","meta":{},"sort":1},{"name":"layout","fullName":"dr.layout","icon":"icon-class","url":"#!/api/dr.layout","meta":{},"sort":1},{"name":"__notifyReady","fullName":"dr.layout.__notifyReady","icon":"icon-method","url":"#!/api/dr.layout-method-__notifyReady","meta":{"private":true},"sort":3},{"name":"addSubview","fullName":"dr.layout.addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-addSubview","meta":{},"sort":3},{"name":"__addSubview","fullName":"dr.layout.__addSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__addSubview","meta":{"private":true},"sort":3},{"name":"removeSubview","fullName":"dr.layout.removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-removeSubview","meta":{},"sort":3},{"name":"__removeSubview","fullName":"dr.layout.__removeSubview","icon":"icon-method","url":"#!/api/dr.layout-method-__removeSubview","meta":{"private":true},"sort":3},{"name":"startMonitoringSubviewForIgnore","fullName":"dr.layout.startMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"stopMonitoringSubviewForIgnore","fullName":"dr.layout.stopMonitoringSubviewForIgnore","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubviewForIgnore","meta":{},"sort":3},{"name":"ignore","fullName":"dr.layout.ignore","icon":"icon-method","url":"#!/api/dr.layout-method-ignore","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.layout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"startMonitoringAllSubviews","fullName":"dr.layout.startMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-startMonitoringAllSubviews","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.layout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringAllSubviews","fullName":"dr.layout.stopMonitoringAllSubviews","icon":"icon-method","url":"#!/api/dr.layout-method-stopMonitoringAllSubviews","meta":{},"sort":3},{"name":"canUpdate","fullName":"dr.layout.canUpdate","icon":"icon-method","url":"#!/api/dr.layout-method-canUpdate","meta":{},"sort":3},{"name":"update","fullName":"dr.layout.update","icon":"icon-method","url":"#!/api/dr.layout-method-update","meta":{},"sort":3},{"name":"view","fullName":"dr.view","icon":"icon-class","url":"#!/api/dr.view","meta":{},"sort":1},{"name":"onsubviewadded","fullName":"dr.view.onsubviewadded","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewadded","meta":{},"sort":3},{"name":"onsubviewremoved","fullName":"dr.view.onsubviewremoved","icon":"icon-event","url":"#!/api/dr.view-event-onsubviewremoved","meta":{},"sort":3},{"name":"onlayoutadded","fullName":"dr.view.onlayoutadded","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutadded","meta":{},"sort":3},{"name":"onlayoutremoved","fullName":"dr.view.onlayoutremoved","icon":"icon-event","url":"#!/api/dr.view-event-onlayoutremoved","meta":{},"sort":3},{"name":"focustrap","fullName":"dr.view.focustrap","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focustrap","meta":{},"sort":3},{"name":"focuscage","fullName":"dr.view.focuscage","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focuscage","meta":{},"sort":3},{"name":"maskfocus","fullName":"dr.view.maskfocus","icon":"icon-attribute","url":"#!/api/dr.view-attribute-maskfocus","meta":{},"sort":3},{"name":"focusable","fullName":"dr.view.focusable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusable","meta":{},"sort":3},{"name":"focused","fullName":"dr.view.focused","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focused","meta":{},"sort":3},{"name":"focusembellishment","fullName":"dr.view.focusembellishment","icon":"icon-attribute","url":"#!/api/dr.view-attribute-focusembellishment","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"gradient","fullName":"dr.view.gradient","icon":"icon-attribute","url":"#!/api/dr.view-attribute-gradient","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{},"sort":3},{"name":"__fullBorderPaddingWidth","fullName":"dr.view.__fullBorderPaddingWidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingWidth","meta":{"private":true},"sort":3},{"name":"__fullBorderPaddingHeight","fullName":"dr.view.__fullBorderPaddingHeight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__fullBorderPaddingHeight","meta":{"private":true},"sort":3},{"name":"__autoLayoutwidth","fullName":"dr.view.__autoLayoutwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutwidth","meta":{"private":true},"sort":3},{"name":"__autoLayoutheight","fullName":"dr.view.__autoLayoutheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__autoLayoutheight","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_x","fullName":"dr.view.__isPercentConstraint_x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_x","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_y","fullName":"dr.view.__isPercentConstraint_y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_y","meta":{"private":true},"sort":3},{"name":"__isPercentConstraint_width","fullName":"dr.view.__isPercentConstraint_width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_width","meta":{},"sort":3},{"name":"__isPercentConstraint_height","fullName":"dr.view.__isPercentConstraint_height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__isPercentConstraint_height","meta":{},"sort":3},{"name":"__lockRecalc","fullName":"dr.view.__lockRecalc","icon":"icon-attribute","url":"#!/api/dr.view-attribute-__lockRecalc","meta":{},"sort":3},{"name":"x","fullName":"dr.view.x","icon":"icon-attribute","url":"#!/api/dr.view-attribute-x","meta":{},"sort":3},{"name":"y","fullName":"dr.view.y","icon":"icon-attribute","url":"#!/api/dr.view-attribute-y","meta":{},"sort":3},{"name":"width","fullName":"dr.view.width","icon":"icon-attribute","url":"#!/api/dr.view-attribute-width","meta":{},"sort":3},{"name":"height","fullName":"dr.view.height","icon":"icon-attribute","url":"#!/api/dr.view-attribute-height","meta":{},"sort":3},{"name":"isaligned","fullName":"dr.view.isaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isaligned","meta":{"readonly":true},"sort":3},{"name":"isvaligned","fullName":"dr.view.isvaligned","icon":"icon-attribute","url":"#!/api/dr.view-attribute-isvaligned","meta":{"readonly":true},"sort":3},{"name":"innerwidth","fullName":"dr.view.innerwidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerwidth","meta":{"readonly":true},"sort":3},{"name":"innerheight","fullName":"dr.view.innerheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-innerheight","meta":{"readonly":true},"sort":3},{"name":"boundsx","fullName":"dr.view.boundsx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsx","meta":{"readonly":true},"sort":3},{"name":"boundsy","fullName":"dr.view.boundsy","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsy","meta":{"readonly":true},"sort":3},{"name":"boundsxdiff","fullName":"dr.view.boundsxdiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsxdiff","meta":{"readonly":true},"sort":3},{"name":"boundsydiff","fullName":"dr.view.boundsydiff","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsydiff","meta":{"readonly":true},"sort":3},{"name":"boundswidth","fullName":"dr.view.boundswidth","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundswidth","meta":{"readonly":true},"sort":3},{"name":"boundsheight","fullName":"dr.view.boundsheight","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boundsheight","meta":{"readonly":true},"sort":3},{"name":"clickable","fullName":"dr.view.clickable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clickable","meta":{},"sort":3},{"name":"clip","fullName":"dr.view.clip","icon":"icon-attribute","url":"#!/api/dr.view-attribute-clip","meta":{},"sort":3},{"name":"scrollable","fullName":"dr.view.scrollable","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollable","meta":{},"sort":3},{"name":"scrollbars","fullName":"dr.view.scrollbars","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollbars","meta":{},"sort":3},{"name":"visible","fullName":"dr.view.visible","icon":"icon-attribute","url":"#!/api/dr.view-attribute-visible","meta":{},"sort":3},{"name":"bgcolor","fullName":"dr.view.bgcolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bgcolor","meta":{},"sort":3},{"name":"bordercolor","fullName":"dr.view.bordercolor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-bordercolor","meta":{},"sort":3},{"name":"borderstyle","fullName":"dr.view.borderstyle","icon":"icon-attribute","url":"#!/api/dr.view-attribute-borderstyle","meta":{},"sort":3},{"name":"border","fullName":"dr.view.border","icon":"icon-attribute","url":"#!/api/dr.view-attribute-border","meta":{},"sort":3},{"name":"padding","fullName":"dr.view.padding","icon":"icon-attribute","url":"#!/api/dr.view-attribute-padding","meta":{},"sort":3},{"name":"xscale","fullName":"dr.view.xscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xscale","meta":{},"sort":3},{"name":"yscale","fullName":"dr.view.yscale","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yscale","meta":{},"sort":3},{"name":"z","fullName":"dr.view.z","icon":"icon-attribute","url":"#!/api/dr.view-attribute-z","meta":{},"sort":3},{"name":"rotation","fullName":"dr.view.rotation","icon":"icon-attribute","url":"#!/api/dr.view-attribute-rotation","meta":{},"sort":3},{"name":"perspective","fullName":"dr.view.perspective","icon":"icon-attribute","url":"#!/api/dr.view-attribute-perspective","meta":{},"sort":3},{"name":"opacity","fullName":"dr.view.opacity","icon":"icon-attribute","url":"#!/api/dr.view-attribute-opacity","meta":{},"sort":3},{"name":"scrollx","fullName":"dr.view.scrollx","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrollx","meta":{},"sort":3},{"name":"scrolly","fullName":"dr.view.scrolly","icon":"icon-attribute","url":"#!/api/dr.view-attribute-scrolly","meta":{},"sort":3},{"name":"xanchor","fullName":"dr.view.xanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-xanchor","meta":{},"sort":3},{"name":"yanchor","fullName":"dr.view.yanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-yanchor","meta":{},"sort":3},{"name":"zanchor","fullName":"dr.view.zanchor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-zanchor","meta":{},"sort":3},{"name":"cursor","fullName":"dr.view.cursor","icon":"icon-attribute","url":"#!/api/dr.view-attribute-cursor","meta":{},"sort":3},{"name":"boxshadow","fullName":"dr.view.boxshadow","icon":"icon-attribute","url":"#!/api/dr.view-attribute-boxshadow","meta":{},"sort":3},{"name":"ignorelayout","fullName":"dr.view.ignorelayout","icon":"icon-attribute","url":"#!/api/dr.view-attribute-ignorelayout","meta":{},"sort":3},{"name":"layouthint","fullName":"dr.view.layouthint","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouthint","meta":{},"sort":3},{"name":"onclick","fullName":"dr.view.onclick","icon":"icon-event","url":"#!/api/dr.view-event-onclick","meta":{},"sort":3},{"name":"onmouseover","fullName":"dr.view.onmouseover","icon":"icon-event","url":"#!/api/dr.view-event-onmouseover","meta":{},"sort":3},{"name":"onmouseout","fullName":"dr.view.onmouseout","icon":"icon-event","url":"#!/api/dr.view-event-onmouseout","meta":{},"sort":3},{"name":"onmousedown","fullName":"dr.view.onmousedown","icon":"icon-event","url":"#!/api/dr.view-event-onmousedown","meta":{},"sort":3},{"name":"onmouseup","fullName":"dr.view.onmouseup","icon":"icon-event","url":"#!/api/dr.view-event-onmouseup","meta":{},"sort":3},{"name":"onscroll","fullName":"dr.view.onscroll","icon":"icon-event","url":"#!/api/dr.view-event-onscroll","meta":{},"sort":3},{"name":"subviews","fullName":"dr.view.subviews","icon":"icon-attribute","url":"#!/api/dr.view-attribute-subviews","meta":{"readonly":true},"sort":3},{"name":"layouts","fullName":"dr.view.layouts","icon":"icon-attribute","url":"#!/api/dr.view-attribute-layouts","meta":{"readonly":true},"sort":3},{"name":"initNode","fullName":"dr.view.initNode","icon":"icon-method","url":"#!/api/dr.view-method-initNode","meta":{},"sort":3},{"name":"notifyReady","fullName":"dr.view.notifyReady","icon":"icon-method","url":"#!/api/dr.view-method-notifyReady","meta":{},"sort":3},{"name":"destroyBeforeOrphaning","fullName":"dr.view.destroyBeforeOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyBeforeOrphaning","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"dr.view.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/dr.view-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"__setupAlignConstraint","fullName":"dr.view.__setupAlignConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAlignConstraint","meta":{},"sort":3},{"name":"__setupPercentConstraint","fullName":"dr.view.__setupPercentConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupPercentConstraint","meta":{},"sort":3},{"name":"__setupAutoConstraint","fullName":"dr.view.__setupAutoConstraint","icon":"icon-method","url":"#!/api/dr.view-method-__setupAutoConstraint","meta":{"private":true},"sort":3},{"name":"getSiblingViews","fullName":"dr.view.getSiblingViews","icon":"icon-method","url":"#!/api/dr.view-method-getSiblingViews","meta":{},"sort":3},{"name":"getLayouts","fullName":"dr.view.getLayouts","icon":"icon-method","url":"#!/api/dr.view-method-getLayouts","meta":{},"sort":3},{"name":"__handleScroll","fullName":"dr.view.__handleScroll","icon":"icon-method","url":"#!/api/dr.view-method-__handleScroll","meta":{"private":true},"sort":3},{"name":"__setBP","fullName":"dr.view.__setBP","icon":"icon-method","url":"#!/api/dr.view-method-__setBP","meta":{"private":true},"sort":3},{"name":"__updateBP","fullName":"dr.view.__updateBP","icon":"icon-method","url":"#!/api/dr.view-method-__updateBP","meta":{"private":true},"sort":3},{"name":"__updateInnerWidth","fullName":"dr.view.__updateInnerWidth","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerWidth","meta":{"private":true},"sort":3},{"name":"__updateInnerHeight","fullName":"dr.view.__updateInnerHeight","icon":"icon-method","url":"#!/api/dr.view-method-__updateInnerHeight","meta":{"private":true},"sort":3},{"name":"__updateCornerRadius","fullName":"dr.view.__updateCornerRadius","icon":"icon-method","url":"#!/api/dr.view-method-__updateCornerRadius","meta":{"private":true},"sort":3},{"name":"__updateTransform","fullName":"dr.view.__updateTransform","icon":"icon-method","url":"#!/api/dr.view-method-__updateTransform","meta":{"private":true},"sort":3},{"name":"__updateBounds","fullName":"dr.view.__updateBounds","icon":"icon-method","url":"#!/api/dr.view-method-__updateBounds","meta":{},"sort":3},{"name":"getTypeForAttrName","fullName":"dr.view.getTypeForAttrName","icon":"icon-method","url":"#!/api/dr.view-method-getTypeForAttrName","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"dr.view.getAbsolutePosition","icon":"icon-method","url":"#!/api/dr.view-method-getAbsolutePosition","meta":{},"sort":3},{"name":"isVisible","fullName":"dr.view.isVisible","icon":"icon-method","url":"#!/api/dr.view-method-isVisible","meta":{},"sort":3},{"name":"doSubnodeAdded","fullName":"dr.view.doSubnodeAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"dr.view.doSubnodeRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"dr.view.getNextSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getNextSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"dr.view.getLastSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getLastSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"dr.view.getPrevSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"dr.view.getFirstSiblingView","icon":"icon-method","url":"#!/api/dr.view-method-getFirstSiblingView","meta":{},"sort":3},{"name":"hasSubview","fullName":"dr.view.hasSubview","icon":"icon-method","url":"#!/api/dr.view-method-hasSubview","meta":{},"sort":3},{"name":"getSubviewIndex","fullName":"dr.view.getSubviewIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewIndex","meta":{},"sort":3},{"name":"getSubviewAtIndex","fullName":"dr.view.getSubviewAtIndex","icon":"icon-method","url":"#!/api/dr.view-method-getSubviewAtIndex","meta":{},"sort":3},{"name":"doSubviewAdded","fullName":"dr.view.doSubviewAdded","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewAdded","meta":{},"sort":3},{"name":"doSubviewRemoved","fullName":"dr.view.doSubviewRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doSubviewRemoved","meta":{},"sort":3},{"name":"hasLayout","fullName":"dr.view.hasLayout","icon":"icon-method","url":"#!/api/dr.view-method-hasLayout","meta":{},"sort":3},{"name":"getLayoutIndex","fullName":"dr.view.getLayoutIndex","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutIndex","meta":{},"sort":3},{"name":"doLayoutAdded","fullName":"dr.view.doLayoutAdded","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutAdded","meta":{},"sort":3},{"name":"doLayoutRemoved","fullName":"dr.view.doLayoutRemoved","icon":"icon-method","url":"#!/api/dr.view-method-doLayoutRemoved","meta":{},"sort":3},{"name":"getLayoutHint","fullName":"dr.view.getLayoutHint","icon":"icon-method","url":"#!/api/dr.view-method-getLayoutHint","meta":{},"sort":3},{"name":"getFocusTrap","fullName":"dr.view.getFocusTrap","icon":"icon-method","url":"#!/api/dr.view-method-getFocusTrap","meta":{},"sort":3},{"name":"isFocusable","fullName":"dr.view.isFocusable","icon":"icon-method","url":"#!/api/dr.view-method-isFocusable","meta":{},"sort":3},{"name":"giveAwayFocus","fullName":"dr.view.giveAwayFocus","icon":"icon-method","url":"#!/api/dr.view-method-giveAwayFocus","meta":{},"sort":3},{"name":"__handleFocus","fullName":"dr.view.__handleFocus","icon":"icon-method","url":"#!/api/dr.view-method-__handleFocus","meta":{"private":true},"sort":3},{"name":"__handleBlur","fullName":"dr.view.__handleBlur","icon":"icon-method","url":"#!/api/dr.view-method-__handleBlur","meta":{"private":true},"sort":3},{"name":"focus","fullName":"dr.view.focus","icon":"icon-method","url":"#!/api/dr.view-method-focus","meta":{},"sort":3},{"name":"blur","fullName":"dr.view.blur","icon":"icon-method","url":"#!/api/dr.view-method-blur","meta":{},"sort":3},{"name":"getNextFocus","fullName":"dr.view.getNextFocus","icon":"icon-method","url":"#!/api/dr.view-method-getNextFocus","meta":{},"sort":3},{"name":"getPrevFocus","fullName":"dr.view.getPrevFocus","icon":"icon-method","url":"#!/api/dr.view-method-getPrevFocus","meta":{},"sort":3},{"name":"isBehind","fullName":"dr.view.isBehind","icon":"icon-method","url":"#!/api/dr.view-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"dr.view.isInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-isInFrontOf","meta":{},"sort":3},{"name":"moveToFront","fullName":"dr.view.moveToFront","icon":"icon-method","url":"#!/api/dr.view-method-moveToFront","meta":{"chainable":true},"sort":3},{"name":"moveToBack","fullName":"dr.view.moveToBack","icon":"icon-method","url":"#!/api/dr.view-method-moveToBack","meta":{"chainable":true},"sort":3},{"name":"moveInFrontOf","fullName":"dr.view.moveInFrontOf","icon":"icon-method","url":"#!/api/dr.view-method-moveInFrontOf","meta":{"chainable":true},"sort":3},{"name":"moveBehind","fullName":"dr.view.moveBehind","icon":"icon-method","url":"#!/api/dr.view-method-moveBehind","meta":{"chainable":true},"sort":3},{"name":"containsPoint","fullName":"dr.view.containsPoint","icon":"icon-method","url":"#!/api/dr.view-method-containsPoint","meta":{},"sort":3},{"name":"rectContainsPoint","fullName":"dr.view.rectContainsPoint","icon":"icon-method","url":"#!/api/dr.view-method-rectContainsPoint","meta":{},"sort":3},{"name":"isPointVisible","fullName":"dr.view.isPointVisible","icon":"icon-method","url":"#!/api/dr.view-method-isPointVisible","meta":{},"sort":3},{"name":"__isPointVisible","fullName":"dr.view.__isPointVisible","icon":"icon-method","url":"#!/api/dr.view-method-__isPointVisible","meta":{"private":true},"sort":3},{"name":"alignlayout","fullName":"dr.alignlayout","icon":"icon-class","url":"#!/api/dr.alignlayout","meta":{},"sort":1},{"name":"align","fullName":"dr.alignlayout.align","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-align","meta":{},"sort":3},{"name":"inset","fullName":"dr.alignlayout.inset","icon":"icon-attribute","url":"#!/api/dr.alignlayout-attribute-inset","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.alignlayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.alignlayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"attrundoable","fullName":"dr.editor.attrundoable","icon":"icon-class","url":"#!/api/dr.editor.attrundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.attrundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-target","meta":{},"sort":3},{"name":"attribute","fullName":"dr.editor.attrundoable.attribute","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-attribute","meta":{},"sort":3},{"name":"oldvalue","fullName":"dr.editor.attrundoable.oldvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-oldvalue","meta":{},"sort":3},{"name":"newvalue","fullName":"dr.editor.attrundoable.newvalue","icon":"icon-attribute","url":"#!/api/dr.editor.attrundoable-attribute-newvalue","meta":{},"sort":3},{"name":"setAttribute","fullName":"dr.editor.attrundoable.setAttribute","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-setAttribute","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.attrundoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.attrundoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-getRedoDescription","meta":{},"sort":3},{"name":"__getDescription","fullName":"dr.editor.attrundoable.__getDescription","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-__getDescription","meta":{"private":true},"sort":3},{"name":"undo","fullName":"dr.editor.attrundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.attrundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.attrundoable-method-redo","meta":{},"sort":3},{"name":"bitmap","fullName":"dr.bitmap","icon":"icon-class","url":"#!/api/dr.bitmap","meta":{},"sort":1},{"name":"src","fullName":"dr.bitmap.src","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-src","meta":{},"sort":3},{"name":"onload","fullName":"dr.bitmap.onload","icon":"icon-event","url":"#!/api/dr.bitmap-event-onload","meta":{},"sort":3},{"name":"onerror","fullName":"dr.bitmap.onerror","icon":"icon-event","url":"#!/api/dr.bitmap-event-onerror","meta":{},"sort":3},{"name":"stretches","fullName":"dr.bitmap.stretches","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-stretches","meta":{},"sort":3},{"name":"naturalsize","fullName":"dr.bitmap.naturalsize","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-naturalsize","meta":{},"sort":3},{"name":"repeat","fullName":"dr.bitmap.repeat","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-repeat","meta":{},"sort":3},{"name":"window","fullName":"dr.bitmap.window","icon":"icon-attribute","url":"#!/api/dr.bitmap-attribute-window","meta":{},"sort":3},{"name":"buttonbase","fullName":"dr.buttonbase","icon":"icon-class","url":"#!/api/dr.buttonbase","meta":{},"sort":1},{"name":"defaultcolor","fullName":"dr.buttonbase.defaultcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-defaultcolor","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.buttonbase.selectcolor","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selectcolor","meta":{},"sort":3},{"name":"selected","fullName":"dr.buttonbase.selected","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-selected","meta":{},"sort":3},{"name":"onselected","fullName":"dr.buttonbase.onselected","icon":"icon-event","url":"#!/api/dr.buttonbase-event-onselected","meta":{},"sort":3},{"name":"text","fullName":"dr.buttonbase.text","icon":"icon-attribute","url":"#!/api/dr.buttonbase-attribute-text","meta":{},"sort":3},{"name":"checkbutton","fullName":"dr.checkbutton","icon":"icon-class","url":"#!/api/dr.checkbutton","meta":{},"sort":1},{"name":"compoundundoable","fullName":"dr.editor.compoundundoable","icon":"icon-class","url":"#!/api/dr.editor.compoundundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.compoundundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-destroy","meta":{},"sort":3},{"name":"add","fullName":"dr.editor.compoundundoable.add","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-add","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.compoundundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.compoundundoable-method-undo","meta":{},"sort":3},{"name":"constantlayout","fullName":"dr.constantlayout","icon":"icon-class","url":"#!/api/dr.constantlayout","meta":{},"sort":1},{"name":"attribute","fullName":"dr.constantlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-attribute","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.constantlayout.value","icon":"icon-attribute","url":"#!/api/dr.constantlayout-attribute-value","meta":{},"sort":3},{"name":"update","fullName":"dr.constantlayout.update","icon":"icon-method","url":"#!/api/dr.constantlayout-method-update","meta":{},"sort":3},{"name":"createundoable","fullName":"dr.editor.createundoable","icon":"icon-class","url":"#!/api/dr.editor.createundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.createundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.createundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.createundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.createundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.createundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.createundoable-method-redo","meta":{},"sort":3},{"name":"datapath","fullName":"dr.datapath","icon":"icon-class","url":"#!/api/dr.datapath","meta":{},"sort":1},{"name":"data","fullName":"dr.datapath.data","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-data","meta":{},"sort":3},{"name":"result","fullName":"dr.datapath.result","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-result","meta":{},"sort":3},{"name":"path","fullName":"dr.datapath.path","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-path","meta":{},"sort":3},{"name":"sortpath","fullName":"dr.datapath.sortpath","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortpath","meta":{},"sort":3},{"name":"sortasc","fullName":"dr.datapath.sortasc","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-sortasc","meta":{},"sort":3},{"name":"filterexpression","fullName":"dr.datapath.filterexpression","icon":"icon-attribute","url":"#!/api/dr.datapath-attribute-filterexpression","meta":{},"sort":3},{"name":"filterfunction","fullName":"dr.datapath.filterfunction","icon":"icon-method","url":"#!/api/dr.datapath-method-filterfunction","meta":{"abstract":true},"sort":3},{"name":"refresh","fullName":"dr.datapath.refresh","icon":"icon-method","url":"#!/api/dr.datapath-method-refresh","meta":{},"sort":3},{"name":"dataset","fullName":"dr.dataset","icon":"icon-class","url":"#!/api/dr.dataset","meta":{},"sort":1},{"name":"name","fullName":"dr.dataset.name","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-name","meta":{"required":true},"sort":3},{"name":"data","fullName":"dr.dataset.data","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-data","meta":{},"sort":3},{"name":"url","fullName":"dr.dataset.url","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-url","meta":{},"sort":3},{"name":"async","fullName":"dr.dataset.async","icon":"icon-attribute","url":"#!/api/dr.dataset-attribute-async","meta":{},"sort":3},{"name":"","fullName":"dr.dataset.","icon":"icon-property","url":"#!/api/dr.dataset-property-","meta":{"private":true},"sort":3},{"name":"deleteundoable","fullName":"dr.editor.deleteundoable","icon":"icon-class","url":"#!/api/dr.editor.deleteundoable","meta":{},"sort":1},{"name":"destroy","fullName":"dr.editor.deleteundoable.destroy","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-destroy","meta":{},"sort":3},{"name":"target","fullName":"dr.editor.deleteundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.deleteundoable-attribute-target","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.deleteundoable.undo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.deleteundoable.redo","icon":"icon-method","url":"#!/api/dr.editor.deleteundoable-method-redo","meta":{},"sort":3},{"name":"dropdown","fullName":"dr.dropdown","icon":"icon-class","url":"#!/api/dr.dropdown","meta":{},"sort":1},{"name":"expanded","fullName":"dr.dropdown.expanded","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-expanded","meta":{},"sort":3},{"name":"selected","fullName":"dr.dropdown.selected","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selected","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.dropdown.selectcolor","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-selectcolor","meta":{},"sort":3},{"name":"dropdownsize","fullName":"dr.dropdown.dropdownsize","icon":"icon-attribute","url":"#!/api/dr.dropdown-attribute-dropdownsize","meta":{},"sort":3},{"name":"dropdownfont","fullName":"dr.dropdownfont","icon":"icon-class","url":"#!/api/dr.dropdownfont","meta":{},"sort":1},{"name":"expectedoutput","fullName":"dr.expectedoutput","icon":"icon-class","url":"#!/api/dr.expectedoutput","meta":{},"sort":1},{"name":"floatingpanel","fullName":"dr.floatingpanel","icon":"icon-class","url":"#!/api/dr.floatingpanel","meta":{},"sort":1},{"name":"panelid","fullName":"dr.floatingpanel.panelid","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-panelid","meta":{},"sort":3},{"name":"owner","fullName":"dr.floatingpanel.owner","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-owner","meta":{},"sort":3},{"name":"ignoreownerforhideonmousedown","fullName":"dr.floatingpanel.ignoreownerforhideonmousedown","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-ignoreownerforhideonmousedown","meta":{},"sort":3},{"name":"ignoreownerforhideonblur","fullName":"dr.floatingpanel.ignoreownerforhideonblur","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-ignoreownerforhideonblur","meta":{},"sort":3},{"name":"hideonmousedown","fullName":"dr.floatingpanel.hideonmousedown","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-hideonmousedown","meta":{},"sort":3},{"name":"hideonblur","fullName":"dr.floatingpanel.hideonblur","icon":"icon-attribute","url":"#!/api/dr.floatingpanel-attribute-hideonblur","meta":{},"sort":3},{"name":"","fullName":"dr.floatingpanel.","icon":"icon-property","url":"#!/api/dr.floatingpanel-property-","meta":{"private":true},"sort":3},{"name":"doMouseDownOutside","fullName":"dr.floatingpanel.doMouseDownOutside","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-doMouseDownOutside","meta":{},"sort":3},{"name":"focus","fullName":"dr.floatingpanel.focus","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-focus","meta":{},"sort":3},{"name":"getFirstFocusableDescendant","fullName":"dr.floatingpanel.getFirstFocusableDescendant","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-getFirstFocusableDescendant","meta":{},"sort":3},{"name":"","fullName":"dr.floatingpanel.","icon":"icon-property","url":"#!/api/dr.floatingpanel-property-","meta":{"private":true},"sort":3},{"name":"doLostFocus","fullName":"dr.floatingpanel.doLostFocus","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-doLostFocus","meta":{},"sort":3},{"name":"isShown","fullName":"dr.floatingpanel.isShown","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-isShown","meta":{},"sort":3},{"name":"show","fullName":"dr.floatingpanel.show","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-show","meta":{},"sort":3},{"name":"hide","fullName":"dr.floatingpanel.hide","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-hide","meta":{},"sort":3},{"name":"restoreFocus","fullName":"dr.floatingpanel.restoreFocus","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-restoreFocus","meta":{},"sort":3},{"name":"updateLocation","fullName":"dr.floatingpanel.updateLocation","icon":"icon-method","url":"#!/api/dr.floatingpanel-method-updateLocation","meta":{},"sort":3},{"name":"fontdetect","fullName":"dr.fontdetect","icon":"icon-class","url":"#!/api/dr.fontdetect","meta":{},"sort":1},{"name":"fonts","fullName":"dr.fontdetect.fonts","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-fonts","meta":{},"sort":3},{"name":"additional","fullName":"dr.fontdetect.additional","icon":"icon-attribute","url":"#!/api/dr.fontdetect-attribute-additional","meta":{},"sort":3},{"name":"detect","fullName":"dr.fontdetect.detect","icon":"icon-method","url":"#!/api/dr.fontdetect-method-detect","meta":{},"sort":3},{"name":"indicator","fullName":"dr.indicator","icon":"icon-class","url":"#!/api/dr.indicator","meta":{},"sort":1},{"name":"fill","fullName":"dr.indicator.fill","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-fill","meta":{},"sort":3},{"name":"inset","fullName":"dr.indicator.inset","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-inset","meta":{},"sort":3},{"name":"size","fullName":"dr.indicator.size","icon":"icon-attribute","url":"#!/api/dr.indicator-attribute-size","meta":{},"sort":3},{"name":"inputtext","fullName":"dr.inputtext","icon":"icon-class","url":"#!/api/dr.inputtext","meta":{},"sort":1},{"name":"onselect","fullName":"dr.inputtext.onselect","icon":"icon-event","url":"#!/api/dr.inputtext-event-onselect","meta":{},"sort":3},{"name":"labelbutton","fullName":"dr.labelbutton","icon":"icon-class","url":"#!/api/dr.labelbutton","meta":{},"sort":1},{"name":"labeltoggle","fullName":"dr.labeltoggle","icon":"icon-class","url":"#!/api/dr.labeltoggle","meta":{},"sort":1},{"name":"textlistbox","fullName":"dr.textlistbox","icon":"icon-class","url":"#!/api/dr.textlistbox","meta":{},"sort":1},{"name":"selectcolor","fullName":"dr.textlistbox.selectcolor","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-selectcolor","meta":{},"sort":3},{"name":"maxwidth","fullName":"dr.textlistbox.maxwidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxwidth","meta":{},"sort":3},{"name":"maxheight","fullName":"dr.textlistbox.maxheight","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-maxheight","meta":{},"sort":3},{"name":"safewidth","fullName":"dr.textlistbox.safewidth","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-safewidth","meta":{},"sort":3},{"name":"spacing","fullName":"dr.textlistbox.spacing","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-spacing","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-attribute","url":"#!/api/dr.textlistbox-attribute-","meta":{},"sort":3},{"name":"","fullName":"dr.textlistbox.","icon":"icon-method","url":"#!/api/dr.textlistbox-method-","meta":{},"sort":3},{"name":"findSize","fullName":"dr.textlistbox.findSize","icon":"icon-method","url":"#!/api/dr.textlistbox-method-findSize","meta":{},"sort":3},{"name":"textlistboxitem","fullName":"dr.textlistboxitem","icon":"icon-class","url":"#!/api/dr.textlistboxitem","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup","icon":"icon-class","url":"#!/api/dr.markup","meta":{},"sort":1},{"name":"markup","fullName":"dr.markup.markup","icon":"icon-attribute","url":"#!/api/dr.markup-attribute-markup","meta":{},"sort":3},{"name":"unescape","fullName":"dr.markup.unescape","icon":"icon-method","url":"#!/api/dr.markup-method-unescape","meta":{"private":true},"sort":3},{"name":"orderundoable","fullName":"dr.editor.orderundoable","icon":"icon-class","url":"#!/api/dr.editor.orderundoable","meta":{},"sort":1},{"name":"target","fullName":"dr.editor.orderundoable.target","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-target","meta":{},"sort":3},{"name":"oldprevsibling","fullName":"dr.editor.orderundoable.oldprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-oldprevsibling","meta":{},"sort":3},{"name":"newprevsibling","fullName":"dr.editor.orderundoable.newprevsibling","icon":"icon-attribute","url":"#!/api/dr.editor.orderundoable-attribute-newprevsibling","meta":{},"sort":3},{"name":"rangeslider","fullName":"dr.rangeslider","icon":"icon-class","url":"#!/api/dr.rangeslider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.rangeslider.minvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-minvalue","meta":{},"sort":3},{"name":"maxlowvalue","fullName":"dr.rangeslider.maxlowvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxlowvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.rangeslider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"value","fullName":"dr.rangeslider.value","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.rangeslider.axis","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.rangeslider.invert","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.rangeslider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-selectcolor","meta":{},"sort":3},{"name":"lowprogresscolor","fullName":"dr.rangeslider.lowprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-lowprogresscolor","meta":{},"sort":3},{"name":"highprogresscolor","fullName":"dr.rangeslider.highprogresscolor","icon":"icon-attribute","url":"#!/api/dr.rangeslider-attribute-highprogresscolor","meta":{},"sort":3},{"name":"replicator","fullName":"dr.replicator","icon":"icon-class","url":"#!/api/dr.replicator","meta":{},"sort":1},{"name":"pooling","fullName":"dr.replicator.pooling","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-pooling","meta":{},"sort":3},{"name":"data","fullName":"dr.replicator.data","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-data","meta":{},"sort":3},{"name":"path","fullName":"dr.replicator.path","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-path","meta":{},"sort":3},{"name":"classname","fullName":"dr.replicator.classname","icon":"icon-attribute","url":"#!/api/dr.replicator-attribute-classname","meta":{"required":true},"sort":3},{"name":"onreplicated","fullName":"dr.replicator.onreplicated","icon":"icon-event","url":"#!/api/dr.replicator-event-onreplicated","meta":{},"sort":3},{"name":"resizelayout","fullName":"dr.resizelayout","icon":"icon-class","url":"#!/api/dr.resizelayout","meta":{},"sort":1},{"name":"sizetoplatform","fullName":"dr.sizetoplatform","icon":"icon-class","url":"#!/api/dr.sizetoplatform","meta":{},"sort":1},{"name":"sizeToPlatform","fullName":"dr.sizetoplatform.sizeToPlatform","icon":"icon-method","url":"#!/api/dr.sizetoplatform-method-sizeToPlatform","meta":{},"sort":3},{"name":"slider","fullName":"dr.slider","icon":"icon-class","url":"#!/api/dr.slider","meta":{},"sort":1},{"name":"minvalue","fullName":"dr.slider.minvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-minvalue","meta":{},"sort":3},{"name":"maxvalue","fullName":"dr.slider.maxvalue","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-maxvalue","meta":{},"sort":3},{"name":"value","fullName":"dr.slider.value","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-value","meta":{},"sort":3},{"name":"axis","fullName":"dr.slider.axis","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-axis","meta":{},"sort":3},{"name":"invert","fullName":"dr.slider.invert","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-invert","meta":{},"sort":3},{"name":"selectcolor","fullName":"dr.slider.selectcolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-selectcolor","meta":{},"sort":3},{"name":"progresscolor","fullName":"dr.slider.progresscolor","icon":"icon-attribute","url":"#!/api/dr.slider-attribute-progresscolor","meta":{},"sort":3},{"name":"spacedlayout","fullName":"dr.spacedlayout","icon":"icon-class","url":"#!/api/dr.spacedlayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.spacedlayout.spacing","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.spacedlayout.outset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.spacedlayout.inset","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-inset","meta":{},"sort":3},{"name":"axis","fullName":"dr.spacedlayout.axis","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.spacedlayout.attribute","icon":"icon-attribute","url":"#!/api/dr.spacedlayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"style","fullName":"dr.style","icon":"icon-class","url":"#!/api/dr.style","meta":{},"sort":1},{"name":"testingtimer","fullName":"dr.testingtimer","icon":"icon-class","url":"#!/api/dr.testingtimer","meta":{},"sort":1},{"name":"text","fullName":"dr.text","icon":"icon-class","url":"#!/api/dr.text","meta":{},"sort":1},{"name":"fontsize","fullName":"dr.text.fontsize","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontsize","meta":{},"sort":3},{"name":"fontfamily","fullName":"dr.text.fontfamily","icon":"icon-attribute","url":"#!/api/dr.text-attribute-fontfamily","meta":{},"sort":3},{"name":"textalign","fullName":"dr.text.textalign","icon":"icon-attribute","url":"#!/api/dr.text-attribute-textalign","meta":{},"sort":3},{"name":"bold","fullName":"dr.text.bold","icon":"icon-attribute","url":"#!/api/dr.text-attribute-bold","meta":{},"sort":3},{"name":"italic","fullName":"dr.text.italic","icon":"icon-attribute","url":"#!/api/dr.text-attribute-italic","meta":{},"sort":3},{"name":"smallcaps","fullName":"dr.text.smallcaps","icon":"icon-attribute","url":"#!/api/dr.text-attribute-smallcaps","meta":{},"sort":3},{"name":"underline","fullName":"dr.text.underline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-underline","meta":{},"sort":3},{"name":"strike","fullName":"dr.text.strike","icon":"icon-attribute","url":"#!/api/dr.text-attribute-strike","meta":{},"sort":3},{"name":"multiline","fullName":"dr.text.multiline","icon":"icon-attribute","url":"#!/api/dr.text-attribute-multiline","meta":{},"sort":3},{"name":"ellipsis","fullName":"dr.text.ellipsis","icon":"icon-attribute","url":"#!/api/dr.text-attribute-ellipsis","meta":{},"sort":3},{"name":"text","fullName":"dr.text.text","icon":"icon-attribute","url":"#!/api/dr.text-attribute-text","meta":{},"sort":3},{"name":"format","fullName":"dr.text.format","icon":"icon-method","url":"#!/api/dr.text-method-format","meta":{},"sort":3},{"name":"undoable","fullName":"dr.editor.undoable","icon":"icon-class","url":"#!/api/dr.editor.undoable","meta":{"abstract":true},"sort":1},{"name":"done","fullName":"dr.editor.undoable.done","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-done","meta":{"readonly":true},"sort":3},{"name":"undodescription","fullName":"dr.editor.undoable.undodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-undodescription","meta":{},"sort":3},{"name":"redodescription","fullName":"dr.editor.undoable.redodescription","icon":"icon-attribute","url":"#!/api/dr.editor.undoable-attribute-redodescription","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undoable.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undoable.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-getRedoDescription","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undoable.undo","icon":"icon-method","url":"#!/api/dr.editor.undoable-method-undo","meta":{},"sort":3},{"name":"undostack","fullName":"dr.editor.undostack","icon":"icon-class","url":"#!/api/dr.editor.undostack","meta":{},"sort":1},{"name":"initNode","fullName":"dr.editor.undostack.initNode","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-initNode","meta":{},"sort":3},{"name":"reset","fullName":"dr.editor.undostack.reset","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-reset","meta":{},"sort":3},{"name":"__syncUndoabilityAttrs","fullName":"dr.editor.undostack.__syncUndoabilityAttrs","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__syncUndoabilityAttrs","meta":{"private":true},"sort":3},{"name":"canUndo","fullName":"dr.editor.undostack.canUndo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canUndo","meta":{},"sort":3},{"name":"canRedo","fullName":"dr.editor.undostack.canRedo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-canRedo","meta":{},"sort":3},{"name":"getUndoDescription","fullName":"dr.editor.undostack.getUndoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getUndoDescription","meta":{},"sort":3},{"name":"getRedoDescription","fullName":"dr.editor.undostack.getRedoDescription","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-getRedoDescription","meta":{},"sort":3},{"name":"do","fullName":"dr.editor.undostack.do","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-do","meta":{},"sort":3},{"name":"undo","fullName":"dr.editor.undostack.undo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-undo","meta":{},"sort":3},{"name":"redo","fullName":"dr.editor.undostack.redo","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-redo","meta":{},"sort":3},{"name":"__executeUndoable","fullName":"dr.editor.undostack.__executeUndoable","icon":"icon-method","url":"#!/api/dr.editor.undostack-method-__executeUndoable","meta":{"private":true},"sort":3},{"name":"variablelayout","fullName":"dr.variablelayout","icon":"icon-class","url":"#!/api/dr.variablelayout","meta":{},"sort":1},{"name":"updateparent","fullName":"dr.variablelayout.updateparent","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-updateparent","meta":{},"sort":3},{"name":"reverse","fullName":"dr.variablelayout.reverse","icon":"icon-attribute","url":"#!/api/dr.variablelayout-attribute-reverse","meta":{},"sort":3},{"name":"doBeforeUpdate","fullName":"dr.variablelayout.doBeforeUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doBeforeUpdate","meta":{},"sort":3},{"name":"doAfterUpdate","fullName":"dr.variablelayout.doAfterUpdate","icon":"icon-method","url":"#!/api/dr.variablelayout-method-doAfterUpdate","meta":{},"sort":3},{"name":"startMonitoringSubview","fullName":"dr.variablelayout.startMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-startMonitoringSubview","meta":{},"sort":3},{"name":"stopMonitoringSubview","fullName":"dr.variablelayout.stopMonitoringSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-stopMonitoringSubview","meta":{},"sort":3},{"name":"updateSubview","fullName":"dr.variablelayout.updateSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateSubview","meta":{},"sort":3},{"name":"skipSubview","fullName":"dr.variablelayout.skipSubview","icon":"icon-method","url":"#!/api/dr.variablelayout-method-skipSubview","meta":{},"sort":3},{"name":"updateParent","fullName":"dr.variablelayout.updateParent","icon":"icon-method","url":"#!/api/dr.variablelayout-method-updateParent","meta":{},"sort":3},{"name":"videoplayer","fullName":"dr.videoplayer","icon":"icon-class","url":"#!/api/dr.videoplayer","meta":{},"sort":1},{"name":"video","fullName":"dr.videoplayer.video","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-video","meta":{"readonly":true},"sort":3},{"name":"controls","fullName":"dr.videoplayer.controls","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-controls","meta":{},"sort":3},{"name":"poster","fullName":"dr.videoplayer.poster","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-poster","meta":{},"sort":3},{"name":"preload","fullName":"dr.videoplayer.preload","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-preload","meta":{},"sort":3},{"name":"loop","fullName":"dr.videoplayer.loop","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-loop","meta":{},"sort":3},{"name":"volume","fullName":"dr.videoplayer.volume","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-volume","meta":{},"sort":3},{"name":"duration","fullName":"dr.videoplayer.duration","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-duration","meta":{"readonly":true},"sort":3},{"name":"currenttime","fullName":"dr.videoplayer.currenttime","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-currenttime","meta":{},"sort":3},{"name":"playing","fullName":"dr.videoplayer.playing","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-playing","meta":{},"sort":3},{"name":"src","fullName":"dr.videoplayer.src","icon":"icon-attribute","url":"#!/api/dr.videoplayer-attribute-src","meta":{},"sort":3},{"name":"webpage","fullName":"dr.webpage","icon":"icon-class","url":"#!/api/dr.webpage","meta":{},"sort":1},{"name":"src","fullName":"dr.webpage.src","icon":"icon-attribute","url":"#!/api/dr.webpage-attribute-src","meta":{},"sort":3},{"name":"wrappinglayout","fullName":"dr.wrappinglayout","icon":"icon-class","url":"#!/api/dr.wrappinglayout","meta":{},"sort":1},{"name":"spacing","fullName":"dr.wrappinglayout.spacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-spacing","meta":{},"sort":3},{"name":"outset","fullName":"dr.wrappinglayout.outset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-outset","meta":{},"sort":3},{"name":"inset","fullName":"dr.wrappinglayout.inset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-inset","meta":{},"sort":3},{"name":"linespacing","fullName":"dr.wrappinglayout.linespacing","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linespacing","meta":{},"sort":3},{"name":"lineoutset","fullName":"dr.wrappinglayout.lineoutset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineoutset","meta":{},"sort":3},{"name":"lineinset","fullName":"dr.wrappinglayout.lineinset","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-lineinset","meta":{},"sort":3},{"name":"justify","fullName":"dr.wrappinglayout.justify","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-justify","meta":{},"sort":3},{"name":"align","fullName":"dr.wrappinglayout.align","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-align","meta":{},"sort":3},{"name":"linealign","fullName":"dr.wrappinglayout.linealign","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-linealign","meta":{},"sort":3},{"name":"axis","fullName":"dr.wrappinglayout.axis","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-axis","meta":{},"sort":3},{"name":"attribute","fullName":"dr.wrappinglayout.attribute","icon":"icon-attribute","url":"#!/api/dr.wrappinglayout-attribute-attribute","meta":{"private":true},"sort":3},{"name":"doLineStart","fullName":"dr.wrappinglayout.doLineStart","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineStart","meta":{},"sort":3},{"name":"doLineEnd","fullName":"dr.wrappinglayout.doLineEnd","icon":"icon-method","url":"#!/api/dr.wrappinglayout-method-doLineEnd","meta":{},"sort":3},{"name":"onlinecount","fullName":"dr.wrappinglayout.onlinecount","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onlinecount","meta":{},"sort":3},{"name":"onmaxsize","fullName":"dr.wrappinglayout.onmaxsize","icon":"icon-event","url":"#!/api/dr.wrappinglayout-event-onmaxsize","meta":{},"sort":3},{"name":"global","fullName":"global","icon":"icon-class","url":"#!/api/global","meta":{},"sort":1},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"browser","fullName":"global.browser","icon":"icon-method","url":"#!/api/global-method-browser","meta":{},"sort":3},{"name":"editor","fullName":"global.editor","icon":"icon-method","url":"#!/api/global-method-editor","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doResolve","fullName":"global.doResolve","icon":"icon-method","url":"#!/api/global-method-doResolve","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"generateSetterName","fullName":"global.generateSetterName","icon":"icon-method","url":"#!/api/global-method-generateSetterName","meta":{},"sort":3},{"name":"generateGetterName","fullName":"global.generateGetterName","icon":"icon-method","url":"#!/api/global-method-generateGetterName","meta":{},"sort":3},{"name":"generateConfigAttrName","fullName":"global.generateConfigAttrName","icon":"icon-method","url":"#!/api/global-method-generateConfigAttrName","meta":{},"sort":3},{"name":"generateConstraintFunctionName","fullName":"global.generateConstraintFunctionName","icon":"icon-method","url":"#!/api/global-method-generateConstraintFunctionName","meta":{},"sort":3},{"name":"generateName","fullName":"global.generateName","icon":"icon-method","url":"#!/api/global-method-generateName","meta":{},"sort":3},{"name":"GETTER_NAMES","fullName":"global.GETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-GETTER_NAMES","meta":{},"sort":3},{"name":"SETTER_NAMES","fullName":"global.SETTER_NAMES","icon":"icon-property","url":"#!/api/global-property-SETTER_NAMES","meta":{},"sort":3},{"name":"CONFIG_ATTR_NAMES","fullName":"global.CONFIG_ATTR_NAMES","icon":"icon-property","url":"#!/api/global-property-CONFIG_ATTR_NAMES","meta":{},"sort":3},{"name":"CONSTRAINT_FUNCTION_NAMES","fullName":"global.CONSTRAINT_FUNCTION_NAMES","icon":"icon-property","url":"#!/api/global-property-CONSTRAINT_FUNCTION_NAMES","meta":{},"sort":3},{"name":"setAttributes","fullName":"global.setAttributes","icon":"icon-method","url":"#!/api/global-method-setAttributes","meta":{},"sort":3},{"name":"getAttribute","fullName":"global.getAttribute","icon":"icon-method","url":"#!/api/global-method-getAttribute","meta":{},"sort":3},{"name":"getActualAttribute","fullName":"global.getActualAttribute","icon":"icon-method","url":"#!/api/global-method-getActualAttribute","meta":{},"sort":3},{"name":"setAttribute","fullName":"global.setAttribute","icon":"icon-method","url":"#!/api/global-method-setAttribute","meta":{"chainable":true},"sort":3},{"name":"setActualAttribute","fullName":"global.setActualAttribute","icon":"icon-method","url":"#!/api/global-method-setActualAttribute","meta":{"chainable":true},"sort":3},{"name":"getTypeForAttrName","fullName":"global.getTypeForAttrName","icon":"icon-method","url":"#!/api/global-method-getTypeForAttrName","meta":{"private":true},"sort":3},{"name":"setActual","fullName":"global.setActual","icon":"icon-method","url":"#!/api/global-method-setActual","meta":{},"sort":3},{"name":"setSimpleActual","fullName":"global.setSimpleActual","icon":"icon-method","url":"#!/api/global-method-setSimpleActual","meta":{},"sort":3},{"name":"setConstraint","fullName":"global.setConstraint","icon":"icon-method","url":"#!/api/global-method-setConstraint","meta":{"chainable":true},"sort":3},{"name":"setupConstraint","fullName":"global.setupConstraint","icon":"icon-method","url":"#!/api/global-method-setupConstraint","meta":{},"sort":3},{"name":"constraintify","fullName":"global.constraintify","icon":"icon-method","url":"#!/api/global-method-constraintify","meta":{"private":true},"sort":3},{"name":"isConstraintExpression","fullName":"global.isConstraintExpression","icon":"icon-method","url":"#!/api/global-method-isConstraintExpression","meta":{"private":true},"sort":3},{"name":"extractConstraintExpression","fullName":"global.extractConstraintExpression","icon":"icon-method","url":"#!/api/global-method-extractConstraintExpression","meta":{"private":true},"sort":3},{"name":"rebindConstraints","fullName":"global.rebindConstraints","icon":"icon-method","url":"#!/api/global-method-rebindConstraints","meta":{},"sort":3},{"name":"getConstraintTemplate","fullName":"global.getConstraintTemplate","icon":"icon-method","url":"#!/api/global-method-getConstraintTemplate","meta":{"private":true},"sort":3},{"name":"bindConstraint","fullName":"global.bindConstraint","icon":"icon-method","url":"#!/api/global-method-bindConstraint","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroy","fullName":"global.destroy","icon":"icon-method","url":"#!/api/global-method-destroy","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"destroyAfterOrphaning","fullName":"global.destroyAfterOrphaning","icon":"icon-method","url":"#!/api/global-method-destroyAfterOrphaning","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"PLATFORM_EVENTS","fullName":"global.PLATFORM_EVENTS","icon":"icon-property","url":"#!/api/global-property-PLATFORM_EVENTS","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"IDdictionary","fullName":"global.IDdictionary","icon":"icon-property","url":"#!/api/global-property-IDdictionary","meta":{},"sort":3},{"name":"__GUID_COUNTER","fullName":"global.__GUID_COUNTER","icon":"icon-property","url":"#!/api/global-property-__GUID_COUNTER","meta":{},"sort":3},{"name":"generateGuid","fullName":"global.generateGuid","icon":"icon-method","url":"#!/api/global-method-generateGuid","meta":{},"sort":3},{"name":"noop","fullName":"global.noop","icon":"icon-method","url":"#!/api/global-method-noop","meta":{},"sort":3},{"name":"resolveName","fullName":"global.resolveName","icon":"icon-method","url":"#!/api/global-method-resolveName","meta":{},"sort":3},{"name":"wrapFunction","fullName":"global.wrapFunction","icon":"icon-method","url":"#!/api/global-method-wrapFunction","meta":{},"sort":3},{"name":"dumpStack","fullName":"global.dumpStack","icon":"icon-method","url":"#!/api/global-method-dumpStack","meta":{},"sort":3},{"name":"fillTextTemplate","fullName":"global.fillTextTemplate","icon":"icon-method","url":"#!/api/global-method-fillTextTemplate","meta":{},"sort":3},{"name":"memoize","fullName":"global.memoize","icon":"icon-method","url":"#!/api/global-method-memoize","meta":{},"sort":3},{"name":"extend","fullName":"global.extend","icon":"icon-method","url":"#!/api/global-method-extend","meta":{},"sort":3},{"name":"closeTo","fullName":"global.closeTo","icon":"icon-method","url":"#!/api/global-method-closeTo","meta":{},"sort":3},{"name":"getClosestPointOnALineToAPoint","fullName":"global.getClosestPointOnALineToAPoint","icon":"icon-method","url":"#!/api/global-method-getClosestPointOnALineToAPoint","meta":{},"sort":3},{"name":"notifyReady","fullName":"global.notifyReady","icon":"icon-method","url":"#!/api/global-method-notifyReady","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"makePuppet","fullName":"global.makePuppet","icon":"icon-method","url":"#!/api/global-method-makePuppet","meta":{"private":true},"sort":3},{"name":"releasePuppet","fullName":"global.releasePuppet","icon":"icon-method","url":"#!/api/global-method-releasePuppet","meta":{"private":true},"sort":3},{"name":"__calculateLoopTime","fullName":"global.__calculateLoopTime","icon":"icon-method","url":"#!/api/global-method-__calculateLoopTime","meta":{"private":true},"sort":3},{"name":"__calculateTotalDuration","fullName":"global.__calculateTotalDuration","icon":"icon-method","url":"#!/api/global-method-__calculateTotalDuration","meta":{"private":true},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"rewind","fullName":"global.rewind","icon":"icon-method","url":"#!/api/global-method-rewind","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{"private":true},"sort":3},{"name":"__resetProgress","fullName":"global.__resetProgress","icon":"icon-method","url":"#!/api/global-method-__resetProgress","meta":{"private":true},"sort":3},{"name":"__isFlipped","fullName":"global.__isFlipped","icon":"icon-method","url":"#!/api/global-method-__isFlipped","meta":{"private":true},"sort":3},{"name":"__update","fullName":"global.__update","icon":"icon-method","url":"#!/api/global-method-__update","meta":{"private":true},"sort":3},{"name":"__advance","fullName":"global.__advance","icon":"icon-method","url":"#!/api/global-method-__advance","meta":{"private":true},"sort":3},{"name":"__calculateRemainder","fullName":"global.__calculateRemainder","icon":"icon-method","url":"#!/api/global-method-__calculateRemainder","meta":{"private":true},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"__notifyAnimators","fullName":"global.__notifyAnimators","icon":"icon-method","url":"#!/api/global-method-__notifyAnimators","meta":{"private":true},"sort":3},{"name":"__updateDuration","fullName":"global.__updateDuration","icon":"icon-method","url":"#!/api/global-method-__updateDuration","meta":{"private":true},"sort":3},{"name":"doSubnodeAdded","fullName":"global.doSubnodeAdded","icon":"icon-method","url":"#!/api/global-method-doSubnodeAdded","meta":{},"sort":3},{"name":"doSubnodeRemoved","fullName":"global.doSubnodeRemoved","icon":"icon-method","url":"#!/api/global-method-doSubnodeRemoved","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"doLoop","fullName":"global.doLoop","icon":"icon-method","url":"#!/api/global-method-doLoop","meta":{"private":true},"sort":3},{"name":"__getIntersection","fullName":"global.__getIntersection","icon":"icon-method","url":"#!/api/global-method-__getIntersection","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"clean","fullName":"global.clean","icon":"icon-method","url":"#!/api/global-method-clean","meta":{},"sort":3},{"name":"reset","fullName":"global.reset","icon":"icon-method","url":"#!/api/global-method-reset","meta":{},"sort":3},{"name":"updateTarget","fullName":"global.updateTarget","icon":"icon-method","url":"#!/api/global-method-updateTarget","meta":{},"sort":3},{"name":"__getColorValue","fullName":"global.__getColorValue","icon":"icon-method","url":"#!/api/global-method-__getColorValue","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"pendingEventQueue","fullName":"global.pendingEventQueue","icon":"icon-property","url":"#!/api/global-property-pendingEventQueue","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"detachAllObservers","fullName":"global.detachAllObservers","icon":"icon-method","url":"#!/api/global-method-detachAllObservers","meta":{},"sort":3},{"name":"getObservers","fullName":"global.getObservers","icon":"icon-method","url":"#!/api/global-method-getObservers","meta":{},"sort":3},{"name":"hasObservers","fullName":"global.hasObservers","icon":"icon-method","url":"#!/api/global-method-hasObservers","meta":{},"sort":3},{"name":"sendEvent","fullName":"global.sendEvent","icon":"icon-method","url":"#!/api/global-method-sendEvent","meta":{"chainable":true},"sort":3},{"name":"__fireEvent","fullName":"global.__fireEvent","icon":"icon-method","url":"#!/api/global-method-__fireEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"syncTo","fullName":"global.syncTo","icon":"icon-method","url":"#!/api/global-method-syncTo","meta":{},"sort":3},{"name":"isListeningTo","fullName":"global.isListeningTo","icon":"icon-method","url":"#!/api/global-method-isListeningTo","meta":{},"sort":3},{"name":"getObservables","fullName":"global.getObservables","icon":"icon-method","url":"#!/api/global-method-getObservables","meta":{},"sort":3},{"name":"hasObservables","fullName":"global.hasObservables","icon":"icon-method","url":"#!/api/global-method-hasObservables","meta":{},"sort":3},{"name":"listenToOnce","fullName":"global.listenToOnce","icon":"icon-method","url":"#!/api/global-method-listenToOnce","meta":{},"sort":3},{"name":"listenTo","fullName":"global.listenTo","icon":"icon-method","url":"#!/api/global-method-listenTo","meta":{"chainable":true},"sort":3},{"name":"stopListening","fullName":"global.stopListening","icon":"icon-method","url":"#!/api/global-method-stopListening","meta":{"chainable":true},"sort":3},{"name":"stopListeningToAllObservables","fullName":"global.stopListeningToAllObservables","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllObservables","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"listenToPlatform","fullName":"global.listenToPlatform","icon":"icon-method","url":"#!/api/global-method-listenToPlatform","meta":{},"sort":3},{"name":"stopListeningToPlatform","fullName":"global.stopListeningToPlatform","icon":"icon-method","url":"#!/api/global-method-stopListeningToPlatform","meta":{},"sort":3},{"name":"stopListeningToAllPlatformSources","fullName":"global.stopListeningToAllPlatformSources","icon":"icon-method","url":"#!/api/global-method-stopListeningToAllPlatformSources","meta":{},"sort":3},{"name":"invokePlatformObserverCallback","fullName":"global.invokePlatformObserverCallback","icon":"icon-method","url":"#!/api/global-method-invokePlatformObserverCallback","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"register","fullName":"global.register","icon":"icon-method","url":"#!/api/global-method-register","meta":{},"sort":3},{"name":"unregister","fullName":"global.unregister","icon":"icon-method","url":"#!/api/global-method-unregister","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"registerAutoScroller","fullName":"global.registerAutoScroller","icon":"icon-method","url":"#!/api/global-method-registerAutoScroller","meta":{},"sort":3},{"name":"unregisterAutoScroller","fullName":"global.unregisterAutoScroller","icon":"icon-method","url":"#!/api/global-method-unregisterAutoScroller","meta":{},"sort":3},{"name":"registerDropTarget","fullName":"global.registerDropTarget","icon":"icon-method","url":"#!/api/global-method-registerDropTarget","meta":{},"sort":3},{"name":"unregisterDropTarget","fullName":"global.unregisterDropTarget","icon":"icon-method","url":"#!/api/global-method-unregisterDropTarget","meta":{},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"__filterList","fullName":"global.__filterList","icon":"icon-method","url":"#!/api/global-method-__filterList","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"notifyError","fullName":"global.notifyError","icon":"icon-method","url":"#!/api/global-method-notifyError","meta":{},"sort":3},{"name":"notifyWarn","fullName":"global.notifyWarn","icon":"icon-method","url":"#!/api/global-method-notifyWarn","meta":{},"sort":3},{"name":"notifyMsg","fullName":"global.notifyMsg","icon":"icon-method","url":"#!/api/global-method-notifyMsg","meta":{},"sort":3},{"name":"notifyDebug","fullName":"global.notifyDebug","icon":"icon-method","url":"#!/api/global-method-notifyDebug","meta":{},"sort":3},{"name":"notify","fullName":"global.notify","icon":"icon-method","url":"#!/api/global-method-notify","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"callOnIdle","fullName":"global.callOnIdle","icon":"icon-method","url":"#!/api/global-method-callOnIdle","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__handleFocused","fullName":"global.__handleFocused","icon":"icon-method","url":"#!/api/global-method-__handleFocused","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isPlatformEvent","fullName":"global.isPlatformEvent","icon":"icon-method","url":"#!/api/global-method-isPlatformEvent","meta":{},"sort":3},{"name":"attachObserver","fullName":"global.attachObserver","icon":"icon-method","url":"#!/api/global-method-attachObserver","meta":{},"sort":3},{"name":"detachObserver","fullName":"global.detachObserver","icon":"icon-method","url":"#!/api/global-method-detachObserver","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getRoots","fullName":"global.getRoots","icon":"icon-method","url":"#!/api/global-method-getRoots","meta":{},"sort":3},{"name":"addRoot","fullName":"global.addRoot","icon":"icon-method","url":"#!/api/global-method-addRoot","meta":{},"sort":3},{"name":"removeRoot","fullName":"global.removeRoot","icon":"icon-method","url":"#!/api/global-method-removeRoot","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getWidth","fullName":"global.getWidth","icon":"icon-method","url":"#!/api/global-method-getWidth","meta":{},"sort":3},{"name":"getHeight","fullName":"global.getHeight","icon":"icon-method","url":"#!/api/global-method-getHeight","meta":{},"sort":3},{"name":"__handleResizeEvent","fullName":"global.__handleResizeEvent","icon":"icon-method","url":"#!/api/global-method-__handleResizeEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__skipX","fullName":"global.__skipX","icon":"icon-method","url":"#!/api/global-method-__skipX","meta":{},"sort":3},{"name":"__skipY","fullName":"global.__skipY","icon":"icon-method","url":"#!/api/global-method-__skipY","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"toHex","fullName":"global.toHex","icon":"icon-method","url":"#!/api/global-method-toHex","meta":{},"sort":3},{"name":"rgbToHex","fullName":"global.rgbToHex","icon":"icon-method","url":"#!/api/global-method-rgbToHex","meta":{},"sort":3},{"name":"cleanChannelValue","fullName":"global.cleanChannelValue","icon":"icon-method","url":"#!/api/global-method-cleanChannelValue","meta":{},"sort":3},{"name":"getRedChannel","fullName":"global.getRedChannel","icon":"icon-method","url":"#!/api/global-method-getRedChannel","meta":{},"sort":3},{"name":"getGreenChannel","fullName":"global.getGreenChannel","icon":"icon-method","url":"#!/api/global-method-getGreenChannel","meta":{},"sort":3},{"name":"getBlueChannel","fullName":"global.getBlueChannel","icon":"icon-method","url":"#!/api/global-method-getBlueChannel","meta":{},"sort":3},{"name":"makeColorFromNumber","fullName":"global.makeColorFromNumber","icon":"icon-method","url":"#!/api/global-method-makeColorFromNumber","meta":{},"sort":3},{"name":"makeColorFromHexString","fullName":"global.makeColorFromHexString","icon":"icon-method","url":"#!/api/global-method-makeColorFromHexString","meta":{},"sort":3},{"name":"getLighterColor","fullName":"global.getLighterColor","icon":"icon-method","url":"#!/api/global-method-getLighterColor","meta":{},"sort":3},{"name":"makeColorNumberFromChannels","fullName":"global.makeColorNumberFromChannels","icon":"icon-method","url":"#!/api/global-method-makeColorNumberFromChannels","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"setRed","fullName":"global.setRed","icon":"icon-method","url":"#!/api/global-method-setRed","meta":{},"sort":3},{"name":"setGreen","fullName":"global.setGreen","icon":"icon-method","url":"#!/api/global-method-setGreen","meta":{},"sort":3},{"name":"setBlue","fullName":"global.setBlue","icon":"icon-method","url":"#!/api/global-method-setBlue","meta":{},"sort":3},{"name":"getColorNumber","fullName":"global.getColorNumber","icon":"icon-method","url":"#!/api/global-method-getColorNumber","meta":{},"sort":3},{"name":"getHtmlHexString","fullName":"global.getHtmlHexString","icon":"icon-method","url":"#!/api/global-method-getHtmlHexString","meta":{},"sort":3},{"name":"isLighterThan","fullName":"global.isLighterThan","icon":"icon-method","url":"#!/api/global-method-isLighterThan","meta":{},"sort":3},{"name":"getDiffFrom","fullName":"global.getDiffFrom","icon":"icon-method","url":"#!/api/global-method-getDiffFrom","meta":{},"sort":3},{"name":"applyDiff","fullName":"global.applyDiff","icon":"icon-method","url":"#!/api/global-method-applyDiff","meta":{"chainable":true},"sort":3},{"name":"add","fullName":"global.add","icon":"icon-method","url":"#!/api/global-method-add","meta":{"chainable":true},"sort":3},{"name":"subtract","fullName":"global.subtract","icon":"icon-method","url":"#!/api/global-method-subtract","meta":{"chainable":true},"sort":3},{"name":"multiply","fullName":"global.multiply","icon":"icon-method","url":"#!/api/global-method-multiply","meta":{"chainable":true},"sort":3},{"name":"divide","fullName":"global.divide","icon":"icon-method","url":"#!/api/global-method-divide","meta":{"chainable":true},"sort":3},{"name":"clone","fullName":"global.clone","icon":"icon-method","url":"#!/api/global-method-clone","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"degreesToRadians","fullName":"global.degreesToRadians","icon":"icon-method","url":"#!/api/global-method-degreesToRadians","meta":{},"sort":3},{"name":"radiansToDegrees","fullName":"global.radiansToDegrees","icon":"icon-method","url":"#!/api/global-method-radiansToDegrees","meta":{},"sort":3},{"name":"translate","fullName":"global.translate","icon":"icon-method","url":"#!/api/global-method-translate","meta":{"chainable":true},"sort":3},{"name":"rotate","fullName":"global.rotate","icon":"icon-method","url":"#!/api/global-method-rotate","meta":{"chainable":true},"sort":3},{"name":"scale","fullName":"global.scale","icon":"icon-method","url":"#!/api/global-method-scale","meta":{"chainable":true},"sort":3},{"name":"transformAroundOrigin","fullName":"global.transformAroundOrigin","icon":"icon-method","url":"#!/api/global-method-transformAroundOrigin","meta":{},"sort":3},{"name":"getBoundingBox","fullName":"global.getBoundingBox","icon":"icon-method","url":"#!/api/global-method-getBoundingBox","meta":{},"sort":3},{"name":"keys","fullName":"global.keys","icon":"icon-property","url":"#!/api/global-property-keys","meta":{},"sort":3},{"name":"isArray","fullName":"global.isArray","icon":"icon-property","url":"#!/api/global-property-isArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"now","fullName":"global.now","icon":"icon-property","url":"#!/api/global-property-now","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"__sendEvent","fullName":"global.__sendEvent","icon":"icon-method","url":"#!/api/global-method-__sendEvent","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"filterInputPress","fullName":"global.filterInputPress","icon":"icon-method","url":"#!/api/global-method-filterInputPress","meta":{"private":true},"sort":3},{"name":"getCaretPosition","fullName":"global.getCaretPosition","icon":"icon-method","url":"#!/api/global-method-getCaretPosition","meta":{},"sort":3},{"name":"setCaretPosition","fullName":"global.setCaretPosition","icon":"icon-method","url":"#!/api/global-method-setCaretPosition","meta":{},"sort":3},{"name":"setCaretToStart","fullName":"global.setCaretToStart","icon":"icon-method","url":"#!/api/global-method-setCaretToStart","meta":{},"sort":3},{"name":"setCaretToEnd","fullName":"global.setCaretToEnd","icon":"icon-method","url":"#!/api/global-method-setCaretToEnd","meta":{},"sort":3},{"name":"selectAll","fullName":"global.selectAll","icon":"icon-method","url":"#!/api/global-method-selectAll","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"set_boxshadow","fullName":"global.set_boxshadow","icon":"icon-method","url":"#!/api/global-method-set_boxshadow","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"setInnerHTML","fullName":"global.setInnerHTML","icon":"icon-method","url":"#!/api/global-method-setInnerHTML","meta":{},"sort":3},{"name":"getInnerHTML","fullName":"global.getInnerHTML","icon":"icon-method","url":"#!/api/global-method-getInnerHTML","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"isBehind","fullName":"global.isBehind","icon":"icon-method","url":"#!/api/global-method-isBehind","meta":{},"sort":3},{"name":"isInFrontOf","fullName":"global.isInFrontOf","icon":"icon-method","url":"#!/api/global-method-isInFrontOf","meta":{},"sort":3},{"name":"__comparePosition","fullName":"global.__comparePosition","icon":"icon-method","url":"#!/api/global-method-__comparePosition","meta":{"private":true},"sort":3},{"name":"moveToFront","fullName":"global.moveToFront","icon":"icon-method","url":"#!/api/global-method-moveToFront","meta":{},"sort":3},{"name":"moveToBack","fullName":"global.moveToBack","icon":"icon-method","url":"#!/api/global-method-moveToBack","meta":{},"sort":3},{"name":"moveInFrontOf","fullName":"global.moveInFrontOf","icon":"icon-method","url":"#!/api/global-method-moveInFrontOf","meta":{},"sort":3},{"name":"moveBehind","fullName":"global.moveBehind","icon":"icon-method","url":"#!/api/global-method-moveBehind","meta":{},"sort":3},{"name":"getNextSiblingView","fullName":"global.getNextSiblingView","icon":"icon-method","url":"#!/api/global-method-getNextSiblingView","meta":{},"sort":3},{"name":"getPrevSiblingView","fullName":"global.getPrevSiblingView","icon":"icon-method","url":"#!/api/global-method-getPrevSiblingView","meta":{},"sort":3},{"name":"getLastSiblingView","fullName":"global.getLastSiblingView","icon":"icon-method","url":"#!/api/global-method-getLastSiblingView","meta":{},"sort":3},{"name":"getFirstSiblingView","fullName":"global.getFirstSiblingView","icon":"icon-method","url":"#!/api/global-method-getFirstSiblingView","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"platform","fullName":"global.platform","icon":"icon-property","url":"#!/api/global-property-platform","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"__getComputedStyle","fullName":"global.__getComputedStyle","icon":"icon-method","url":"#!/api/global-method-__getComputedStyle","meta":{},"sort":3},{"name":"__isDomElementVisible","fullName":"global.__isDomElementVisible","icon":"icon-method","url":"#!/api/global-method-__isDomElementVisible","meta":{},"sort":3},{"name":"createElement","fullName":"global.createElement","icon":"icon-method","url":"#!/api/global-method-createElement","meta":{},"sort":3},{"name":"simulatePlatformEvent","fullName":"global.simulatePlatformEvent","icon":"icon-method","url":"#!/api/global-method-simulatePlatformEvent","meta":{},"sort":3},{"name":"retainFocusDuringDomUpdate","fullName":"global.retainFocusDuringDomUpdate","icon":"icon-method","url":"#!/api/global-method-retainFocusDuringDomUpdate","meta":{},"sort":3},{"name":"sendReadyEvent","fullName":"global.sendReadyEvent","icon":"icon-method","url":"#!/api/global-method-sendReadyEvent","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateViewSize","fullName":"global.__updateViewSize","icon":"icon-method","url":"#!/api/global-method-__updateViewSize","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"isKeyDown","fullName":"global.isKeyDown","icon":"icon-method","url":"#!/api/global-method-isKeyDown","meta":{},"sort":3},{"name":"isShiftKeyDown","fullName":"global.isShiftKeyDown","icon":"icon-method","url":"#!/api/global-method-isShiftKeyDown","meta":{},"sort":3},{"name":"isControlKeyDown","fullName":"global.isControlKeyDown","icon":"icon-method","url":"#!/api/global-method-isControlKeyDown","meta":{},"sort":3},{"name":"isAltKeyDown","fullName":"global.isAltKeyDown","icon":"icon-method","url":"#!/api/global-method-isAltKeyDown","meta":{},"sort":3},{"name":"isCommandKeyDown","fullName":"global.isCommandKeyDown","icon":"icon-method","url":"#!/api/global-method-isCommandKeyDown","meta":{},"sort":3},{"name":"isAcceleratorKeyDown","fullName":"global.isAcceleratorKeyDown","icon":"icon-method","url":"#!/api/global-method-isAcceleratorKeyDown","meta":{},"sort":3},{"name":"handleFocusChange","fullName":"global.handleFocusChange","icon":"icon-method","url":"#!/api/global-method-handleFocusChange","meta":{"private":true},"sort":3},{"name":"__listenToDocument","fullName":"global.__listenToDocument","icon":"icon-method","url":"#!/api/global-method-__listenToDocument","meta":{"private":true},"sort":3},{"name":"__unlistenToDocument","fullName":"global.__unlistenToDocument","icon":"icon-method","url":"#!/api/global-method-__unlistenToDocument","meta":{"private":true},"sort":3},{"name":"__handleKeyDown","fullName":"global.__handleKeyDown","icon":"icon-method","url":"#!/api/global-method-__handleKeyDown","meta":{"private":true},"sort":3},{"name":"__handleKeyPress","fullName":"global.__handleKeyPress","icon":"icon-method","url":"#!/api/global-method-__handleKeyPress","meta":{"private":true},"sort":3},{"name":"__handleKeyUp","fullName":"global.__handleKeyUp","icon":"icon-method","url":"#!/api/global-method-__handleKeyUp","meta":{"private":true},"sort":3},{"name":"__shouldPreventDefault","fullName":"global.__shouldPreventDefault","icon":"icon-method","url":"#!/api/global-method-__shouldPreventDefault","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"__updateMultiline","fullName":"global.__updateMultiline","icon":"icon-method","url":"#!/api/global-method-__updateMultiline","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initialize","fullName":"global.initialize","icon":"icon-method","url":"#!/api/global-method-initialize","meta":{},"sort":3},{"name":"__WebkitPositionHack","fullName":"global.__WebkitPositionHack","icon":"icon-method","url":"#!/api/global-method-__WebkitPositionHack","meta":{"private":true},"sort":3},{"name":"__updateOverflow","fullName":"global.__updateOverflow","icon":"icon-method","url":"#!/api/global-method-__updateOverflow","meta":{"private":true},"sort":3},{"name":"__updatePointerEvents","fullName":"global.__updatePointerEvents","icon":"icon-method","url":"#!/api/global-method-__updatePointerEvents","meta":{"private":true},"sort":3},{"name":"getAbsolutePosition","fullName":"global.getAbsolutePosition","icon":"icon-method","url":"#!/api/global-method-getAbsolutePosition","meta":{},"sort":3},{"name":"getBounds","fullName":"global.getBounds","icon":"icon-method","url":"#!/api/global-method-getBounds","meta":{},"sort":3},{"name":"getAncestorArray","fullName":"global.getAncestorArray","icon":"icon-method","url":"#!/api/global-method-getAncestorArray","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"EVENT_TYPES","fullName":"global.EVENT_TYPES","icon":"icon-property","url":"#!/api/global-property-EVENT_TYPES","meta":{},"sort":3},{"name":"createPlatformMethodRef","fullName":"global.createPlatformMethodRef","icon":"icon-method","url":"#!/api/global-method-createPlatformMethodRef","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"addEventListener","fullName":"global.addEventListener","icon":"icon-property","url":"#!/api/global-property-addEventListener","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"set_focusedView","fullName":"global.set_focusedView","icon":"icon-method","url":"#!/api/global-method-set_focusedView","meta":{},"sort":3},{"name":"notifyFocus","fullName":"global.notifyFocus","icon":"icon-method","url":"#!/api/global-method-notifyFocus","meta":{},"sort":3},{"name":"notifyBlur","fullName":"global.notifyBlur","icon":"icon-method","url":"#!/api/global-method-notifyBlur","meta":{},"sort":3},{"name":"clear","fullName":"global.clear","icon":"icon-method","url":"#!/api/global-method-clear","meta":{},"sort":3},{"name":"next","fullName":"global.next","icon":"icon-method","url":"#!/api/global-method-next","meta":{},"sort":3},{"name":"prev","fullName":"global.prev","icon":"icon-method","url":"#!/api/global-method-prev","meta":{},"sort":3},{"name":"__focusTraverse","fullName":"global.__focusTraverse","icon":"icon-method","url":"#!/api/global-method-__focusTraverse","meta":{},"sort":3},{"name":"__findModelForDomElement","fullName":"global.__findModelForDomElement","icon":"icon-method","url":"#!/api/global-method-__findModelForDomElement","meta":{},"sort":3},{"name":"__getDeepestDescendant","fullName":"global.__getDeepestDescendant","icon":"icon-method","url":"#!/api/global-method-__getDeepestDescendant","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"initNode","fullName":"global.initNode","icon":"icon-method","url":"#!/api/global-method-initNode","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doActivated","fullName":"global.doActivated","icon":"icon-method","url":"#!/api/global-method-doActivated","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"scrollborder","fullName":"global.scrollborder","icon":"icon-attribute","url":"#!/api/global-attribute-scrollborder","meta":{},"sort":3},{"name":"scrollfrequency","fullName":"global.scrollfrequency","icon":"icon-attribute","url":"#!/api/global-attribute-scrollfrequency","meta":{},"sort":3},{"name":"scrollamount","fullName":"global.scrollamount","icon":"icon-attribute","url":"#!/api/global-attribute-scrollamount","meta":{},"sort":3},{"name":"scrollacceleration","fullName":"global.scrollacceleration","icon":"icon-attribute","url":"#!/api/global-attribute-scrollacceleration","meta":{},"sort":3},{"name":"notifyDragStart","fullName":"global.notifyDragStart","icon":"icon-method","url":"#!/api/global-method-notifyDragStart","meta":{},"sort":3},{"name":"notifyDragStop","fullName":"global.notifyDragStop","icon":"icon-method","url":"#!/api/global-method-notifyDragStop","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"drawDisabledState","fullName":"global.drawDisabledState","icon":"icon-method","url":"#!/api/global-method-drawDisabledState","meta":{"abstract":true},"sort":3},{"name":"drawFocusedState","fullName":"global.drawFocusedState","icon":"icon-method","url":"#!/api/global-method-drawFocusedState","meta":{},"sort":3},{"name":"drawHoverState","fullName":"global.drawHoverState","icon":"icon-method","url":"#!/api/global-method-drawHoverState","meta":{"abstract":true},"sort":3},{"name":"drawActiveState","fullName":"global.drawActiveState","icon":"icon-method","url":"#!/api/global-method-drawActiveState","meta":{"abstract":true},"sort":3},{"name":"drawReadyState","fullName":"global.drawReadyState","icon":"icon-method","url":"#!/api/global-method-drawReadyState","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"disabled","fullName":"global.disabled","icon":"icon-attribute","url":"#!/api/global-attribute-disabled","meta":{},"sort":3},{"name":"doDisabled","fullName":"global.doDisabled","icon":"icon-method","url":"#!/api/global-method-doDisabled","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"isdraggable","fullName":"global.isdraggable","icon":"icon-attribute","url":"#!/api/global-attribute-isdraggable","meta":{},"sort":3},{"name":"isdragging","fullName":"global.isdragging","icon":"icon-attribute","url":"#!/api/global-attribute-isdragging","meta":{},"sort":3},{"name":"allowabort","fullName":"global.allowabort","icon":"icon-attribute","url":"#!/api/global-attribute-allowabort","meta":{},"sort":3},{"name":"centeronmouse","fullName":"global.centeronmouse","icon":"icon-attribute","url":"#!/api/global-attribute-centeronmouse","meta":{},"sort":3},{"name":"distancebeforedrag","fullName":"global.distancebeforedrag","icon":"icon-attribute","url":"#!/api/global-attribute-distancebeforedrag","meta":{},"sort":3},{"name":"dragaxis","fullName":"global.dragaxis","icon":"icon-attribute","url":"#!/api/global-attribute-dragaxis","meta":{},"sort":3},{"name":"draggableallowbubble","fullName":"global.draggableallowbubble","icon":"icon-attribute","url":"#!/api/global-attribute-draggableallowbubble","meta":{},"sort":3},{"name":"dragoffsetx","fullName":"global.dragoffsetx","icon":"icon-attribute","url":"#!/api/global-attribute-dragoffsetx","meta":{},"sort":3},{"name":"dragoffsety","fullName":"global.dragoffsety","icon":"icon-attribute","url":"#!/api/global-attribute-dragoffsety","meta":{},"sort":3},{"name":"draginitx","fullName":"global.draginitx","icon":"icon-attribute","url":"#!/api/global-attribute-draginitx","meta":{},"sort":3},{"name":"draginity","fullName":"global.draginity","icon":"icon-attribute","url":"#!/api/global-attribute-draginity","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"getDragViews","fullName":"global.getDragViews","icon":"icon-method","url":"#!/api/global-method-getDragViews","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"updatePosition","fullName":"global.updatePosition","icon":"icon-method","url":"#!/api/global-method-updatePosition","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"getDistanceFromOriginalLocation","fullName":"global.getDistanceFromOriginalLocation","icon":"icon-method","url":"#!/api/global-method-getDistanceFromOriginalLocation","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"draggroups","fullName":"global.draggroups","icon":"icon-attribute","url":"#!/api/global-attribute-draggroups","meta":{},"sort":3},{"name":"addDragGroup","fullName":"global.addDragGroup","icon":"icon-method","url":"#!/api/global-method-addDragGroup","meta":{},"sort":3},{"name":"removeDragGroup","fullName":"global.removeDragGroup","icon":"icon-method","url":"#!/api/global-method-removeDragGroup","meta":{},"sort":3},{"name":"acceptAnyDragGroup","fullName":"global.acceptAnyDragGroup","icon":"icon-method","url":"#!/api/global-method-acceptAnyDragGroup","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"dropped","fullName":"global.dropped","icon":"icon-attribute","url":"#!/api/global-attribute-dropped","meta":{},"sort":3},{"name":"dropfailed","fullName":"global.dropfailed","icon":"icon-attribute","url":"#!/api/global-attribute-dropfailed","meta":{},"sort":3},{"name":"droptarget","fullName":"global.droptarget","icon":"icon-attribute","url":"#!/api/global-attribute-droptarget","meta":{},"sort":3},{"name":"willPermitDrop","fullName":"global.willPermitDrop","icon":"icon-method","url":"#!/api/global-method-willPermitDrop","meta":{},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"updateDrag","fullName":"global.updateDrag","icon":"icon-method","url":"#!/api/global-method-updateDrag","meta":{},"sort":3},{"name":"stopDrag","fullName":"global.stopDrag","icon":"icon-method","url":"#!/api/global-method-stopDrag","meta":{},"sort":3},{"name":"notifyDragEnter","fullName":"global.notifyDragEnter","icon":"icon-method","url":"#!/api/global-method-notifyDragEnter","meta":{},"sort":3},{"name":"notifyDragLeave","fullName":"global.notifyDragLeave","icon":"icon-method","url":"#!/api/global-method-notifyDragLeave","meta":{},"sort":3},{"name":"notifyDrop","fullName":"global.notifyDrop","icon":"icon-method","url":"#!/api/global-method-notifyDrop","meta":{},"sort":3},{"name":"notifyDropFailed","fullName":"global.notifyDropFailed","icon":"icon-method","url":"#!/api/global-method-notifyDropFailed","meta":{"abstract":true},"sort":3},{"name":"notifyDropAborted","fullName":"global.notifyDropAborted","icon":"icon-method","url":"#!/api/global-method-notifyDropAborted","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"dropparent","fullName":"global.dropparent","icon":"icon-attribute","url":"#!/api/global-attribute-dropparent","meta":{},"sort":3},{"name":"dropclass","fullName":"global.dropclass","icon":"icon-attribute","url":"#!/api/global-attribute-dropclass","meta":{},"sort":3},{"name":"dropclassattrs","fullName":"global.dropclassattrs","icon":"icon-attribute","url":"#!/api/global-attribute-dropclassattrs","meta":{},"sort":3},{"name":"dropable","fullName":"global.dropable","icon":"icon-attribute","url":"#!/api/global-attribute-dropable","meta":{"readonly":true},"sort":3},{"name":"startDrag","fullName":"global.startDrag","icon":"icon-method","url":"#!/api/global-method-startDrag","meta":{},"sort":3},{"name":"doMouseUp","fullName":"global.doMouseUp","icon":"icon-method","url":"#!/api/global-method-doMouseUp","meta":{},"sort":3},{"name":"makeDropable","fullName":"global.makeDropable","icon":"icon-method","url":"#!/api/global-method-makeDropable","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"willAcceptDrop","fullName":"global.willAcceptDrop","icon":"icon-method","url":"#!/api/global-method-willAcceptDrop","meta":{},"sort":3},{"name":"notifyDragStart","fullName":"global.notifyDragStart","icon":"icon-method","url":"#!/api/global-method-notifyDragStart","meta":{"abstract":true},"sort":3},{"name":"notifyDragStop","fullName":"global.notifyDragStop","icon":"icon-method","url":"#!/api/global-method-notifyDragStop","meta":{"abstract":true},"sort":3},{"name":"notifyDragEnter","fullName":"global.notifyDragEnter","icon":"icon-method","url":"#!/api/global-method-notifyDragEnter","meta":{"abstract":true},"sort":3},{"name":"notifyDragLeave","fullName":"global.notifyDragLeave","icon":"icon-method","url":"#!/api/global-method-notifyDragLeave","meta":{"abstract":true},"sort":3},{"name":"notifyDrop","fullName":"global.notifyDrop","icon":"icon-method","url":"#!/api/global-method-notifyDrop","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"classesbypanelid","fullName":"global.classesbypanelid","icon":"icon-attribute","url":"#!/api/global-attribute-classesbypanelid","meta":{},"sort":3},{"name":"panelsbypanelid","fullName":"global.panelsbypanelid","icon":"icon-attribute","url":"#!/api/global-attribute-panelsbypanelid","meta":{},"sort":3},{"name":"floatingpanelid","fullName":"global.floatingpanelid","icon":"icon-attribute","url":"#!/api/global-attribute-floatingpanelid","meta":{},"sort":3},{"name":"floatingalign","fullName":"global.floatingalign","icon":"icon-attribute","url":"#!/api/global-attribute-floatingalign","meta":{},"sort":3},{"name":"floatingvalign","fullName":"global.floatingvalign","icon":"icon-attribute","url":"#!/api/global-attribute-floatingvalign","meta":{},"sort":3},{"name":"floatingalignoffset","fullName":"global.floatingalignoffset","icon":"icon-attribute","url":"#!/api/global-attribute-floatingalignoffset","meta":{},"sort":3},{"name":"floatingvalignoffset","fullName":"global.floatingvalignoffset","icon":"icon-attribute","url":"#!/api/global-attribute-floatingvalignoffset","meta":{},"sort":3},{"name":"lastfloatingpanelshown","fullName":"global.lastfloatingpanelshown","icon":"icon-attribute","url":"#!/api/global-attribute-lastfloatingpanelshown","meta":{},"sort":3},{"name":"createFloatingPanel","fullName":"global.createFloatingPanel","icon":"icon-method","url":"#!/api/global-method-createFloatingPanel","meta":{},"sort":3},{"name":"getFloatingPanel","fullName":"global.getFloatingPanel","icon":"icon-method","url":"#!/api/global-method-getFloatingPanel","meta":{},"sort":3},{"name":"toggleFloatingPanel","fullName":"global.toggleFloatingPanel","icon":"icon-method","url":"#!/api/global-method-toggleFloatingPanel","meta":{},"sort":3},{"name":"showFloatingPanel","fullName":"global.showFloatingPanel","icon":"icon-method","url":"#!/api/global-method-showFloatingPanel","meta":{},"sort":3},{"name":"hideFloatingPanel","fullName":"global.hideFloatingPanel","icon":"icon-method","url":"#!/api/global-method-hideFloatingPanel","meta":{},"sort":3},{"name":"notifyPanelShown","fullName":"global.notifyPanelShown","icon":"icon-method","url":"#!/api/global-method-notifyPanelShown","meta":{"abstract":true},"sort":3},{"name":"notifyPanelHidden","fullName":"global.notifyPanelHidden","icon":"icon-method","url":"#!/api/global-method-notifyPanelHidden","meta":{"abstract":true},"sort":3},{"name":"getFloatingAlignForPanelId","fullName":"global.getFloatingAlignForPanelId","icon":"icon-method","url":"#!/api/global-method-getFloatingAlignForPanelId","meta":{},"sort":3},{"name":"getFloatingValignForPanelId","fullName":"global.getFloatingValignForPanelId","icon":"icon-method","url":"#!/api/global-method-getFloatingValignForPanelId","meta":{},"sort":3},{"name":"getFloatingAlignOffsetForPanelId","fullName":"global.getFloatingAlignOffsetForPanelId","icon":"icon-method","url":"#!/api/global-method-getFloatingAlignOffsetForPanelId","meta":{},"sort":3},{"name":"getFloatingValignOffsetForPanelId","fullName":"global.getFloatingValignOffsetForPanelId","icon":"icon-method","url":"#!/api/global-method-getFloatingValignOffsetForPanelId","meta":{},"sort":3},{"name":"getNextFocus","fullName":"global.getNextFocus","icon":"icon-method","url":"#!/api/global-method-getNextFocus","meta":{},"sort":3},{"name":"getNextFocusAfterPanel","fullName":"global.getNextFocusAfterPanel","icon":"icon-method","url":"#!/api/global-method-getNextFocusAfterPanel","meta":{},"sort":3},{"name":"getPrevFocusAfterPanel","fullName":"global.getPrevFocusAfterPanel","icon":"icon-method","url":"#!/api/global-method-getPrevFocusAfterPanel","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"activationkeys","fullName":"global.activationkeys","icon":"icon-attribute","url":"#!/api/global-attribute-activationkeys","meta":{},"sort":3},{"name":"activatekeydown","fullName":"global.activatekeydown","icon":"icon-attribute","url":"#!/api/global-attribute-activatekeydown","meta":{"readonly":true},"sort":3},{"name":"repeatkeydown","fullName":"global.repeatkeydown","icon":"icon-attribute","url":"#!/api/global-attribute-repeatkeydown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doBlur","fullName":"global.doBlur","icon":"icon-method","url":"#!/api/global-method-doBlur","meta":{},"sort":3},{"name":"doActivationKeyDown","fullName":"global.doActivationKeyDown","icon":"icon-method","url":"#!/api/global-method-doActivationKeyDown","meta":{"abstract":true},"sort":3},{"name":"doActivationKeyUp","fullName":"global.doActivationKeyUp","icon":"icon-method","url":"#!/api/global-method-doActivationKeyUp","meta":{},"sort":3},{"name":"doActivationKeyAborted","fullName":"global.doActivationKeyAborted","icon":"icon-method","url":"#!/api/global-method-doActivationKeyAborted","meta":{"abstract":true},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismousedown","fullName":"global.ismousedown","icon":"icon-attribute","url":"#!/api/global-attribute-ismousedown","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"doMouseDown","fullName":"global.doMouseDown","icon":"icon-method","url":"#!/api/global-method-doMouseDown","meta":{},"sort":3},{"name":"doMouseUp","fullName":"global.doMouseUp","icon":"icon-method","url":"#!/api/global-method-doMouseUp","meta":{},"sort":3},{"name":"doMouseUpInside","fullName":"global.doMouseUpInside","icon":"icon-method","url":"#!/api/global-method-doMouseUpInside","meta":{},"sort":3},{"name":"doMouseUpOutside","fullName":"global.doMouseUpOutside","icon":"icon-method","url":"#!/api/global-method-doMouseUpOutside","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"ismouseover","fullName":"global.ismouseover","icon":"icon-attribute","url":"#!/api/global-attribute-ismouseover","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{"private":true},"sort":3},{"name":"doSmoothMouseOver","fullName":"global.doSmoothMouseOver","icon":"icon-method","url":"#!/api/global-method-doSmoothMouseOver","meta":{},"sort":3},{"name":"trigger","fullName":"global.trigger","icon":"icon-method","url":"#!/api/global-method-trigger","meta":{},"sort":3},{"name":"doMouseOver","fullName":"global.doMouseOver","icon":"icon-method","url":"#!/api/global-method-doMouseOver","meta":{},"sort":3},{"name":"doMouseOut","fullName":"global.doMouseOut","icon":"icon-method","url":"#!/api/global-method-doMouseOut","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"","fullName":"global.","icon":"icon-property","url":"#!/api/global-property-","meta":{},"sort":3},{"name":"updateUI","fullName":"global.updateUI","icon":"icon-method","url":"#!/api/global-method-updateUI","meta":{"abstract":true},"sort":3},{"name":"Dynamically Constraining Attributes with JavaScript Expressions","fullName":"guide: Dynamically Constraining Attributes with JavaScript Expressions","icon":"icon-guide","url":"#!/guide/constraints","meta":{},"sort":4},{"name":"Troubleshooting and Debugging Dreem Applications","fullName":"guide: Troubleshooting and Debugging Dreem Applications","icon":"icon-guide","url":"#!/guide/debug","meta":{},"sort":4},{"name":"Dreem Class Packages Guide","fullName":"guide: Dreem Class Packages Guide","icon":"icon-guide","url":"#!/guide/packages","meta":{},"sort":4},{"name":"Dreem Plugin Guide","fullName":"guide: Dreem Plugin Guide","icon":"icon-guide","url":"#!/guide/plugins","meta":{},"sort":4},{"name":"Starting out with Dreem (using windows)\r","fullName":"guide: Starting out with Dreem (using windows)\r","icon":"icon-guide","url":"#!/guide/startingwithdreem","meta":{},"sort":4},{"name":"Dreem Language Guide","fullName":"guide: Dreem Language Guide","icon":"icon-guide","url":"#!/guide/subclassing","meta":{},"sort":4}],"guideSearch":{},"tests":false,"signatures":[{"long":"abstract","short":"ABS","tagname":"abstract"},{"long":"chainable","short":">","tagname":"chainable"},{"long":"deprecated","short":"DEP","tagname":"deprecated"},{"long":"experimental","short":"EXP","tagname":"experimental"},{"long":"★","short":"★","tagname":"new"},{"long":"preventable","short":"PREV","tagname":"preventable"},{"long":"private","short":"PRI","tagname":"private"},{"long":"protected","short":"PRO","tagname":"protected"},{"long":"readonly","short":"R O","tagname":"readonly"},{"long":"removed","short":"REM","tagname":"removed"},{"long":"required","short":"REQ","tagname":"required"},{"long":"static","short":"STA","tagname":"static"},{"long":"template","short":"TMP","tagname":"template"}],"memberTypes":[{"title":"Attributes","position":0.9,"icon":"/Users/freemason/workspace/teem/dreem2/docs/lib/attr.png","toolbar_title":"Attributes","subsections":[{"title":"Required attributes","filter":{"required":true}},{"title":"Optional attributes","filter":{"required":false},"default":true}],"name":"attribute"},{"title":"Config options","toolbar_title":"Configs","position":1,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/cfg.png","subsections":[{"title":"Required config options","filter":{"required":true}},{"title":"Optional config options","filter":{"required":false},"default":true}],"name":"cfg"},{"title":"Properties","position":2,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/property.png","subsections":[{"title":"Instance properties","filter":{"static":false},"default":true},{"title":"Static properties","filter":{"static":true}}],"name":"property"},{"title":"Methods","position":3,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/method.png","subsections":[{"title":"Instance methods","filter":{"static":false},"default":true},{"title":"Static methods","filter":{"static":true}}],"name":"method"},{"title":"Events","position":4,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/event.png","name":"event"},{"title":"CSS Variables","toolbar_title":"CSS Vars","position":5,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_var.png","name":"css_var"},{"title":"CSS Mixins","position":6,"icon":"/Users/freemason/.rvm/gems/ruby-2.0.0-p481/gems/jsduck-5.3.4/lib/jsduck/tag/icons/css_mixin.png","name":"css_mixin"}],"localStorageDb":"docs","showPrintButton":false,"touchExamplesUi":false,"source":true,"commentsUrl":null,"commentsDomain":null,"message":""}};
    diff --git a/docs/api/index.html b/docs/api/index.html
    index 46ac35c..25f5154 100644
    --- a/docs/api/index.html
    +++ b/docs/api/index.html
    @@ -13,7 +13,7 @@
       
     
       
    -  
    +  
     
       
     
    @@ -51,6 +51,7 @@ 

    All Classes

  • dr.editor.undoable
  • dr.editor.undostack
  • dr.expectedoutput
  • +
  • dr.floatingpanel
  • dr.fontdetect
  • dr.indicator
  • dr.inputtext
  • @@ -146,6 +147,10 @@

    Data

  • dr.dataset
  • dr.replicator
  • +

    UI Component

    +

    Input

    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    @@ -330,19 +317,8 @@
        * will get called.
        */-->
     <mixin name="keyactivation">
    -  <!--// Class Attributes ///////////////////////////////////////////////////-->
    -  <!--/**
    -    * The default activation keys are enter (13) and spacebar (32).
    -    */-->
    -  <attribute name="default_activation_keys" type="object" value="[13,32]" allocation="class"/>
    -
    -
       <!--// Life Cycle /////////////////////////////////////////////////////////-->
       <method name="initNode" args="parent, attrs">
    -    this.activateKeyDown = -1;
    -    
    -    if (attrs.activationkeys === undefined) attrs.activationkeys = dr.keyactivation.default_activation_keys;
    -    
         this.super();
         
         this.listenToPlatform(this, 'onkeydown', '__handleKeyDown');
    @@ -357,18 +333,17 @@
         * An array of chars The keys that when keyed down will activate this 
         * component. Note: The value is not copied so modification of the array 
         * outside the scope of this object will effect behavior.
    +    * The default activation keys are enter (13) and spacebar (32).
         */-->
    -  <attribute name="activationkeys" type="object" value="[]"/>
    -  <setter name="activationkeys" args="v">this.setSimpleActual('activationkeys', v);</setter>
    +  <attribute name="activationkeys" type="expression" value="[13,32]"/>
     
       <!--/**
    -    * @attribute {Number} activateKeyDown
    +    * @attribute {Number} activatekeydown
         * @readonly
         * The keycode of the activation key that is currently down. This will 
         * be -1 when no key is down.
         */-->
    -  <attribute name="activateKeyDown" type="number" value="-1"/>
    -  <setter name="activateKeyDown" args="v">this.setSimpleActual('activationkeys', v);</setter>
    +  <attribute name="activatekeydown" type="number" value="-1"/>
     
       <!--/**
         * @attribute {Boolean} repeatkeydown
    @@ -376,22 +351,21 @@
         * events or not.
         */-->
       <attribute name="repeatkeydown" type="boolean" value="false"/>
    -  <setter name="repeatkeydown" args="v">this.setSimpleActual('repeatkeydown', v);</setter>
     
     
       <!--// Methods ////////////////////////////////////////////////////////////-->
       <!--/** @private */-->
       <method name="__handleKeyDown" args="platformEvent">
         if (!this.disabled) {
    -      if (this.activateKeyDown === -1 || this.repeatkeydown) {
    +      if (this.activatekeydown === -1 || this.repeatkeydown) {
             var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent),
               keys = this.activationkeys, i = keys.length;
             while (i) {
               if (keyCode === keys[--i]) {
    -            if (this.activateKeyDown === keyCode) {
    +            if (this.activatekeydown === keyCode) {
                   this.doActivationKeyDown(keyCode, true);
                 } else {
    -              this.activateKeyDown = keyCode;
    +              this.activatekeydown = keyCode;
                   this.doActivationKeyDown(keyCode, false);
                 }
                 dr.sprite.preventDefault(platformEvent);
    @@ -406,7 +380,7 @@
       <method name="__handleKeyPress" args="platformEvent">
         if (!this.disabled) {
           var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    -      if (this.activateKeyDown === keyCode) {
    +      if (this.activatekeydown === keyCode) {
             var keys = this.activationkeys, i = keys.length;
             while (i) {
               if (keyCode === keys[--i]) {
    @@ -422,11 +396,11 @@
       <method name="__handleKeyUp" args="platformEvent">
         if (!this.disabled) {
           var keyCode = dr.sprite.KeyObservable.getKeyCodeFromEvent(platformEvent);
    -      if (this.activateKeyDown === keyCode) {
    +      if (this.activatekeydown === keyCode) {
             var keys = this.activationkeys, i = keys.length;
             while (i) {
               if (keyCode === keys[--i]) {
    -            this.activateKeyDown = -1;
    +            this.activatekeydown = -1;
                 this.doActivationKeyUp(keyCode);
                 dr.sprite.preventDefault(platformEvent);
                 return;
    @@ -445,9 +419,9 @@
         this.super();
         
         if (!this.disabled) {
    -      var keyThatWasDown = this.activateKeyDown;
    +      var keyThatWasDown = this.activatekeydown;
           if (keyThatWasDown !== -1) {
    -        this.activateKeyDown = -1;
    +        this.activatekeydown = -1;
             this.doActivationKeyAborted(keyThatWasDown);
           }
         }
    diff --git a/docs/api/source/RootNode.html b/docs/api/source/RootNode.html
    index 497b93e..7a0cde2 100644
    --- a/docs/api/source/RootNode.html
    +++ b/docs/api/source/RootNode.html
    @@ -29,7 +29,7 @@
     define(function(require, exports, module) {
         var dr = require('$LIB/dr/dr.js'),
             JS = require('$LIB/jsclass.js'),
    -        globalRootRegistry = require('$LIB/dr/globals/globalRootRegistry.js');
    +        globalRootRegistry = require('$LIB/dr/globals/GlobalRootRegistry.js');
         require('$LIB/dr/view/View.js');
         
         module.exports = dr.RootNode = new JS.Module('RootNode', {
    diff --git a/docs/api/source/SizeToViewport.html b/docs/api/source/SizeToViewport.html
    index e4afd68..881cf71 100644
    --- a/docs/api/source/SizeToViewport.html
    +++ b/docs/api/source/SizeToViewport.html
    @@ -2,54 +2,166 @@
     
     
       
    -  The source code
    -  
    -  
    +  CodeRay output
       
    -  
     
    -
    -  
    /** A mixin that sizes a root view to the viewport width, height or both.
    -    
    -    Events:
    -        None
    -    
    -    Attributes:
    -        minwidth:number the minimum width below which this view will not 
    -            resize its width. Defaults to 0.
    -        minheight:number the minimum height below which this view will not
    -            resize its height. Defaults to 0.
    -*/
    -define(function(require, exports, module) {
    -    var dr = require('$LIB/dr/dr.js'),
    -        JS = require('$LIB/jsclass.js');
    -    require('$LIB/dr/globals/GlobalViewportResize.js');
    -    
    -    module.exports = dr.SizeToViewport = new JS.Module('SizeToViewport', {
    -        include: [
    -            require('$LIB/dr/RootNode.js')
    -        ],
    -        
    -        
    -        // Life Cycle //////////////////////////////////////////////////////////////
    -        /** @overrides */
    -        initNode: function(parent, attrs) {
    -            this.minwidth = this.minheight = 0;
    -            this.callSuper(parent, attrs);
    -        },
    -        
    -        
    -        // Accessors ///////////////////////////////////////////////////////////////
    -        set_minwidth: function(v) {this.setActual('minwidth', v, 'number', 0);},
    -        set_minheight: function(v) {this.setActual('minheight', v, 'number', 0);}
    -    });
    -});
    -
    + + + + + +
    1
    +2
    +3
    +4
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!-- Exposes dr.SizeToViewport from lib/dr -->
    +<mixin name="sizetoviewport"></mixin>
    + diff --git a/docs/api/source/View3.html b/docs/api/source/View3.html index ad1d365..fa1082f 100644 --- a/docs/api/source/View3.html +++ b/docs/api/source/View3.html @@ -738,6 +738,11 @@ type: 'boolean', value: false, importance: 1, + }, + bgcolor: { + type: 'color', + value: 'transparent', + importance: 1, } } }, @@ -1284,8 +1289,8 @@ the page. Transforms are not supported. @returns object with 'x' and 'y' keys or null if no position could be determined. */ - getAbsolutePosition: function() { - return this.sprite.getAbsolutePosition(); + getAbsolutePosition: function(ancestorView) { + return this.sprite.getAbsolutePosition(ancestorView); }, getBoundsRelativeToParent: function() { @@ -1634,6 +1639,94 @@ this.sprite.moveBehind(siblingView); } return this; + }, + + // Hit Testing // + /** Checks if the provided location is inside this view or not. + @param locX:number the x position to test. + @param locY:number the y position to test. + @param referenceFrameView:dr.view (optional) The view + the locX and locY are relative to. If not provided the page is + assumed. + @returns boolean True if the location is inside this view, false + if not. */ + containsPoint: function(locX, locY, referenceFrameView) { + if (this.destroyed) return false; + var pos = this.getAbsolutePosition(referenceFrameView); + return this.rectContainsPoint(locX, locY, pos.x, pos.y, this.width, this.height); + }, + + /** Checks if the provided point is inside or on the edge of the provided + rectangle. + @param pX:number the x coordinate of the point to test. + @param pY:number the y coordinate of the point to test. + @param rX:number the x coordinate of the rectangle. + @param rY:number the y coordinate of the rectangle. + @param rW:number the width of the rectangle. + @param rH:number the height of the rectangle. + + Alternate Params: + @param pX:object a point object with properties x and y. + @param rX:object a rect object with properties x, y, width and height. + + @returns boolean True if the point is inside or on the rectangle. */ + rectContainsPoint: function(pX, pY, rX, rY, rW, rH) { + if (typeof pX === 'object') { + rH = rW; + rW = rY; + rY = rX; + rX = pY; + pY = pX.y; + pX = pX.x; + } + + if (typeof rX === 'object') { + rH = rX.height; + rW = rX.width; + rY = rX.y; + rX = rX.x; + } + + return pX >= rX && pY >= rY && pX <= rX + rW && pY <= rY + rH; + }, + + /** Checks if the provided location is visible on this view and is not + masked by the bounding box of the view or any of its ancestor views. + @returns boolean: true if visible, false otherwise. */ + isPointVisible: function(locX, locY) { + var pos = this.getAbsolutePosition(); + this.calculateEffectiveScale(); + return this.__isPointVisible(locX - pos.x, locY - pos.y); + }, + + /** @private */ + __isPointVisible: function(x, y) { + var effectiveScale = this.__effectiveScale; + + if (this.rectContainsPoint(x, y, 0, 0, this.width * effectiveScale, this.height * effectiveScale)) { + var p = this.parent; + if (p) { + var parentSprite = p.sprite, pScale = p.__effectiveScale; + return p.__isPointVisible(x + (this.x - parentSprite.getScrollX()) * pScale, y + (this.y - parentSprite.getScrollY()) * pScale); + } + return true; + } + return false; + }, + + calculateEffectiveScale: function() { + var ancestors = this.getAncestors(), i = ancestors.length, ancestor, + effectiveScale = 1; + while (i) { + ancestor = ancestors[--i]; + effectiveScale *= ancestor.xscale || 1; + ancestor.__effectiveScale = effectiveScale; + } + }, + + getEffectiveScale: function() { + this.calculateEffectiveScale(); + return this.__effectiveScale; } }); }); diff --git a/docs/api/source/autoscroller.html b/docs/api/source/autoscroller.html new file mode 100644 index 0000000..2d51585 --- /dev/null +++ b/docs/api/source/autoscroller.html @@ -0,0 +1,489 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.autoscroller {UI Behavior}
    +   * Makes a dr.view auto scroll during drag and drop.
    +   */-->
    +<!--
    +  Private Attributes:
    +    __amountscrollUp:number
    +    __amountscrollDown:number
    +    __amountscrollLeft:number
    +    __amountscrollRight:number
    +    __isAutoscrollUp:boolean
    +    __timerIdAutoscrollUp:number
    +    __isAutoscrollDown:boolean
    +    __timerIdAutoscrollDown:number
    +    __isAutoscrollLeft:boolean
    +    __timerIdAutoscrollLeft:number
    +    __isAutoscrollRight:boolean
    +    __timerIdAutoscrollRight:number
    +-->
    +<mixin name="autoscroller" with="draggroupsupport" scrollable="true">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    this.super();
    +    dr.global.dragManager.registerAutoScroller(this);
    +  </method>
    +
    +  <method name="destroyAfterOrphaning">
    +    dr.global.dragManager.unregisterAutoScroller(this);
    +    this.super();
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Number} scrollborder
    +    * The thickness of the auto scroll border.
    +    */-->
    +  <attribute name="scrollborder" type="number" value="40"/>
    +
    +  <!--/**
    +    * @attribute {Number} scrollfrequency
    +    * The time between autoscroll adjustments.
    +    */-->
    +  <attribute name="scrollfrequency" type="number" value="50"/>
    +
    +  <!--/**
    +    * @attribute {Number} scrollamount
    +    * The number of pixels to adjust by each time.
    +    */-->
    +  <attribute name="scrollamount" type="number" value="2"/>
    +
    +  <!--/**
    +    * @attribute {Number} scrollacceleration
    +    * The amount to increase scrolling by as the mouse gets closer to the 
    +    * edge of the view. Setting this to 0 will result in no acceleration.
    +    */-->
    +  <attribute name="scrollacceleration" type="number" value="7"/>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method notifyDragStart
    +    * Called by dr.GlobalDragManager when a dropable starts being dragged
    +    * that has a matching drag group.
    +    * @param (dr.dropable} dropable The dropable being dragged.
    +    * @returns {void} 
    +    */-->
    +  <method name="notifyDragStart" args="dropable">
    +    var sprite = this.sprite;
    +    if (sprite.getScrollHeight() > this.height || sprite.getScrollWidth() > this.width) { // Was clientHeight/clientWidth not height/width
    +      this.listenToPlatform(dr.global.mouse, 'onmousemove', '__handleMouseMove', true);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDragStop
    +    * Called by dr.GlobalDragManager when a dropable stops being dragged
    +    * that has a matching drag group.
    +    * @param (dr.dropable} dropable The dropable no longer being dragged.
    +    * @returns {void} 
    +    */-->
    +  <method name="notifyDragStop" args="dropable">
    +    this.stopListeningToPlatform(dr.global.mouse, 'onmousemove', '__handleMouseMove', true);
    +    
    +    this.__resetVScroll();
    +    this.__resetHScroll();
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__handleMouseMove" args="event">
    +    var mouseX = event.x, 
    +      mouseY = event.y;
    +    
    +    if (this.containsPoint(mouseX, mouseY)) {
    +      var pos = this.getAbsolutePosition(), 
    +        scrollborder = this.scrollborder;
    +      
    +      mouseX -= pos.x;
    +      mouseY -= pos.y;
    +      
    +      if (scrollborder > mouseY) {
    +        this.__isAutoscrollUp = true;
    +        this.__amountscrollUp = this.__calculateAmount((scrollborder - mouseY) / scrollborder);
    +        if (!this.__timerIdAutoscrollUp) this.__doAutoScrollAdj('scrollUp', -1);
    +      } else if (scrollborder > this.height - mouseY) {
    +        this.__isAutoscrollDown = true;
    +        this.__amountscrollDown = this.__calculateAmount((scrollborder - (this.height - mouseY)) / scrollborder);
    +        if (!this.__timerIdAutoscrollDown) this.__doAutoScrollAdj('scrollDown', 1);
    +      } else {
    +        this.__resetVScroll();
    +      }
    +      
    +      if (scrollborder > mouseX) {
    +        this.__isAutoscrollLeft = true;
    +        this.__amountscrollLeft = this.__calculateAmount((scrollborder - mouseX) / scrollborder);
    +        if (!this.__timerIdAutoscrollLeft) this.__doAutoScrollAdj('scrollLeft', -1);
    +      } else if (scrollborder > this.width - mouseX) {
    +        this.__isAutoscrollRight = true;
    +        this.__amountscrollRight = this.__calculateAmount((scrollborder - (this.width - mouseX)) / scrollborder);
    +        if (!this.__timerIdAutoscrollRight) this.__doAutoScrollAdj('scrollRight', 1);
    +      } else {
    +        this.__resetHScroll();
    +      }
    +    } else {
    +      this.__resetVScroll();
    +      this.__resetHScroll();
    +    }
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__calculateAmount" args="percent">
    +    return Math.round(this.scrollamount * (1 + this.scrollacceleration * percent));
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__resetVScroll">
    +    this.__isAutoscrollUp = false;
    +    this.__timerIdAutoscrollUp = null;
    +    this.__isAutoscrollDown = false;
    +    this.__timerIdAutoscrollDown = null;
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__resetHScroll">
    +    this.__isAutoscrollLeft = false;
    +    this.__timerIdAutoscrollLeft = null;
    +    this.__isAutoscrollRight = false;
    +    this.__timerIdAutoscrollRight = null;
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__doAutoScrollAdj" args="dir, amt">
    +    if (this['__isAuto' + dir]) {
    +      var attrName = dir === 'scrollUp' || dir === 'scrollDown' ? 'scrolly' : 'scrollx';
    +      this.setAttribute(attrName, this[attrName] + (amt * this['__amount' + dir]));
    +      
    +      var self = this;
    +      this['__timerIdAuto' + dir] = setTimeout(function() {
    +        self.__doAutoScrollAdj(dir, amt);
    +      }, this.scrollfrequency);
    +    }
    +  </method>
    +</mixin>
    + + + diff --git a/docs/api/source/button.html b/docs/api/source/button.html index 7ba7f85..865476c 100644 --- a/docs/api/source/button.html +++ b/docs/api/source/button.html @@ -351,7 +351,7 @@ this.__restoreCursor = null; } - if (this.activateKeyDown !== -1 || this.ismousedown) { + if (this.activatekeydown !== -1 || this.ismousedown) { this.drawActiveState(); } else if (this.focused) { this.drawFocusedState(); diff --git a/docs/api/source/dr.html b/docs/api/source/dr.html index 2e4cd1e..13a91fe 100644 --- a/docs/api/source/dr.html +++ b/docs/api/source/dr.html @@ -262,6 +262,29 @@ return squared ? diffSquared : Math.sqrt(diffSquared); }, + /** Get the closest point on a line to a given point. + @param Ax:number The x-coordinate of the first point that defines + the line. + @param Ay:number The y-coordinate of the first point that defines + the line. + @param Bx:number The x-coordinate of the second point that defines + the line. + @param By:number The y-coordinate of the second point that defines + the line. + @param Px:number The x-coordinate of the point. + @param Py:number The y-coordinate of the point. + @returns object: A position object with x and y properties. */ + getClosestPointOnALineToAPoint: function(Ax, Ay, Bx, By, Px, Py) { + var APx = Px - Ax, + APy = Py - Ay, + ABx = Bx - Ax, + ABy = By - Ay, + magAB2 = ABx * ABx + ABy * ABy, + ABdotAP = ABx * APx + ABy * APy, + t = ABdotAP / magAB2; + return {x:Ax + ABx * t, y:Ay + ABy * t}; + }, + // Dreem Instantiation lookupClass: function(classname) { return this.maker.lookupClass(classname, this.pkg); diff --git a/docs/api/source/draggable.html b/docs/api/source/draggable.html index 77bfb73..b828169 100644 --- a/docs/api/source/draggable.html +++ b/docs/api/source/draggable.html @@ -418,6 +418,65 @@ 264 265 266 +267 +268 +269 +270 +271 +272 +273 +274 +275 +276 +277 +278 +279 +280 +281 +282 +283 +284 +285 +286 +287 +288 +289 +290 +291 +292 +293 +294 +295 +296 +297 +298 +299 +300 +301 +302 +303 +304 +305 +306 +307 +308 +309 +310 +311 +312 +313 +314 +315 +316 +317 +318 +319 +320 +321 +322 +323 +324 +325
    <!-- The MIT License (see LICENSE)
          Copyright (C) 2014-2015 Teem2 LLC -->
    @@ -430,12 +489,8 @@
        */-->
     <!--
       Private Attributes:
    -    __initMouseX:number The initial x location of the mouse relative to the viewport.
    -    __initMouseY:number The initial y location of the mouse relative to the viewport.
         __initLocX:number The initial x location of this view relative to the parent view.
         __initLocY:number The initial y location of this view relative to the parent view.
    -    __initAbsLocX:number The initial x location of the view relative to the viewport.
    -    __initAbsLocY:number The initial x location of the view relative to the viewport.
     -->
     <mixin name="draggable" with="mouseoveranddown">
       <!--// Life Cycle /////////////////////////////////////////////////////////-->
    @@ -492,14 +547,12 @@
         * Indicates that this view is currently being dragged.
         */-->
       <attribute name="isdragging" type="boolean" value="false"/>
    -  <setter name="isdragging" args="v">this.setActual('isdragging', v, 'boolean', false);</setter>
     
       <!--/**
         * @attribute {Boolean} allowabort
         * Allows a drag to be aborted by the user by pressing the 'esc' key.
         */-->
       <attribute name="allowabort" type="boolean" value="false"/>
    -  <setter name="allowabort" args="v">this.setActual('allowabort', v, 'boolean', false);</setter>
     
       <!--/**
         * @attribute {Boolean} centeronmouse
    @@ -507,7 +560,6 @@
         * the view centered on the mouse.
         */-->
       <attribute name="centeronmouse" type="boolean" value="false"/>
    -  <setter name="centeronmouse" args="v">this.setActual('centeronmouse', v, 'boolean', false);</setter>
     
       <!--/**
         * @attribute {Number} distancebeforedrag
    @@ -515,14 +567,56 @@
         * drag action.
         */-->
       <attribute name="distancebeforedrag" type="number" value="0"/>
    -  <setter name="distancebeforedrag" args="v">this.setActual('distancebeforedrag', v, 'number', 0);</setter>
     
       <!--/**
         * @attribute {String} dragaxis
         * Limits dragging to a single axis. Supported values: 'x', 'y', 'both'.
         */-->
       <attribute name="dragaxis" type="string" value="both"/>
    -  <setter name="dragaxis" args="v">this.setActual('dragaxis', v, 'string', 'both');</setter>
    +
    +  <!--/**
    +    * @attribute {Boolean} draggableallowbubble
    +    * Determines if mousedown and mouseup platform events handled by this component will bubble or not.
    +    */-->
    +  <attribute name="draggableallowbubble" type="boolean" value="true"/>
    +
    +  <!--/**
    +    * @attribute {Number} dragoffsetx
    +    * The x amount to offset the position during dragging.
    +    */-->
    +  <attribute name="dragoffsetx" type="number" value="0"/>
    +  <setter name="dragoffsetx" args="v">this.setDragOffsetX(v, false);</setter>
    +  
    +  <method name="setDragOffsetX" args="v, supressUpdate">
    +    if (this.setActual('dragoffsetx', v, 'number', 0)) {
    +      if (this.inited && this.isdragging && !supressUpdate) this.__requestDragPosition();
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @attribute {Number} dragoffsety
    +    * The y amount to offset the position during dragging.
    +    */-->
    +  <attribute name="dragoffsety" type="number" value="0"/>
    +  <setter name="dragoffsety" args="v">this.setDragOffsetY(v, false);</setter>
    +
    +  <method name="setDragOffsetY" args="v, supressUpdate">
    +    if (this.setActual('dragoffsety', v, 'number', 0)) {
    +      if (this.inited && this.isdragging && !supressUpdate) this.__requestDragPosition();
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @attribute {Number} draginitx
    +    * Stores initial mouse x position during dragging.
    +    */-->
    +  <attribute name="draginitx" type="number" value="0"/>
    +
    +  <!--/**
    +    * @attribute {Number} draginity
    +    * Stores initial mouse y position during dragging.
    +    */-->
    +  <attribute name="draginity" type="number" value="0"/>
     
       <!--/** @overrides dr.disableable */-->
       <setter name="disabled" args="v">
    @@ -554,13 +648,10 @@
     
       <!--/** @private */-->
       <method name="__doMouseDown" args="event">
    -    var absPosition = this.getAbsolutePosition();
    -    this.__initMouseX = event.x;
    -    this.__initMouseY = event.y;
         this.__initLocX = this.x;
         this.__initLocY = this.y;
    -    this.__initAbsLocX = absPosition.x;
    -    this.__initAbsLocY = absPosition.y;
    +    this.draginitx = event.x - this.x;
    +    this.draginity = event.y - this.y;
         
         var gm = dr.global.mouse;
         this.listenToPlatform(gm, 'onmouseup', '__doMouseUp', true);
    @@ -572,7 +663,7 @@
         
         dr.sprite.preventDefault(event);
         
    -    return true; // Allow platform event bubbling
    +    return this.draggableallowbubble;
       </method>
     
       <!--/** @private */-->
    @@ -584,12 +675,12 @@
           this.stopListeningToPlatform(gm, 'onmouseup', '__doMouseUp', true);
           this.stopListeningToPlatform(gm, 'onmousemove', '__doDragCheck', true);
         }
    -    return true; // Allow platform event bubbling
    +    return this.draggableallowbubble;
       </method>
     
       <!--/** @private */-->
       <method name="__doDragCheck" args="event">
    -    var distance = dr.measureDistance(event.x, event.y, this.__initMouseX, this.__initMouseY);
    +    var distance = dr.measureDistance(event.x, event.y, this.draginitx + this.x, this.draginity + this.y);
         if (distance >= this.distancebeforedrag) {
           this.stopListeningToPlatform(dr.global.mouse, 'onmousemove', '__doDragCheck', true);
           this.startDrag(event);
    @@ -606,6 +697,11 @@
         */-->
       <method name="startDrag" args="event">
         if (!this.disabled) {
    +      if (this.centeronmouse) {
    +          this.syncTo(this, 'onwidth', '__updateDragInitX');
    +          this.syncTo(this, 'onheight', '__updateDragInitY');
    +      }
    +      
           var g = dr.global;
           if (this.allowabort) this.listenTo(g.keys, 'onkeycodeup', '__watchForAbort');
           
    @@ -621,20 +717,27 @@
         * @returns {void} 
         */-->
       <method name="updateDrag" args="event">
    -    this.__requestDragPosition(event);
    +    this.__lastMousePosition = {x:event.x, y:event.y};
    +    this.__requestDragPosition();
    +  </method>
    +  
    +  <!--/** @private */-->
    +  <method name="__updateDragInitX" args="event">
    +    this.draginitx = this.width / 2 * (this.xscale || 1);
       </method>
     
       <!--/** @private */-->
    -  <method name="__requestDragPosition" args="mousePos">
    -    var x = mousePos.x - this.__initMouseX + this.__initLocX,
    -      y = mousePos.y - this.__initMouseY + this.__initLocY;
    -    
    -    if (this.centeronmouse) {
    -      x -= (this.boundswidth / 2) + this.__initAbsLocX - this.__initMouseX;
    -      y -= (this.boundsheight / 2)  + this.__initAbsLocY - this.__initMouseY;
    -    }
    -    
    -    this.updatePosition(x, y);
    +  <method name="__updateDragInitY" args="event">
    +    this.draginity = this.height / 2 * (this.yscale || 1);
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__requestDragPosition">
    +    var pos = this.__lastMousePosition;
    +    this.updatePosition(
    +        pos.x - this.draginitx + this.dragoffsetx, 
    +        pos.y - this.draginity + this.dragoffsety
    +    );
       </method>
     
       <!--/**
    @@ -665,6 +768,10 @@
         var g = dr.global, gm = g.mouse;
         this.stopListeningToPlatform(gm, 'onmouseup', '__doMouseUp', true);
         this.stopListeningToPlatform(gm, 'onmousemove', 'updateDrag', true);
    +    if (this.centeronmouse) {
    +      this.stopListening(this, 'onwidth', '__updateDragInitX');
    +      this.stopListening(this, 'onheight', '__updateDragInitY');
    +    }
         this.stopListening(g.keys, 'onkeycodeup', '__watchForAbort');
         
         this.setAttribute('isdragging', false);
    @@ -679,11 +786,22 @@
       <!--/**
         * @method getDistanceFromOriginalLocation
         * Gets the distance dragged from the location of the start of the drag.
    +    * If an axis of 'x' or 'y' is provided the value is the pos/neg distance
    +    * along that axis. Otherwise, the standard euclidean distance is returned.
         * @returns {Number} 
         */-->
    -  <method name="getDistanceFromOriginalLocation" args="x, y">
    +  <method name="getDistanceFromOriginalLocation" args="axis">
    +    if (axis === 'x') {
    +      return this.x - this.__initLocX;
    +    } else if (axis === 'y') {
    +        return this.y - this.__initLocY;
    +    }
         return dr.measureDistance(this.x, this.y, this.__initLocX, this.__initLocY);
       </method>
    +  
    +  <method name="getOriginalLocation">
    +    return {x:this.__initLocX, y:this.__initLocY};
    +  </method>
     </mixin>
    diff --git a/docs/api/source/draggroupsupport.html b/docs/api/source/draggroupsupport.html new file mode 100644 index 0000000..ab3ce16 --- /dev/null +++ b/docs/api/source/draggroupsupport.html @@ -0,0 +1,289 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.draggroupsupport {UI Behavior}
    +   * Adds drag group support to drag and drop related classes.
    +   */-->
    +<!--
    +  Private Attributes:
    +    __acceptAny:boolean The precalculated return value for the
    +      acceptAnyDragGroup method.
    +-->
    +<mixin name="draggroupsupport">
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Object} draggroups
    +    * The keys are the set of drag groups this view supports. By default the 
    +    * special drag group of '*' which accepts all drag groups is defined.
    +    */-->
    +  <attribute name="draggroups" type="expression" value="{'*':true}"/>
    +  <setter name="draggroups" args="v">
    +    v = this.coerce('draggroups', v, 'expression', {'*':true});
    +    
    +    var newDragGroups = {};
    +    for (var dragGroup in v) newDragGroups[dragGroup] = true;
    +    this.draggroups = newDragGroups;
    +    this.__acceptAny = newDragGroups.hasOwnProperty('*');
    +  </setter>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method addDragGroup
    +    * Adds the provided dragGroup to the draggroups.
    +    * @param {String} dragGroup The drag group to add.
    +    * @returns {void} 
    +    */-->
    +  <method name="addDragGroup" args="dragGroup">
    +    if (dragGroup) {
    +      this.draggroups[dragGroup] = true;
    +      if (dragGroup === '*') this.__acceptAny = true;
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method removeDragGroup
    +    * Removes the provided dragGroup from the draggroups.
    +    * @param {String} dragGroup The drag group to remove.
    +    * @returns {void} 
    +    */-->
    +  <method name="removeDragGroup" args="dragGroup">
    +    if (dragGroup) {
    +      delete this.draggroups[dragGroup];
    +      if (dragGroup === '*') this.__acceptAny = false;
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method acceptAnyDragGroup
    +    * Determines if this drop target will accept drops from any drag group.
    +    * @returns {void} True if any drag group will be accepted, false otherwise.
    +    */-->
    +  <method name="acceptAnyDragGroup">
    +    return this.__acceptAny;
    +  </method>
    +</mixin>
    + + + diff --git a/docs/api/source/dreemMaker.html b/docs/api/source/dreemMaker.html index bdc6bde..abc93a3 100644 --- a/docs/api/source/dreemMaker.html +++ b/docs/api/source/dreemMaker.html @@ -54,6 +54,7 @@ require('$LIB/dr/globals/GlobalKeys.js'); require('$LIB/dr/globals/GlobalMouse.js'); require('$LIB/dr/globals/GlobalIdle.js'); + require('$LIB/dr/globals/GlobalDragManager.js'); require('$LIB/dr/Eventable.js'); require('$LIB/dr/view/SizeToViewport.js'); require('$LIB/dr/animation/Animator.js'); @@ -288,7 +289,8 @@ eventable:dr.Eventable, layout:dr.Layout, node:dr.Node, - view:dr.View + view:dr.View, + sizetoviewport:dr.SizeToViewport }, // The code block split up into individual compiled functions @@ -335,6 +337,7 @@ layout:true, node:true, view:true, + sizetoviewport:true, // Class and Mixin Definition class:true, @@ -431,7 +434,7 @@ // Build default attributes var combinedAttrs = {}; - this.__doMixinExtension(combinedAttrs, mixins); + // Note: Mixin attrs are combined in the initialization method of Node/Eventable. if (instanceAttrValues) dr.extend(combinedAttrs, instanceAttrValues); dr.extend(combinedAttrs, attrs); @@ -563,7 +566,7 @@ // Build default class attributes used for inheritance var combinedAttrs = {}; if (baseclass && baseclass.defaultAttrValues) dr.extend(combinedAttrs, baseclass.defaultAttrValues); - this.__doMixinExtension(combinedAttrs, mixins); + this.doMixinExtension(combinedAttrs, mixins); combinedAttrs.$tagname = tagName; dr.extend(combinedAttrs, klassAttrs); if (klassDeclaredAttrValues) dr.extend(combinedAttrs, klassDeclaredAttrValues); @@ -627,7 +630,7 @@ } }; - maker.__doMixinExtension = function(attrs, mixins) { + maker.doMixinExtension = function(attrs, mixins) { if (mixins) { len = mixins.length; if (len > 0) { diff --git a/docs/api/source/dropable.html b/docs/api/source/dropable.html new file mode 100644 index 0000000..57326ae --- /dev/null +++ b/docs/api/source/dropable.html @@ -0,0 +1,429 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.dropable {UI Behavior}
    +   * Makes a dr.view drag and dropable via the mouse.
    +   */-->
    +<mixin name="dropable" with="draggroupsupport, draggable">
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Boolean} dropped
    +    * Indicates this dropable was just dropped.
    +    */-->
    +  <attribute name="dropped" type="boolean" value="false"/>
    +
    +  <!--/**
    +    * @attribute {Boolean} dropfailed
    +    * Indicates this dropable was just dropped outside of a drop target.
    +    */-->
    +  <attribute name="dropfailed" type="boolean" value="false"/>
    +
    +  <!--/**
    +    * @attribute {Object} droptarget
    +    * The drop target this dropable is currently over.
    +    */-->
    +  <attribute name="droptarget" type="expression" value="null"/>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method willPermitDrop
    +    * Called by dr.GlobalDragManager when a dropable is dragged over a
    +    * target. Gives this dropable a chance to reject a drop regardless
    +    * of drag group. The default implementation returns true.
    +    * @param {dr.droptarget} droptarget The drop target dragged over.
    +    * @returns {Boolean} True if the drop will be allowed, false otherwise.
    +    */-->
    +  <method name="willPermitDrop" args="droptarget">
    +    return true;
    +  </method>
    +
    +  <!--/**
    +    * @method startDrag
    +    * @overrides dr.draggable
    +    */-->
    +  <method name="startDrag" args="event">
    +    this.set_dropped(false);
    +    this.set_dropfailed(false);
    +    
    +    dr.global.dragManager.startDrag(this);
    +    this.super();
    +  </method>
    +
    +  <!--/**
    +    * @method updateDrag
    +    * @overrides dr.draggable
    +    */-->
    +  <method name="updateDrag" args="event">
    +    dr.global.dragManager.updateDrag(event, this);
    +    this.super();
    +  </method>
    +
    +  <!--/**
    +    * @method stopDrag
    +    * @overrides dr.draggable
    +    */-->
    +  <method name="stopDrag" args="event, isAbort">
    +    dr.global.dragManager.stopDrag(event, this, isAbort);
    +    this.super();
    +    
    +    if (isAbort) {
    +      this.notifyDropAborted();
    +    } else if (this.dropfailed) {
    +      this.notifyDropFailed();
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDragEnter
    +    * Called by dr.GlobalDragManager when this view is dragged over a drop
    +    * target.
    +    * @param {dr.droptarget} droptarget The target that was dragged over.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragEnter" args="droptarget">
    +    this.set_droptarget(droptarget);
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDragLeave
    +    * Called by dr.GlobalDragManager when this view is dragged out of a drop
    +    * target.
    +    * @param {dr.droptarget} droptarget The target that was dragged out of.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragLeave" args="droptarget">
    +    this.set_droptarget();
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDrop
    +    * Called by dr.GlobalDragManager when this view is dropped.
    +    * @param {dr.droptarget} droptarget The target that was dropped on. Will
    +    *     be undefined if this dropable was dropped on no drop target.
    +    * @param {Boolean} isAbort Indicates if the drop was the result of an
    +    *     abort or a normal drop.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDrop" args="droptarget, isAbort">
    +    this.set_dropped(true);
    +    
    +    if (!this.droptarget) this.set_dropfailed(true);
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDropFailed
    +    * @abstract
    +    * Called after dragging stops and the drop failed. The default
    +    * implementation does nothing.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDropFailed">
    +    // Subclasses to implement
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDropAborted
    +    * @abstract
    +    * Called after dragging stops and the drop was aborted. The default
    +    * implementation does nothing.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDropAborted">
    +    // Subclasses to implement
    +  </method>
    +</mixin>
    + + + diff --git a/docs/api/source/dropsource.html b/docs/api/source/dropsource.html new file mode 100644 index 0000000..30721c2 --- /dev/null +++ b/docs/api/source/dropsource.html @@ -0,0 +1,379 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.dropsource {UI Behavior}
    +   * Makes a dr.view support being a source for dr.dropable instances. Makes
    +   * use of dr.draggable for handling drag initiation but this view is not
    +   * itself, actually draggable.
    +   */-->
    +<mixin name="dropsource" with="draggable" distancebeforedrag="2">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    if (attrs.dropparent === undefined || attrs.dropparent === 'undefined') attrs.dropparent = parent.getRoot();
    +    
    +    this.super();
    +  </method>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {dr.view} dropparent
    +    * The view to make the dr.dropable instances in. Defaults to the 
    +    * dr.RootView that contains this drop source.
    +    */-->
    +  <attribute name="dropparent" type="object" value="undefined"/>
    +
    +  <!--/**
    +    * @attribute {Object} dropclass
    +    * The dr.dropable class that gets created in the default implementation 
    +    * of makeDropable.
    +    */-->
    +  <attribute name="dropclass" type="object" value=""/>
    +
    +  <!--/**
    +    * @attribute {Object} dropclassattrs
    +    * The attrs to use when making the dropClass instance.
    +    */-->
    +  <attribute name="dropclassattrs" type="object" value="null"/>
    +
    +  <!--/**
    +    * @attribute {Object} dropable
    +    * @readonly
    +    * The dropable that was most recently created. Once the dropable has been 
    +    * dropped this will be set to null.
    +    */-->
    +  <attribute name="dropable" type="object" value="null"/>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method startDrag
    +    * @overrides dr.draggable
    +    */-->
    +  <method name="startDrag" args="event">
    +    var dropable = this.dropable = this.makeDropable();
    +    
    +    // Emulate mouse down on the dropable
    +    if (dropable) {
    +      // Remember distance and set to zero so a drag will begin for sure.
    +      var origDistance = dropable.distancebeforedrag;
    +      dropable.distancebeforedrag = 0;
    +      
    +      dropable.doMouseDown(event); // Execute MouseDownMixin
    +      dropable.__doMouseDown(event); // Execute Draggable
    +      
    +      // Restore distance
    +      dropable.distancebeforedrag = origDistance;
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseUp
    +    * @overrides dr.mousedown
    +    */-->
    +  <method name="doMouseUp" args="event">
    +    this.super();
    +    
    +    // Emulate mouse up on the dropable
    +    var dropable = this.dropable;
    +    if (dropable) {
    +      dropable.__doMouseUp(event);
    +      dropable.doMouseUp(event);
    +      this.dropable = null;
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method makeDropable
    +    * Called by startDrag to make a dropable.
    +    * @returns {dr.dropable} or undefined if one can't be created.
    +    */-->
    +  <method name="makeDropable" args="event">
    +    var dropClass = this.dropclass,
    +      dropParent = this.dropparent;
    +    if (dropClass && dropParent) {
    +      if (typeof dropClass === 'string') {
    +        dropClass = dr.lookupClass(dropClass);
    +        if (!dropClass) {
    +          console.log('no drop class found for: ', this.dropclass);
    +          return;
    +        }
    +      }
    +      
    +      var pos = this.getAbsolutePosition(dropParent),
    +        attrs = this.dropclassattrs || {};
    +      attrs.x = pos.x || 0;
    +      attrs.y = pos.y || 0;
    +      return new dropClass(dropParent, attrs);
    +    }
    +  </method>
    +</mixin>
    + + + diff --git a/docs/api/source/droptarget.html b/docs/api/source/droptarget.html new file mode 100644 index 0000000..4c7f3e9 --- /dev/null +++ b/docs/api/source/droptarget.html @@ -0,0 +1,333 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.droptarget {UI Behavior}
    +   * Makes a dr.view support having dr.dropable views dropped on it.
    +   */-->
    +<mixin name="droptarget" with="draggroupsupport">
    +  <!--// Life Cycle /////////////////////////////////////////////////////////-->
    +  <method name="initNode" args="parent, attrs">
    +    this.super();
    +    
    +    dr.global.dragManager.registerDropTarget(this);
    +  </method>
    +
    +  <method name="destroyAfterOrphaning">
    +    dr.global.dragManager.unregisterDropTarget(this);
    +    this.super();
    +  </method>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method willAcceptDrop
    +    * Called by dr.GlobalDragManager when a dropable is dragged over this
    +    * target. Gives this drop target a chance to reject a drop regardless
    +    * of drag group. The default implementation returns true if the view
    +    * is not disabled.
    +    * @param {dr.dropable} The dropable being dragged.
    +    * @returns {Boolean} True if the drop will be allowed, false otherwise.
    +    */-->
    +  <method name="willAcceptDrop" args="dropable">
    +    // Handle the common case of a disabled or not visible component.
    +    if (this.disabled || !this.isVisible()) return false;
    +    
    +    return true;
    +  </method>
    +
    +  <!--/**
    +    * @method notifyDragStart
    +    * @abstract
    +    * Called by dr.GlobalDragManager when a dropable starts being dragged
    +    * that has a matching drag group.
    +    * @param {dr.dropable} The dropable being dragged.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragStart" args="dropable"/>
    +
    +  <!--/**
    +    * @method notifyDragStop
    +    * @abstract
    +    * Called by dr.GlobalDragManager when a dropable stops being dragged
    +    * that has a matching drag group.
    +    * @param {dr.dropable} The dropable no longer being dragged.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragStop" args="dropable"/>
    +
    +  <!--/**
    +    * @method notifyDragEnter
    +    * @abstract
    +    * Called by dr.GlobalDragManager when a dropable is dragged over this
    +    * view and has a matching drag group.
    +    * @param {dr.dropable} The dropable being dragged over this view.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragEnter" args="dropable"/>
    +
    +  <!--/**
    +    * @method notifyDragLeave
    +    * @abstract
    +    * Called by dr.GlobalDragManager when a dropable is dragged out of this
    +    * view and has a matching drag group.
    +    * @param {dr.dropable} The dropable being dragged out of this view.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDragLeave" args="dropable"/>
    +
    +  <!--/**
    +    * @method notifyDrop
    +    * @abstract
    +    * Called by dr.GlobalDragManager when a dropable is dropped onto this
    +    * view and has a matching drag group.
    +    * @param {dr.dropable} The dropable being dropped onto this view.
    +    * @returns {void}
    +    */-->
    +  <method name="notifyDrop" args="dropable"/>
    +</mixin>
    + + + diff --git a/docs/api/source/floatingpanel.html b/docs/api/source/floatingpanel.html new file mode 100644 index 0000000..18c517b --- /dev/null +++ b/docs/api/source/floatingpanel.html @@ -0,0 +1,655 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @class dr.floatingpanel {UI Component}
    +   * A panel that floats above everything else.
    +   *
    +   * Configured as visible false since panels will always begin by not being
    +   * seen.
    +   * 
    +   * Configured as focusable true and focuscage true to ensure the focus 
    +   * starts and ends with the panel
    +   */-->
    +<class name="floatingpanel" with="sizetoviewport"
    +  visible="false" focusembellishment="false"
    +  focusable="true" focuscage="true"
    +>
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {String} panelid
    +    * The unique ID for this panel instance.
    +    */-->
    +  <attribute name="panelid" type="string" value=""/>
    +
    +  <!--/**
    +    * @attribute {dr.floatingpanelanchor} owner
    +    * The anchor that currently "owns" this panel.
    +    */-->
    +  <attribute name="owner" type="expression" value="null"/>
    +
    +  <!--/**
    +    * @attribute {Boolean} ignoreownerforhideonmousedown
    +    * If true the owner view will also be ignored for mousedown events.
    +    */-->
    +  <attribute name="ignoreownerforhideonmousedown" type="boolean" value="true"/>
    +
    +  <!--/**
    +    * @attribute {Boolean} ignoreownerforhideonblur
    +    * If true the owner view will also be ignored for blur events.
    +    */-->
    +  <attribute name="ignoreownerforhideonblur" type="boolean" value="true"/>
    +
    +  <!--/**
    +    * @attribute {Boolean} hideonmousedown
    +    * If true this panel will be hidden when a mousedown occurs outside the panel.
    +    */-->
    +  <attribute name="hideonmousedown" type="boolean" value="true"/>
    +
    +  <!--/**
    +    * @attribute {Boolean} hideonblur
    +    * If true this panel will be hidden when a focus traverses outside the panel.
    +    */-->
    +  <attribute name="hideonblur" type="boolean" value="true"/>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/** @private */-->
    +  <method name="__doMouseDown" args="event">
    +    var x = event.x, y = event.y;
    +    if (!this.containsPoint(x, y) && (this.ignoreownerforhideonmousedown ? !this.owner.containsPoint(x, y) : true)) {
    +      this.doMouseDownOutside();
    +    }
    +    return true;
    +  </method>
    +
    +  <!--/**
    +    * @method doMouseDownOutside
    +    * Called when a mousedown occurs outside the floating panel. The default
    +    * behavior is to hide the panel. This gives subclasses a chance to 
    +    * provide different behavior.
    +    * @returns {void}
    +    */-->
    +  <method name="doMouseDownOutside">
    +    if (this.hideonmousedown) this.hide();
    +  </method>
    +
    +  <!--/**
    +    * @method focus
    +    * @overrides dr.view
    +    * Intercepts focus on this panel and refocuses to the "best" view.
    +    * When focus enters the panel we give focus to the first focusable
    +    * descendant of the panel. When leaving we ask the panel anchor
    +    * where to give focus.
    +    */-->
    +  <method name="focus" args="noscroll">
    +    var gf = dr.global.focus;
    +    if (this.owner && this.isAncestorOf(gf.focusedView)) {
    +      this.owner[gf.lastTraversalWasForward ? 'getNextFocusAfterPanel' : 'getPrevFocusAfterPanel'](this.panelid).focus(noscroll);
    +    } else {
    +      var ffv = this.getFirstFocusableDescendant();
    +      if (ffv === this) {
    +        // Process normally since focus is actually being set
    +        // on the panel.
    +        this.super();
    +      } else {
    +        ffv.focus(noscroll);
    +      }
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method getFirstFocusableDescendant
    +    * Gets the view to give focus to when this panel gets focus. Should be
    +    * a descendant of the floating panel or the panel itself. Returns this 
    +    * floating panel by default.
    +    * @returns {dr.view} The view to give focus to.
    +    */-->
    +  <method name="getFirstFocusableDescendant">
    +    return this;
    +  </method>
    +
    +  <!--/** @private */-->
    +  <method name="__doFocusChange" args="event">
    +    var v = event;
    +    if (v && !this.isAncestorOf(v)) this.doLostFocus();
    +  </method>
    +
    +  <!--/**
    +    * @method doLostFocus
    +    * Called when focus moves out of the floating panel. Hides the
    +    * floating panel by default.
    +    * @returns {void}
    +    */-->
    +  <method name="doLostFocus">
    +    if (this.hideonblur) {
    +      if (this.ignoreownerforhideonblur && dr.global.focus.focusedView === this.owner) return;
    +      
    +      this.hide(true);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method isShown
    +    * Determines if this floating panel is being "shown" or not. Typically
    +    * this means the floating panel is visible.
    +    * @returns {Boolean} True if this panel is shown, otherwise false.
    +    */-->
    +  <method name="isShown">
    +    return this.visible;
    +  </method>
    +
    +  <!--/**
    +    * @method show
    +    * Shows the floating panel for the provided dr.floatingpanelanchor.
    +    * @param {dr.floatingpanelanchor} panelAnchor The floating panel anchor 
    +    * to show the panel for.
    +    * @returns {void}
    +    */-->
    +  <method name="show" args="panelAnchor">
    +    if (!this.isShown()) {
    +      this.moveToFront();
    +      this.updateLocation(panelAnchor);
    +      this.setAttribute('visible', true);
    +      
    +      this.owner.notifyPanelShown(this);
    +      
    +      var g = dr.global;
    +      this.listenToPlatform(g.mouse, 'onmousedown', '__doMouseDown', true);
    +      this.listenTo(g.focus, 'onfocused', '__doFocusChange');
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method hide
    +    * Hides the floating panel for the provided dr.floatingpanelanchor.
    +    * @param {Boolean} ignoreRestoreFocus Optional If true the restoreFocus
    +    * method will not be called. Defaults to undefined which is equivalent to 
    +    * false.
    +    * @returns {void}
    +    */-->
    +  <method name="hide" args="ignoreRestoreFocus">
    +    if (this.isShown()) {
    +      var g = dr.global;
    +      this.stopListeningToPlatform(g.mouse, 'onmousedown', '__doMouseDown', true);
    +      this.stopListening(g.focus, 'onfocused', '__doFocusChange');
    +      
    +      this.setAttribute('visible', false);
    +      this.owner.notifyPanelHidden(this);
    +      if (!ignoreRestoreFocus) this.restoreFocus();
    +      this.setAttribute('owner', null);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method restoreFocus
    +    * Sends the focus back to the owner. Can be overridden to
    +    * send the focus elsewhere.
    +    * @returns {void}
    +    */-->
    +  <method name="restoreFocus">
    +    if (this.owner) this.owner.focus();
    +  </method>
    +
    +  <!--/**
    +    * @method updateLocation
    +    * Updates the x and y position of the floating panel for the provided 
    +    * floating panel anchor.
    +    * @param {dr.floatingpanelanchor} panelAnchor The floating panel anchor 
    +    * to update the location for.
    +    * @returns {void}
    +    */-->
    +  <method name="updateLocation" args="panelAnchor">
    +    this.setAttribute('owner', panelAnchor);
    +    
    +    var panelId = this.panelid,
    +      align = panelAnchor.getFloatingAlignForPanelId(panelId),
    +      valign = panelAnchor.getFloatingValignForPanelId(panelId),
    +      anchorLocation = panelAnchor.getAbsolutePosition(),
    +      x = 0, y = 0,
    +      type = typeof align;
    +    
    +    if (type === 'string') {
    +      x = anchorLocation.x + panelAnchor.getFloatingAlignOffsetForPanelId(panelId);
    +      switch(align) {
    +        case 'outsideright': x += panelAnchor.width; break;
    +        case 'insideright': x += panelAnchor.width - this.width; break;
    +        case 'outsideleft': x -= this.width; break;
    +        case 'insideleft': break;
    +        default: dr.sprite.console.warn("Unexpected align value", type, align);
    +      }
    +    } else if (type === 'number') {
    +      // Absolute position
    +      x = align;
    +    } else {
    +      dr.sprite.console.warn("Unexpected align type", type, align);
    +    }
    +    this.setAttribute('x', x);
    +    
    +    // Vertical positioning
    +    type = typeof valign;
    +    
    +    if (type === 'string') {
    +      y = anchorLocation.y + panelAnchor.getFloatingValignOffsetForPanelId(panelId);
    +      switch(valign) {
    +        case 'outsidebottom': y += panelAnchor.height; break;
    +        case 'insidebottom': y += panelAnchor.height - this.height; break;
    +        case 'outsidetop': y -= this.height; break;
    +        case 'insidetop': break;
    +        default: dr.sprite.console.warn("Unexpected valign value", type, valign);
    +      }
    +    } else if (type === 'number') {
    +      // Absolute position
    +      y = valign;
    +    } else {
    +      dr.sprite.console.warn("Unexpected valign type", type, valign);
    +    }
    +    this.setAttribute('y', y);
    +  </method>
    +</class>
    + + + diff --git a/docs/api/source/floatingpanelanchor.html b/docs/api/source/floatingpanelanchor.html new file mode 100644 index 0000000..7791d34 --- /dev/null +++ b/docs/api/source/floatingpanelanchor.html @@ -0,0 +1,681 @@ + + + + + CodeRay output + + + + + + + +
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +
    <!-- The MIT License (see LICENSE)
    +     Copyright (C) 2014-2015 Teem2 LLC -->
    +<!--/**
    +   * @mixin dr.floatingpanelanchor {UI Behavior}
    +   * Enables a view to act as the anchor point for a floatingpanel.
    +   */-->
    +<mixin name="floatingpanelanchor" requires="floatingpanel">
    +  <!--// Class Attributes ///////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {Object} classesbypanelid
    +    * A map of floatingpanel classes by panel ID.
    +    */-->
    +  <attribute name="classesbypanelid" type="expression" value="{}" allocation="class"/>
    +
    +  <!--/**
    +    * @attribute {Object} panelsbypanelid
    +    * A map of FloatingPanel instances by panel ID.
    +    */-->
    +  <attribute name="panelsbypanelid" type="expression" value="{}" allocation="class"/>
    +
    +
    +  <!--// Attributes /////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @attribute {String} floatingpanelid
    +    * If defined this is the panel ID that will be used by default in the 
    +    * various methods that require a panel ID.
    +    */-->
    +  <attribute name="floatingpanelid" type="string" value=""/>
    +
    +  <!--/**
    +    * @attribute {String} floatingalign
    +    * The horizontal alignment for panels shown by this anchor. If the value 
    +    * is a string it is an alignment identifier relative to this anchor. If 
    +    * the value is a number it is an absolute position in pixels. Allowed 
    +    * values: 'outsideleft', 'insideleft', 'insideright', 'outsideright' or 
    +    * a number.
    +    */-->
    +  <attribute name="floatingalign" type="string" value="insideleft"/>
    +  <setter name="floatingalign" args="v">
    +    var numValue = Number(v);
    +    this.setSimpleActual('floatingalign', isNaN(numValue) ? v : numValue, true);
    +  </setter>
    +
    +  <!--/**
    +    * @attribute {String} floatingvalign
    +    * The vertical alignment for panels shown by this anchor. If the value is 
    +    * a string it is an alignment identifier relative to this anchor. If the 
    +    * value is a number it is an absolute position in pixels. Allowed values: 
    +    * 'outsidetop', 'insidetop', 'insidebottom', 'outsidebottom' or a number.
    +    */-->
    +  <attribute name="floatingvalign" type="string" value="outsidebottom"/>
    +  <setter name="floatingvalign" args="v">
    +    var numValue = Number(v);
    +    this.setSimpleActual('floatingvalign', isNaN(numValue) ? v : numValue, true);
    +  </setter>
    +
    +  <!--/**
    +    * @attribute {Number} floatingalignoffset
    +    * The number of pixels to offset the panel position by horizontally.
    +    */-->
    +  <attribute name="floatingalignoffset" type="number" value="0"/>
    +
    +  <!--/**
    +    * @attribute {Number} floatingvalignoffset
    +    * The number of pixels to offset the panel position by vertically.
    +    */-->
    +  <attribute name="floatingvalignoffset" type="number" value="0"/>
    +
    +  <!--/**
    +    * @attribute {dr.floatingpanel} lastfloatingpanelshown
    +    * A reference to the last floating panel shown by this anchor.
    +    */-->
    +  <attribute name="lastfloatingpanelshown" type="expression" value="null"/>
    +
    +
    +  <!--// Methods ////////////////////////////////////////////////////////////-->
    +  <!--/**
    +    * @method createFloatingPanel
    +    * Creats a floatingpanel for this anchor.
    +    * @returns {dr.floatingpanel} 
    +    */-->
    +  <method name="createFloatingPanel" args="panelId, panelClass, panelInitAttrs">
    +    panelId = panelId || this.floatingpaneiId;
    +    
    +    var FPA = dr.floatingpanelanchor;
    +    panelClass = panelClass || FPA.classesbypanelid[panelId];
    +    if (!panelClass) {
    +      dr.sprite.console.warn("No panel class found for panelId:", panelId);
    +      return null;
    +    }
    +    
    +    panelInitAttrs = panelInitAttrs || {};
    +    panelInitAttrs.panelid = panelId;
    +    return FPA.panelsbypanelid[panelId] = new panelClass(null, panelInitAttrs);
    +  </method>
    +
    +  <!--/**
    +    * @method getFloatingPanel
    +    * Gets a floatingpanel for the provided panelId if it exists.
    +    * @param {String} panelId (optional) If provided, the panel id to get a
    +    * panel for, otherwise the floatingpanelid of this anchor is used.
    +    * @returns {dr.floatingpanel} 
    +    */-->
    +  <method name="getFloatingPanel" args="panelId">
    +    return dr.floatingpanelanchor.panelsbypanelid[panelId || this.floatingpanelid];
    +  </method>
    +
    +  <!--/**
    +    * @method toggleFloatingPanel
    +    * Shows/Hides the floatingpanel for the provided panelId.
    +    * @param {String} panelId (optional) If provided, the panel id to toggle,
    +    * otherwise the floatingpanelid of this anchor is used.
    +    * @returns {dr.floatingpanel} 
    +    */-->
    +  <method name="toggleFloatingPanel" args="panelId">
    +    var fp = this.getFloatingPanel(panelId = panelId || this.floatingpanelid);
    +    if (fp && fp.isShown()) {
    +      this.hideFloatingPanel(panelId);
    +    } else {
    +      this.showFloatingPanel(panelId);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method showFloatingPanel
    +    * Shows the floatingpanel for the provided panelId.
    +    * @param {String} panelId (optional) If provided, the panel id to show,
    +    * otherwise the floatingpanelid of this anchor is used.
    +    * @returns {dr.floatingpanel} 
    +    */-->
    +  <method name="showFloatingPanel" args="panelId">
    +    var fp = this.getFloatingPanel(panelId || this.floatingpanelid);
    +    if (fp) {
    +      fp.show(this);
    +      this.setAttribute('lastfloatingpanelshown', fp);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method hideFloatingPanel
    +    * Hides the floatingpanel for the provided panelId.
    +    * @param {String} panelId (optional) If provided, the panel id to hide,
    +    * otherwise the floatingpanelid of this anchor is used.
    +    * @returns {dr.floatingpanel} 
    +    */-->
    +  <method name="hideFloatingPanel" args="panelId">
    +    var fp = this.getFloatingPanel(panelId || this.floatingpanelid);
    +    if (fp) {
    +      fp.hide();
    +      this.setAttribute('lastfloatingpanelshown', null);
    +    }
    +  </method>
    +
    +  <!--/**
    +    * @method notifyPanelShown
    +    * @abstract
    +    * Called when a floating panel has been shown for this anchor.
    +    * @param {dr.floatingpanel} panel The panel that is now shown.
    +    * @returns {void} 
    +    */-->
    +  <method name="notifyPanelShown" args="panel">
    +    // Subclasses to implement as needed.
    +  </method>
    +
    +  <!--/**
    +    * @method notifyPanelHidden
    +    * @abstract
    +    * Called when a floating panel has been hidden for this anchor.
    +    * @param {dr.floatingpanel} panel The panel that is now hidden.
    +    * @returns {void} 
    +    */-->
    +  <method name="notifyPanelHidden" args="panel">
    +    // Subclasses to implement as needed.
    +  </method>
    +
    +  <!--/**
    +    * @method getFloatingAlignForPanelId
    +    * Called by the floatingpanel to determine where to position itself
    +    * horizontally. By default this returns the floatingalign attribute. 
    +    * Subclasses and instances should override this if panel specific 
    +    * behavior is needed.
    +    * @param {String} panelId The ID of the panel being positioned.
    +    * @returns {void} 
    +    */-->
    +  <method name="getFloatingAlignForPanelId" args="panelId">
    +    return this.floatingalign;
    +  </method>
    +
    +  <!--/**
    +    * @method getFloatingValignForPanelId
    +    * Called by the floatingpanel to determine where to position itself
    +    * vertically. By default this returns the floatingvalign attribute. 
    +    * Subclasses and instances should override this if panel specific 
    +    * behavior is needed.
    +    * @param {String} panelId The ID of the panel being positioned.
    +    * @returns {void} 
    +    */-->
    +  <method name="getFloatingValignForPanelId" args="panelId">
    +    return this.floatingvalign;
    +  </method>
    +  
    +  <!--/**
    +    * @method getFloatingAlignOffsetForPanelId
    +    * Called by the floatingpanel to determine where to position itself
    +    * horizontally. By default this returns the floatingalignoffet attribute. 
    +    * Subclasses and instances should override this if panel specific 
    +    * behavior is needed.
    +    * @param {String} panelId The ID of the panel being positioned.
    +    * @returns {void} 
    +    */-->
    +  <method name="getFloatingAlignOffsetForPanelId" args="panelId">
    +    return this.floatingalignoffset;
    +  </method>
    +  
    +  <!--/**
    +    * @method getFloatingValignOffsetForPanelId
    +    * Called by the floatingpanel to determine where to position itself
    +    * vertically. By default this returns the floatingvalignoffet attribute. 
    +    * Subclasses and instances should override this if panel specific 
    +    * behavior is needed.
    +    * @param {String} panelId The ID of the panel being positioned.
    +    * @returns {void} 
    +    */-->
    +  <method name="getFloatingValignOffsetForPanelId" args="panelId">
    +    return this.floatingvalignoffset;
    +  </method>
    +  
    +  <!--/**
    +    * @method getNextFocus
    +    * @overrides dr.view
    +    * Returns the last floating panel shown if it exists and can be shown.
    +    * Otherwise it returns the default.
    +    */-->
    +  <method name="getNextFocus">
    +    var last = this.lastfloatingpanelshown;
    +    if (last && last.isShown()) return last;
    +    return this.super ? this.super() : null;
    +  </method>
    +  
    +  <!--/**
    +    * @method getNextFocusAfterPanel
    +    * Called by the floatingpanel owned by this anchor to determine where
    +    * to go to next after leaving the panel in the forward direction.
    +    * @param {String} panelId The ID of the panel doing the focus change.
    +    * @returns {dr.view}
    +    */-->
    +  <method name="getNextFocusAfterPanel" args="panelId">
    +    return this;
    +  </method>
    +  
    +  <!--/**
    +    * @method getPrevFocusAfterPanel
    +    * Called by the floatingpanel owned by this anchor to determine where
    +    * to go to next after leaving the panel in the backward direction.
    +    * @param {String} panelId The ID of the panel doing the focus change.
    +    * @returns {dr.view}
    +    */-->
    +  <method name="getPrevFocusAfterPanel" args="panelId">
    +    return this;
    +  </method>
    +</mixin>
    + + + diff --git a/docs/api/source/inputtext.html b/docs/api/source/inputtext.html index 6467b1c..2c0cd1b 100644 --- a/docs/api/source/inputtext.html +++ b/docs/api/source/inputtext.html @@ -326,6 +326,19 @@ 172 173 174 +175 +176 +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187
    <!-- The MIT License (MIT)
     
    @@ -409,9 +422,9 @@
         * Fired the rows attribute changes.
         * @param {number} The number of rows displayed for multiline text input.
         */-->
    -  <attribute name="rows" type="number" value="3"></attribute>
    +  <attribute name="rows" type="number" value="3"/>
     
    -  <attribute name="value" type="string" value=""></attribute>
    +  <attribute name="value" type="string" value=""/>
       <setter name="value" args="v">
         if @setActual('value', v, 'string', '')
           if this.text isnt this.value then @setActualAttribute('text', this.value)
    @@ -421,6 +434,12 @@
         @setActualAttribute('value', this.text)
       </setter>
     
    +  <!-- A string containing characters that can be entered. -->
    +  <attribute name="allowedchars" type="string" value=""/>
    +
    +  <!-- The maximum number of characters that can be entered. -->
    +  <attribute name="maxlength" type="number" value="-1"/>
    +
       <!--// Handlers //-->
       <handler event="onchange">
         return unless @replicator
    @@ -453,6 +472,13 @@
           delete attrs.value
         
         @super()
    +    
    +    # Allow filtering of input
    +    @listenToPlatform(@, 'onkeypress', @__filterInputPress)
    +  </method>
    +
    +  <method name="__filterInputPress" args="platformEvent">
    +    @sprite.filterInputPress(platformEvent)
       </method>
     
       <method name="isPlatformEvent" args="eventType">
    diff --git a/docs/api/source/pluginloader.html b/docs/api/source/pluginloader.html
    index c05aebe..0602923 100644
    --- a/docs/api/source/pluginloader.html
    +++ b/docs/api/source/pluginloader.html
    @@ -21,8 +21,7 @@
      */
     /**
      * @class PluginLoader {Internal}
    - * Holder of the dreem <plugin> for the server
    - * Manages all iOT objects and the BusServer for each Plugin
    + * Reads plugins and injects them into compositins when requested.
      */
     define(function(require, exports, module) {
         module.exports = PluginLoader;
    diff --git a/docs/api/source/sizetoviewport2.html b/docs/api/source/sizetoviewport2.html
    new file mode 100644
    index 0000000..e2ffd1c
    --- /dev/null
    +++ b/docs/api/source/sizetoviewport2.html
    @@ -0,0 +1,21 @@
    +
    +
    +
    +  
    +  The source code
    +  
    +  
    +  
    +  
    +
    +
    +  
    +
    + + diff --git a/docs/api/source/sprite.html b/docs/api/source/sprite.html index fdb4e6d..5482d18 100644 --- a/docs/api/source/sprite.html +++ b/docs/api/source/sprite.html @@ -182,9 +182,9 @@ }(), preventDefault: function(platformEvent) { - if (typeof platformEvent.preventDefault === 'function') { - platformEvent.preventDefault(); - } + if (typeof platformEvent.preventDefault === 'function') { + platformEvent.preventDefault(); + } }, // Focus Management @@ -254,7 +254,7 @@ @returns the new view to give focus to, or null if there is no view to focus on or an unmanaged dom element will receive focus. */ __focusTraverse: function(isForward, ignoreFocusTrap) { - this.lastTraversalWasForward = isForward; + this.lastTraversalWasForward = dr.global.focus.lastTraversalWasForward = isForward; // Determine root element and starting element for traversal. var document = globalScope.document, diff --git a/docs/api/source/sprite2.html b/docs/api/source/sprite2.html index 26b363e..9cd5daa 100644 --- a/docs/api/source/sprite2.html +++ b/docs/api/source/sprite2.html @@ -169,7 +169,7 @@ @returns the new view to give focus to, or null if there is no view to focus on or an unmanaged dom element will receive focus. */ __focusTraverse: function(isForward, ignoreFocusTrap) { - this.lastTraversalWasForward = isForward; + this.lastTraversalWasForward = dr.global.focus.lastTraversalWasForward = isForward; // Determine root element and starting element for traversal. var document = global.document, diff --git a/docs/categories.json b/docs/categories.json index 876c983..0539c23 100644 --- a/docs/categories.json +++ b/docs/categories.json @@ -1 +1 @@ -[{"name":"Dreem Classes","groups":[{"name":"All Classes","classes":["Eventable","dr","dr.*"]},{"name":"Internal","classes":["BusClient","BusServer","CompositionServer","DreemCompiler","DreemError","NodeWebSocket","PluginLoader","RunMonitor","TeemServer","parser.Compiler","parser.Error","parser.HTMLParser"]},{"name":"Core Dreem","classes":["Eventable","dr.node"]},{"name":"Layout","classes":["dr.alignlayout","dr.constantlayout","dr.layout","dr.resizelayout","dr.spacedlayout","dr.variablelayout","dr.wrappinglayout"]},{"name":"UI Components","classes":["dr.bitmap","dr.buttonbase","dr.checkbutton","dr.dropdown","dr.dropdownfont","dr.expectedoutput","dr.fontdetect","dr.indicator","dr.inputtext","dr.labelbutton","dr.labeltoggle","dr.markup","dr.rangeslider","dr.sizetoplatform","dr.slider","dr.style","dr.testingtimer","dr.text","dr.textlistbox","dr.textlistboxitem","dr.videoplayer","dr.view","dr.webpage"]},{"name":"Util","classes":["DaliGen"]},{"name":"Data","classes":["dr.datapath","dr.dataset","dr.replicator"]},{"name":"Input","classes":["dr.inputtext"]},{"name":"Media Components","classes":["dr.videoplayer"]}]}] \ No newline at end of file +[{"name":"Dreem Classes","groups":[{"name":"All Classes","classes":["Eventable","dr","dr.*"]},{"name":"Internal","classes":["BusClient","BusServer","CompositionServer","DreemCompiler","DreemError","NodeWebSocket","PluginLoader","RunMonitor","TeemServer","parser.Compiler","parser.Error","parser.HTMLParser"]},{"name":"Core Dreem","classes":["Eventable","dr.node"]},{"name":"Layout","classes":["dr.alignlayout","dr.constantlayout","dr.layout","dr.resizelayout","dr.spacedlayout","dr.variablelayout","dr.wrappinglayout"]},{"name":"UI Components","classes":["dr.bitmap","dr.buttonbase","dr.checkbutton","dr.dropdown","dr.dropdownfont","dr.expectedoutput","dr.fontdetect","dr.indicator","dr.inputtext","dr.labelbutton","dr.labeltoggle","dr.markup","dr.rangeslider","dr.sizetoplatform","dr.slider","dr.style","dr.testingtimer","dr.text","dr.textlistbox","dr.textlistboxitem","dr.videoplayer","dr.view","dr.webpage"]},{"name":"Util","classes":["DaliGen"]},{"name":"Data","classes":["dr.datapath","dr.dataset","dr.replicator"]},{"name":"UI Component","classes":["dr.floatingpanel"]},{"name":"Input","classes":["dr.inputtext"]},{"name":"Media Components","classes":["dr.videoplayer"]}]}] \ No newline at end of file diff --git a/docs/classdocs/autoscroller.js b/docs/classdocs/autoscroller.js new file mode 100644 index 0000000..7a399e8 --- /dev/null +++ b/docs/classdocs/autoscroller.js @@ -0,0 +1,40 @@ +/** + * @mixin dr.autoscroller {UI Behavior} + * Makes a dr.view auto scroll during drag and drop. + */ +/** + * @attribute {Number} scrollborder + * The thickness of the auto scroll border. + */ +/** + * @attribute {Number} scrollfrequency + * The time between autoscroll adjustments. + */ +/** + * @attribute {Number} scrollamount + * The number of pixels to adjust by each time. + */ +/** + * @attribute {Number} scrollacceleration + * The amount to increase scrolling by as the mouse gets closer to the + * edge of the view. Setting this to 0 will result in no acceleration. + */ +/** + * @method notifyDragStart + * Called by dr.GlobalDragManager when a dropable starts being dragged + * that has a matching drag group. + * @param (dr.dropable} dropable The dropable being dragged. + * @returns {void} + */ +/** + * @method notifyDragStop + * Called by dr.GlobalDragManager when a dropable stops being dragged + * that has a matching drag group. + * @param (dr.dropable} dropable The dropable no longer being dragged. + * @returns {void} + */ +/** @private */ +/** @private */ +/** @private */ +/** @private */ +/** @private */ diff --git a/docs/classdocs/draggable.js b/docs/classdocs/draggable.js index e648dc8..f2b604f 100644 --- a/docs/classdocs/draggable.js +++ b/docs/classdocs/draggable.js @@ -31,6 +31,26 @@ * @attribute {String} dragaxis * Limits dragging to a single axis. Supported values: 'x', 'y', 'both'. */ +/** + * @attribute {Boolean} draggableallowbubble + * Determines if mousedown and mouseup platform events handled by this component will bubble or not. + */ +/** + * @attribute {Number} dragoffsetx + * The x amount to offset the position during dragging. + */ +/** + * @attribute {Number} dragoffsety + * The y amount to offset the position during dragging. + */ +/** + * @attribute {Number} draginitx + * Stores initial mouse x position during dragging. + */ +/** + * @attribute {Number} draginity + * Stores initial mouse y position during dragging. + */ /** @overrides dr.disableable */ /** * @method getDragViews @@ -58,6 +78,8 @@ * @returns {void} */ /** @private */ +/** @private */ +/** @private */ /** * @method updatePosition * Repositions the view to the provided values. The default implementation @@ -78,5 +100,7 @@ /** * @method getDistanceFromOriginalLocation * Gets the distance dragged from the location of the start of the drag. + * If an axis of 'x' or 'y' is provided the value is the pos/neg distance + * along that axis. Otherwise, the standard euclidean distance is returned. * @returns {Number} */ diff --git a/docs/classdocs/draggroupsupport.js b/docs/classdocs/draggroupsupport.js new file mode 100644 index 0000000..e874121 --- /dev/null +++ b/docs/classdocs/draggroupsupport.js @@ -0,0 +1,26 @@ +/** + * @mixin dr.draggroupsupport {UI Behavior} + * Adds drag group support to drag and drop related classes. + */ +/** + * @attribute {Object} draggroups + * The keys are the set of drag groups this view supports. By default the + * special drag group of '*' which accepts all drag groups is defined. + */ +/** + * @method addDragGroup + * Adds the provided dragGroup to the draggroups. + * @param {String} dragGroup The drag group to add. + * @returns {void} + */ +/** + * @method removeDragGroup + * Removes the provided dragGroup from the draggroups. + * @param {String} dragGroup The drag group to remove. + * @returns {void} + */ +/** + * @method acceptAnyDragGroup + * Determines if this drop target will accept drops from any drag group. + * @returns {void} True if any drag group will be accepted, false otherwise. + */ diff --git a/docs/classdocs/dropable.js b/docs/classdocs/dropable.js new file mode 100644 index 0000000..836545d --- /dev/null +++ b/docs/classdocs/dropable.js @@ -0,0 +1,73 @@ +/** + * @mixin dr.dropable {UI Behavior} + * Makes a dr.view drag and dropable via the mouse. + */ +/** + * @attribute {Boolean} dropped + * Indicates this dropable was just dropped. + */ +/** + * @attribute {Boolean} dropfailed + * Indicates this dropable was just dropped outside of a drop target. + */ +/** + * @attribute {Object} droptarget + * The drop target this dropable is currently over. + */ +/** + * @method willPermitDrop + * Called by dr.GlobalDragManager when a dropable is dragged over a + * target. Gives this dropable a chance to reject a drop regardless + * of drag group. The default implementation returns true. + * @param {dr.droptarget} droptarget The drop target dragged over. + * @returns {Boolean} True if the drop will be allowed, false otherwise. + */ +/** + * @method startDrag + * @overrides dr.draggable + */ +/** + * @method updateDrag + * @overrides dr.draggable + */ +/** + * @method stopDrag + * @overrides dr.draggable + */ +/** + * @method notifyDragEnter + * Called by dr.GlobalDragManager when this view is dragged over a drop + * target. + * @param {dr.droptarget} droptarget The target that was dragged over. + * @returns {void} + */ +/** + * @method notifyDragLeave + * Called by dr.GlobalDragManager when this view is dragged out of a drop + * target. + * @param {dr.droptarget} droptarget The target that was dragged out of. + * @returns {void} + */ +/** + * @method notifyDrop + * Called by dr.GlobalDragManager when this view is dropped. + * @param {dr.droptarget} droptarget The target that was dropped on. Will + * be undefined if this dropable was dropped on no drop target. + * @param {Boolean} isAbort Indicates if the drop was the result of an + * abort or a normal drop. + * @returns {void} + */ +/** + * @method notifyDropFailed + * @abstract + * Called after dragging stops and the drop failed. The default + * implementation does nothing. + * @returns {void} + */ +/** + * @method notifyDropAborted + * @abstract + * Called after dragging stops and the drop was aborted. The default + * implementation does nothing. + * @returns {void} + */ diff --git a/docs/classdocs/dropsource.js b/docs/classdocs/dropsource.js new file mode 100644 index 0000000..d9a5450 --- /dev/null +++ b/docs/classdocs/dropsource.js @@ -0,0 +1,39 @@ +/** + * @mixin dr.dropsource {UI Behavior} + * Makes a dr.view support being a source for dr.dropable instances. Makes + * use of dr.draggable for handling drag initiation but this view is not + * itself, actually draggable. + */ +/** + * @attribute {dr.view} dropparent + * The view to make the dr.dropable instances in. Defaults to the + * dr.RootView that contains this drop source. + */ +/** + * @attribute {Object} dropclass + * The dr.dropable class that gets created in the default implementation + * of makeDropable. + */ +/** + * @attribute {Object} dropclassattrs + * The attrs to use when making the dropClass instance. + */ +/** + * @attribute {Object} dropable + * @readonly + * The dropable that was most recently created. Once the dropable has been + * dropped this will be set to null. + */ +/** + * @method startDrag + * @overrides dr.draggable + */ +/** + * @method doMouseUp + * @overrides dr.mousedown + */ +/** + * @method makeDropable + * Called by startDrag to make a dropable. + * @returns {dr.dropable} or undefined if one can't be created. + */ diff --git a/docs/classdocs/droptarget.js b/docs/classdocs/droptarget.js new file mode 100644 index 0000000..4b74598 --- /dev/null +++ b/docs/classdocs/droptarget.js @@ -0,0 +1,53 @@ +/** + * @mixin dr.droptarget {UI Behavior} + * Makes a dr.view support having dr.dropable views dropped on it. + */ +/** + * @method willAcceptDrop + * Called by dr.GlobalDragManager when a dropable is dragged over this + * target. Gives this drop target a chance to reject a drop regardless + * of drag group. The default implementation returns true if the view + * is not disabled. + * @param {dr.dropable} The dropable being dragged. + * @returns {Boolean} True if the drop will be allowed, false otherwise. + */ +/** + * @method notifyDragStart + * @abstract + * Called by dr.GlobalDragManager when a dropable starts being dragged + * that has a matching drag group. + * @param {dr.dropable} The dropable being dragged. + * @returns {void} + */ +/** + * @method notifyDragStop + * @abstract + * Called by dr.GlobalDragManager when a dropable stops being dragged + * that has a matching drag group. + * @param {dr.dropable} The dropable no longer being dragged. + * @returns {void} + */ +/** + * @method notifyDragEnter + * @abstract + * Called by dr.GlobalDragManager when a dropable is dragged over this + * view and has a matching drag group. + * @param {dr.dropable} The dropable being dragged over this view. + * @returns {void} + */ +/** + * @method notifyDragLeave + * @abstract + * Called by dr.GlobalDragManager when a dropable is dragged out of this + * view and has a matching drag group. + * @param {dr.dropable} The dropable being dragged out of this view. + * @returns {void} + */ +/** + * @method notifyDrop + * @abstract + * Called by dr.GlobalDragManager when a dropable is dropped onto this + * view and has a matching drag group. + * @param {dr.dropable} The dropable being dropped onto this view. + * @returns {void} + */ diff --git a/docs/classdocs/floatingpanel.js b/docs/classdocs/floatingpanel.js new file mode 100644 index 0000000..a7bdfd9 --- /dev/null +++ b/docs/classdocs/floatingpanel.js @@ -0,0 +1,99 @@ +/** + * @class dr.floatingpanel {UI Component} + * A panel that floats above everything else. + * + * Configured as visible false since panels will always begin by not being + * seen. + * + * Configured as focusable true and focuscage true to ensure the focus + * starts and ends with the panel + */ +/** + * @attribute {String} panelid + * The unique ID for this panel instance. + */ +/** + * @attribute {dr.floatingpanelanchor} owner + * The anchor that currently "owns" this panel. + */ +/** + * @attribute {Boolean} ignoreownerforhideonmousedown + * If true the owner view will also be ignored for mousedown events. + */ +/** + * @attribute {Boolean} ignoreownerforhideonblur + * If true the owner view will also be ignored for blur events. + */ +/** + * @attribute {Boolean} hideonmousedown + * If true this panel will be hidden when a mousedown occurs outside the panel. + */ +/** + * @attribute {Boolean} hideonblur + * If true this panel will be hidden when a focus traverses outside the panel. + */ +/** @private */ +/** + * @method doMouseDownOutside + * Called when a mousedown occurs outside the floating panel. The default + * behavior is to hide the panel. This gives subclasses a chance to + * provide different behavior. + * @returns {void} + */ +/** + * @method focus + * @overrides dr.view + * Intercepts focus on this panel and refocuses to the "best" view. + * When focus enters the panel we give focus to the first focusable + * descendant of the panel. When leaving we ask the panel anchor + * where to give focus. + */ +/** + * @method getFirstFocusableDescendant + * Gets the view to give focus to when this panel gets focus. Should be + * a descendant of the floating panel or the panel itself. Returns this + * floating panel by default. + * @returns {dr.view} The view to give focus to. + */ +/** @private */ +/** + * @method doLostFocus + * Called when focus moves out of the floating panel. Hides the + * floating panel by default. + * @returns {void} + */ +/** + * @method isShown + * Determines if this floating panel is being "shown" or not. Typically + * this means the floating panel is visible. + * @returns {Boolean} True if this panel is shown, otherwise false. + */ +/** + * @method show + * Shows the floating panel for the provided dr.floatingpanelanchor. + * @param {dr.floatingpanelanchor} panelAnchor The floating panel anchor + * to show the panel for. + * @returns {void} + */ +/** + * @method hide + * Hides the floating panel for the provided dr.floatingpanelanchor. + * @param {Boolean} ignoreRestoreFocus Optional If true the restoreFocus + * method will not be called. Defaults to undefined which is equivalent to + * false. + * @returns {void} + */ +/** + * @method restoreFocus + * Sends the focus back to the owner. Can be overridden to + * send the focus elsewhere. + * @returns {void} + */ +/** + * @method updateLocation + * Updates the x and y position of the floating panel for the provided + * floating panel anchor. + * @param {dr.floatingpanelanchor} panelAnchor The floating panel anchor + * to update the location for. + * @returns {void} + */ diff --git a/docs/classdocs/floatingpanelanchor.js b/docs/classdocs/floatingpanelanchor.js new file mode 100644 index 0000000..bff091b --- /dev/null +++ b/docs/classdocs/floatingpanelanchor.js @@ -0,0 +1,147 @@ +/** + * @mixin dr.floatingpanelanchor {UI Behavior} + * Enables a view to act as the anchor point for a floatingpanel. + */ +/** + * @attribute {Object} classesbypanelid + * A map of floatingpanel classes by panel ID. + */ +/** + * @attribute {Object} panelsbypanelid + * A map of FloatingPanel instances by panel ID. + */ +/** + * @attribute {String} floatingpanelid + * If defined this is the panel ID that will be used by default in the + * various methods that require a panel ID. + */ +/** + * @attribute {String} floatingalign + * The horizontal alignment for panels shown by this anchor. If the value + * is a string it is an alignment identifier relative to this anchor. If + * the value is a number it is an absolute position in pixels. Allowed + * values: 'outsideleft', 'insideleft', 'insideright', 'outsideright' or + * a number. + */ +/** + * @attribute {String} floatingvalign + * The vertical alignment for panels shown by this anchor. If the value is + * a string it is an alignment identifier relative to this anchor. If the + * value is a number it is an absolute position in pixels. Allowed values: + * 'outsidetop', 'insidetop', 'insidebottom', 'outsidebottom' or a number. + */ +/** + * @attribute {Number} floatingalignoffset + * The number of pixels to offset the panel position by horizontally. + */ +/** + * @attribute {Number} floatingvalignoffset + * The number of pixels to offset the panel position by vertically. + */ +/** + * @attribute {dr.floatingpanel} lastfloatingpanelshown + * A reference to the last floating panel shown by this anchor. + */ +/** + * @method createFloatingPanel + * Creats a floatingpanel for this anchor. + * @returns {dr.floatingpanel} + */ +/** + * @method getFloatingPanel + * Gets a floatingpanel for the provided panelId if it exists. + * @param {String} panelId (optional) If provided, the panel id to get a + * panel for, otherwise the floatingpanelid of this anchor is used. + * @returns {dr.floatingpanel} + */ +/** + * @method toggleFloatingPanel + * Shows/Hides the floatingpanel for the provided panelId. + * @param {String} panelId (optional) If provided, the panel id to toggle, + * otherwise the floatingpanelid of this anchor is used. + * @returns {dr.floatingpanel} + */ +/** + * @method showFloatingPanel + * Shows the floatingpanel for the provided panelId. + * @param {String} panelId (optional) If provided, the panel id to show, + * otherwise the floatingpanelid of this anchor is used. + * @returns {dr.floatingpanel} + */ +/** + * @method hideFloatingPanel + * Hides the floatingpanel for the provided panelId. + * @param {String} panelId (optional) If provided, the panel id to hide, + * otherwise the floatingpanelid of this anchor is used. + * @returns {dr.floatingpanel} + */ +/** + * @method notifyPanelShown + * @abstract + * Called when a floating panel has been shown for this anchor. + * @param {dr.floatingpanel} panel The panel that is now shown. + * @returns {void} + */ +/** + * @method notifyPanelHidden + * @abstract + * Called when a floating panel has been hidden for this anchor. + * @param {dr.floatingpanel} panel The panel that is now hidden. + * @returns {void} + */ +/** + * @method getFloatingAlignForPanelId + * Called by the floatingpanel to determine where to position itself + * horizontally. By default this returns the floatingalign attribute. + * Subclasses and instances should override this if panel specific + * behavior is needed. + * @param {String} panelId The ID of the panel being positioned. + * @returns {void} + */ +/** + * @method getFloatingValignForPanelId + * Called by the floatingpanel to determine where to position itself + * vertically. By default this returns the floatingvalign attribute. + * Subclasses and instances should override this if panel specific + * behavior is needed. + * @param {String} panelId The ID of the panel being positioned. + * @returns {void} + */ +/** + * @method getFloatingAlignOffsetForPanelId + * Called by the floatingpanel to determine where to position itself + * horizontally. By default this returns the floatingalignoffet attribute. + * Subclasses and instances should override this if panel specific + * behavior is needed. + * @param {String} panelId The ID of the panel being positioned. + * @returns {void} + */ +/** + * @method getFloatingValignOffsetForPanelId + * Called by the floatingpanel to determine where to position itself + * vertically. By default this returns the floatingvalignoffet attribute. + * Subclasses and instances should override this if panel specific + * behavior is needed. + * @param {String} panelId The ID of the panel being positioned. + * @returns {void} + */ +/** + * @method getNextFocus + * @overrides dr.view + * Returns the last floating panel shown if it exists and can be shown. + * Otherwise it returns the default. + */ +/** + * @method getNextFocusAfterPanel + * Called by the floatingpanel owned by this anchor to determine where + * to go to next after leaving the panel in the forward direction. + * @param {String} panelId The ID of the panel doing the focus change. + * @returns {dr.view} + */ +/** + * @method getPrevFocusAfterPanel + * Called by the floatingpanel owned by this anchor to determine where + * to go to next after leaving the panel in the backward direction. + * @param {String} panelId The ID of the panel doing the focus change. + * @returns {dr.view} + */ diff --git a/docs/classdocs/keyactivation.js b/docs/classdocs/keyactivation.js index 24939fd..4232882 100644 --- a/docs/classdocs/keyactivation.js +++ b/docs/classdocs/keyactivation.js @@ -5,17 +5,15 @@ * an activation key and this view is not disabled, the 'doActivated' method * will get called. */ -/** - * The default activation keys are enter (13) and spacebar (32). - */ /** * @attribute {Array} activationkeys * An array of chars The keys that when keyed down will activate this * component. Note: The value is not copied so modification of the array * outside the scope of this object will effect behavior. + * The default activation keys are enter (13) and spacebar (32). */ /** - * @attribute {Number} activateKeyDown + * @attribute {Number} activatekeydown * @readonly * The keycode of the activation key that is currently down. This will * be -1 when no key is down. diff --git a/docs/classdocs/sizetoviewport.js b/docs/classdocs/sizetoviewport.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/docs/classdocs/sizetoviewport.js @@ -0,0 +1 @@ + From a233910848c94a8537905dfefffe83be525d401a Mon Sep 17 00:00:00 2001 From: gnovos Date: Mon, 27 Jul 2015 15:24:14 -0700 Subject: [PATCH 5/5] Fix server when runnign without plugins, fix test --- compositions/smoke/requestor.dre | 4 ++-- core/pluginloader.js | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/compositions/smoke/requestor.dre b/compositions/smoke/requestor.dre index e72a5a8..aa98dee 100644 --- a/compositions/smoke/requestor.dre +++ b/compositions/smoke/requestor.dre @@ -97,10 +97,10 @@ SOFTWARE. --> assert.isUndefined(req1.success_data, 'Request did not succeed so the success method should not be called.'); assert.equal(req1.error_status, 404, 'Request to bad url should fail as a 404.'); - assert.equal(req1.error_data, "NOT FOUND", 'Server response will be "NOT FOUND".'); + assert.equal(req1.error_data, "FILE NOT FOUND", 'Server response will be "NOT FOUND".'); assert.equal(req1.always_status, 404, 'Request to bad url should trigger always method as a 404.'); - assert.equal(req1.always_data, "NOT FOUND", 'Server response for always method will be "NOT FOUND".'); + assert.equal(req1.always_data, "FILE NOT FOUND", 'Server response for always method will be "NOT FOUND".'); // Success with json (Removing \r is needed for Windows) diff --git a/core/pluginloader.js b/core/pluginloader.js index 4588e4f..7a75d34 100644 --- a/core/pluginloader.js +++ b/core/pluginloader.js @@ -29,19 +29,25 @@ define(function(require, exports, module) { this.__findPlugins = function() { var pluginDirs = this.args['-plugin']; + if (!pluginDirs) { + pluginDirs = [] + } if (!Array.isArray(pluginDirs)) { pluginDirs = [pluginDirs] } var errors = []; for (var i=0;i
  • dr.constantlayout