diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-14 18:33:19 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-11-14 18:33:19 +0100 |
commit | ff7b9de82908baf1d5f9af71e35dad2369bfdc2f (patch) | |
tree | 1f9821bf2323786cbe68b4d3b0964ca449332766 /qooxdoo/source/class/Smokeping/ui/TargetTree.js | |
parent | d546419d19b89633f8ac3c461eb900f4c4f29b90 (diff) | |
download | smokeping-ff7b9de82908baf1d5f9af71e35dad2369bfdc2f.tar.gz smokeping-ff7b9de82908baf1d5f9af71e35dad2369bfdc2f.tar.xz |
initial qooxdoo drop for smokeping
Diffstat (limited to 'qooxdoo/source/class/Smokeping/ui/TargetTree.js')
-rw-r--r-- | qooxdoo/source/class/Smokeping/ui/TargetTree.js | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/qooxdoo/source/class/Smokeping/ui/TargetTree.js b/qooxdoo/source/class/Smokeping/ui/TargetTree.js new file mode 100644 index 0000000..6c47398 --- /dev/null +++ b/qooxdoo/source/class/Smokeping/ui/TargetTree.js @@ -0,0 +1,71 @@ +/* ************************************************************************ +#module(Smokeping) +************************************************************************ */ + +/** + * a widget showing the smokeping target tree + */ + +qx.Class.define('Smokeping.ui.TargetTree', +{ + extend: qx.ui.tree.Tree, + + /* + ***************************************************************************** + CONSTRUCTOR + ***************************************************************************** + */ + + /** + * @param root_node {String} Name of the root node + * where will we find our RPC server. + * + * @param rpc {rpcObject} An rpc object providing access to the Smokeping service + */ + + construct: function (rpc,root_node) { + + with(this){ + base(arguments,root_node); + setBackgroundColor('white'); + setBorder('inset'); + setWidth('100%'); + setHeight('100%'); + setPadding(5); + } + + return this; + }, + + /* + ***************************************************************************** + MEMBERS + ***************************************************************************** + */ + + members : + { + + /* + --------------------------------------------------------------------------- + CORE METHODS + --------------------------------------------------------------------------- + */ + + /** + * Tell about the BaseUrl we found. + * + * @type member + * + * @param {void} + * + * @return BaseUrl {Strings} + */ + +// getBaseUrl: function(){ +// return this.__base_url; +// } + } +}); + + |