      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public var labelDisplay:TextBase;
+    public var labelDisplay:IDisplayText;
        
     //--------------------------------------------------------------------------
     //

     */
    override protected function measure():void
    {
        // If typicalItem is set, then use it for measurement
        if (labelDisplay && typicalItem != null)
        {   
            // Save the labelDisplay's dimensions in case we clear out typicalItem
            if (!sizeSetByTypicalItem)
            {
                labelDisplayExplicitWidth = labelDisplay.explicitWidth;
                labelDisplayExplicitHeight = labelDisplay.explicitHeight;
                sizeSetByTypicalItem = true;
            }
            
            labelDisplay.explicitWidth = NaN;
            labelDisplay.explicitHeight = NaN;
            
            // Swap in the typicalItem into the labelDisplay
            updateLabelDisplay(typicalItem);
            UIComponentGlobals.layoutManager.validateClient(skin, true);
            
            // Force the labelDisplay to be sized to the measured size
            labelDisplay.width = labelDisplay.measuredWidth;
            labelDisplay.height = labelDisplay.measuredHeight;
            
            // Set the labelDisplay back to selectedItem
            updateLabelDisplay();
        }
        else if (sizeSetByTypicalItem && typicalItem == null)
        {
            // Restore the labelDisplay to its original size
            labelDisplay.width = labelDisplayExplicitWidth;
            labelDisplay.height = labelDisplayExplicitHeight;
            sizeSetByTypicalItem = false;
        }
        

     */
    override public function get baselinePosition():Number
    {
        return getBaselinePositionForPart(labelDisplay as IVisualElement);
    }

    //--------------------------------------------------------------------------
