nl_tokens: Sets the status { @link #text } and / or { @link #iconCls } . Also supports automatically clearing the status that was set after a specified interval .
pl_tokens: function ( o ) { var me = this ; o = o || { } ; Ext . suspendLayouts ( ) ; if ( Ext . isString ( o ) ) { o = { text : o } ; } if ( o . text !== undefined ) { me . setText ( o . text ) ; } if ( o . iconCls !== undefined ) { <mask> . setIcon ( o . iconCls ) ; } if ( o . clear ) { var c = o . clear , wait = me . autoClear , defaults = { useDefaults : true , anim : true } ; if ( Ext . isObject ( c ) ) { c = Ext . applyIf ( c , defaults ) ; if ( c . wait ) { wait = c . wait ; } } else if ( Ext . isNumber ( c ) ) { wait = c ; c = defaults ; } else if ( Ext . isBoolean ( c ) ) { c = defaults ; } c . threadId = this . activeThreadId ; Ext . defer ( me . clearStatus , wait , me , [ c ] ) ; } Ext . resumeLayouts ( true ) ; return me ; }