  *  @productversion Flex 3
  */
 public class DataGridItemRenderer extends UITextField
-								  implements IDataRenderer,
-								  IDropInListItemRenderer, ILayoutManagerClient,
-								  IListItemRenderer, IStyleClient
+                                  implements IDataRenderer,
+                                  IDropInListItemRenderer, ILayoutManagerClient,
+                                  IListItemRenderer, IStyleClient
 {
-	include "../../core/Version.as";
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
+    include "../../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
 
     /**
      *  Constructor.

     */
    public function getClassStyleDeclarations():Array
    {
		var className:String = getQualifiedClassName(this)
		className = className.replace("::", ".");

		var decls:Array = [];

		while (className != null &&
			   className != "mx.core.UIComponent" &&
			   className != "mx.core.UITextField")
		{
			var s:CSSStyleDeclaration =
				StyleManager.getStyleDeclaration(className);
			
			if (s)
			{
			 	decls.unshift(s);
			}
			
			try
			{
				className = getQualifiedSuperclassName(getDefinitionByName(className));
				className = className.replace("::", ".");
			}
			catch(e:ReferenceError)
			{
				className = null;
			}
		}	

		return decls;
    }

	//--------------------------------------------------------------------------
	//
	//  Event handlers
	//
	//--------------------------------------------------------------------------

	/**
	 *  The event handler to position the tooltip.
	 *
	 *  @param event The event object.
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 9
	 *  @playerversion AIR 1.1
	 *  @productversion Flex 3
	 */
	protected function toolTipShowHandler(event:ToolTipEvent):void
	{
		var toolTip:IToolTip = event.toolTip;

		// Calculate global position of label.
        var sm:ISystemManager = systemManager.topLevelSystemManager;
        var sbRoot:DisplayObject = sm.getSandboxRoot();
        var screen:Rectangle;
		var pt:Point = new Point(0, 0);
		pt = localToGlobal(pt);
		pt = sbRoot.globalToLocal(pt);			
		
		toolTip.move(pt.x, pt.y + (height - toolTip.height) / 2);

        if (sm != sbRoot)
        {

     *  @productversion Flex 3
     */
    public function notifyStyleChangeInChildren(
                        styleProp:String, recursive:Boolean):void
    {    
    }

    /**
     *  Sets up the <code>inheritingStyles</code> 
     *  and <code>nonInheritingStyles</code> objects
     *  and their proto chains so that the <code>getStyle()</code> method can work.
     *  
     *  @langversion 3.0
     *  @playerversion Flash 9
