|
Lines 42-48
Link Here
|
| 42 |
this.initCursor(); |
42 |
this.initCursor(); |
| 43 |
this.initTextColor(); |
43 |
this.initTextColor(); |
| 44 |
}, |
44 |
}, |
| 45 |
|
45 |
|
| 46 |
destruct : function() { |
46 |
destruct : function() { |
| 47 |
this._disposeObjectDeep( "__cellData", 0 ); |
47 |
this._disposeObjectDeep( "__cellData", 0 ); |
| 48 |
this._disposeObjectDeep( "__cellNodes", 0 ); |
48 |
this._disposeObjectDeep( "__cellNodes", 0 ); |
|
Lines 130-135
Link Here
|
| 130 |
}, |
130 |
}, |
| 131 |
|
131 |
|
| 132 |
members : { |
132 |
members : { |
|
|
133 |
|
| 133 |
// TODO [tb] : clean up api (private/public, order) |
134 |
// TODO [tb] : clean up api (private/public, order) |
| 134 |
|
135 |
|
| 135 |
/////////////////////// |
136 |
/////////////////////// |
|
Lines 187-196
Link Here
|
| 187 |
}, |
188 |
}, |
| 188 |
|
189 |
|
| 189 |
setCellWidth : function( cell, width ) { |
190 |
setCellWidth : function( cell, width ) { |
| 190 |
this._setCellWidth( cell, width ); |
191 |
if( this._getCellWidth( cell ) !== width ) { |
| 191 |
this._invalidateTotalSpacing(); |
192 |
this._setCellWidth( cell, width ); |
| 192 |
this._invalidatePreferredInnerWidth(); |
193 |
this._invalidateTotalSpacing(); |
| 193 |
this._scheduleLayoutX(); |
194 |
this._invalidatePreferredInnerWidth(); |
|
|
195 |
this._scheduleLayoutX(); |
| 196 |
} |
| 194 |
}, |
197 |
}, |
| 195 |
|
198 |
|
| 196 |
setCellHeight : function( cell, height ) { |
199 |
setCellHeight : function( cell, height ) { |
|
Lines 384-389
Link Here
|
| 384 |
this.__cellData[ cell ][ 2 ] = width; |
387 |
this.__cellData[ cell ][ 2 ] = width; |
| 385 |
}, |
388 |
}, |
| 386 |
|
389 |
|
|
|
390 |
_getCellWidth : function( cell ) { |
| 391 |
return this.__cellData[ cell ][ 2 ]; |
| 392 |
}, |
| 393 |
|
| 387 |
_setCellHeight : function( cell, height ) { |
394 |
_setCellHeight : function( cell, height ) { |
| 388 |
this.__cellData[ cell ][ 3 ] = height; |
395 |
this.__cellData[ cell ][ 3 ] = height; |
| 389 |
}, |
396 |
}, |