nl_tokens: Prepares information on aligning this to component using alignment . Also checks to see if this is already aligned to component according to alignment .
pl_tokens: function ( component , alignment ) { var alignToElement = component . isComponent ? component . renderElement : component , alignToBox = alignToElement . getPageBox ( ) , element = this . renderElement , box = element . getPageBox ( ) , stats = { alignToBox : alignToBox , alignment : alignment , top : alignToBox . top , left : alignToBox . left , alignToWidth : alignToBox . width , alignToHeight : alignToBox . height , width : box . width , height : <mask> . height } , currentAlignmentInfo = this . getCurrentAlignmentInfo ( ) , isAligned = true ; if ( ! Ext . isEmpty ( currentAlignmentInfo ) ) { Ext . Object . each ( stats , function ( key , value ) { if ( ! Ext . isObject ( value ) && currentAlignmentInfo [ key ] != value ) { isAligned = false ; return false ; } return true ; } ) ; } else { isAligned = false ; } return { isAligned : isAligned , stats : stats } ; }