Path: blob/master/webroot/rsrc/js/application/projects/WorkboardHeader.js
12242 views
/**1* @provides javelin-workboard-header2* @requires javelin-install3* @javelin4*/56JX.install('WorkboardHeader', {78construct: function(column, header_key) {9this._column = column;10this._headerKey = header_key;11},1213members: {14_root: null,15_column: null,16_headerKey: null,1718getColumn: function() {19return this._column;20},2122getHeaderKey: function() {23return this._headerKey;24},2526getNode: function() {27if (!this._root) {28var header_key = this.getHeaderKey();2930var root = this.getColumn().getBoard()31.getHeaderTemplate(header_key)32.newNode();3334JX.Stratcom.getData(root).headerKey = header_key;3536this._root = root;37}3839return this._root;40},4142isWorkboardHeader: function() {43return true;44}45}4647});484950