ToolbarSectionDOMAPI.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. * /
  8. /**
  9. * @class ToolbarSectionAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to manage the Canvas Toolbar Dock.
  12. */
  13. define([], function () {
  14. var ToolbarSectionAPI = function () {
  15. function ToolbarSectionAPI() {
  16. _classCallCheck(this, ToolbarSectionAPI);
  17. }
  18. /**
  19. * @function ToolbarSectionAPI#getReactElement
  20. * @description provide a React element represents this feature
  21. * @return {ReactElement} a React Element
  22. */
  23. ToolbarSectionAPI.prototype.getReactElement = function getReactElement() {};
  24. /**
  25. * @function ToolbarSectionAPI#setNode
  26. * @description let the UI implementation set the node which represent this feature
  27. * @param {Node} a DOM node
  28. */
  29. ToolbarSectionAPI.prototype.setNode = function setNode() {};
  30. /**
  31. * @function ToolbarSectionAPI#getNode
  32. * @description provide the DOM node of this feature
  33. * @returns {Node} a DOM node
  34. */
  35. ToolbarSectionAPI.prototype.getNode = function getNode() {};
  36. /**
  37. * @function ToolbarSectionAPI#getIndex
  38. * @description provide the index of this feature
  39. * @return {Integer} int
  40. */
  41. ToolbarSectionAPI.prototype.getIndex = function getIndex() {};
  42. return ToolbarSectionAPI;
  43. }();
  44. return ToolbarSectionAPI;
  45. });
  46. //# sourceMappingURL=ToolbarSectionDOMAPI.js.map