control-freak-ide/Code/client/build/xdocker/xdocker/TabFrame2.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

5 lines
1.5 KiB
JavaScript

//>>built
define("xdocker/TabFrame2",["dcl/dcl","dcl/inherited","xide/types","wcDocker/tabframe","wcDocker/types"],function(c,e,f,d,b){return c([d],{__init:function(){this.$frame=$('\x3cdiv class\x3d"wcCustomTab wcWide wcTall widget"\x3e');this.$tabBar=$('\x3cheader class\x3d"wcFrameTitleBar wcCustomTabTitle wcWide"\x3e');this.$tabScroll=$('\x3cdiv class\x3d"wcTabScroller"\x3e');this.$center=$('\x3cdiv class\x3d"wcFrameCenter wcPanelBackground"\x3e');this.$tabLeft=$('\x3cdiv class\x3d"wcFrameButton" title\x3d"Scroll tabs to the left."\x3e\x3cspan class\x3d"fa fa-arrow-left"\x3e\x3c/span\x3e\x26lt;\x3c/div\x3e');
this.$tabRight=$('\x3cdiv class\x3d"wcFrameButton" title\x3d"Scroll tabs to the right."\x3e\x3cspan class\x3d"fa fa-arrow-right"\x3e\x3c/span\x3e\x26gt;\x3c/div\x3e');this.$close=$('\x3cdiv class\x3d"wcFrameButton" title\x3d"Close the currently active panel tab"\x3e\x3cspan class\x3d"fa fa-close"\x3e\x3c/span\x3eX\x3c/div\x3e');this.$buttonBar=$('\x3cdiv class\x3d"wcFrameButtonBar"\x3e');this.$tabBar.append(this.$tabScroll);this.$tabBar.append(this.$buttonBar);this.$buttonBar.append(this.$close);
this.$frame.append(this.$center);this.$frame.append(this.$tabBar);this.__container(this.$container);this._boundEvents.push({event:b.EVENT.UPDATED,handler:this.update.bind(this)});this._boundEvents.push({event:b.EVENT.CLOSED,handler:this.destroy.bind(this)});for(var a=0;a<this._boundEvents.length;++a)this._parent.on(this._boundEvents[a].event,this._boundEvents[a].handler);(a=this.docker())&&a._tabList.push(this)}})});
//# sourceMappingURL=TabFrame2.js.map