'
- for(var name in this._dialogEntries) {
- html += '
'
- + this._dialogEntries[name].getHTML()
- + '
';
- }
- html += '
';
- return html;
-}
-
-
-
-//////// ListDialogEntry
-
-
-
-window.plugin.drawResonators.ListDialogEntry = function(options) {
- this._name = options['name'];
- this._label = options['label'];
- this._valueFunc = options['valueFunc'];
- this._valuesList = options['valuesList'];
- this._valuesListFunc = options['valuesListFunc'];
- this._onChangeCallback = options['onChangeCallback'];
-}
-
-window.plugin.drawResonators.ListDialogEntry.prototype.getHTML = function() {
- var curValue = this._valueFunc();
- var valuesList = this._valuesList ? this._valuesList : this._valuesListFunc();
- var html = '