summaryrefslogtreecommitdiffstats
path: root/qooxdoo/source/class/Smokeping/ui
diff options
context:
space:
mode:
Diffstat (limited to 'qooxdoo/source/class/Smokeping/ui')
-rw-r--r--qooxdoo/source/class/Smokeping/ui/TargetTree.js71
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;
+// }
+ }
+});
+
+