      *  Sets the current icon for the iconDisplay skin part.
      *  The iconDisplay skin part is created/set-up on demand.
      *
+     * @param icon The current icon. 
+     * 
      *  @see #getIconDisplay
      *  @see #useIconStyle
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     protected function setIcon(icon:Object):void
     {

    
    /**
     *  labelDisplay skin part.
     */
    public var labelDisplay:StyleableTextField;
    
    /**
     *  If true, then create the iconDisplay using the icon style
     *
     *  @default true
     */
    protected var useIconStyle:Boolean = true;
    
    /**
     *  If true, then the labelDisplay and iconDisplay are centered
     *
     *  @default true
     */
    protected var useCenterAlignment:Boolean = true;
    

    
    /**
     *  iconDisplay skin part.
     *
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */
    private var iconChanged:Boolean = false;
    private var iconInstance:Object;    // Can be either DisplayObject or BitmapImage
