diff --git a/frontend-js/src/main/js/gui/Panel.js b/frontend-js/src/main/js/gui/Panel.js index d668c6a6992c850d2c316f7e32c566fc1f28b7ce..72f249938fe325b709cb564671df928395611632 100644 --- a/frontend-js/src/main/js/gui/Panel.js +++ b/frontend-js/src/main/js/gui/Panel.js @@ -100,6 +100,10 @@ Panel.prototype.getPanelName = function () { return this._panelName; }; +/** + * + * @param {HTMLElement} element + */ Panel.prototype.setElement = function (element) { if (element === undefined || element === null) { throw new Error("DOM Element must be defined"); @@ -107,6 +111,10 @@ Panel.prototype.setElement = function (element) { this._element = element; }; +/** + * + * @returns {HTMLElement} + */ Panel.prototype.getElement = function () { return this._element; };