1  /*
     2   Copyright aswing.org, see the LICENCE.txt.
     3  */
     4  
     5   /**
     6  * @author firdosh
     7  */
     8  
     9  import org.aswing. *;
    10  import org.aswing.geom. *;
    11  import org.aswing.utils.*;
    12  import org.aswing.graphices.Graphics;
    13  
    14  class org.aswing.JPieChart extends Component
    15  {
    16  	private var _dataSet : Array;
    17  	private var _colorSet : Array;
    18  	private var _angles : Array;
    19  	private var _wedges : Array;
    20  	private var _legends : Array;
    21  	private var _legend_txt : Array;
    22  	private var _title : String;
    23  	private var _showLegend : Boolean;
    24  	private var MAX : Number = 0;
    25  	
    26  	public function JPieChart (title : String, dataSet : Array, colorSet : Array)
    27  	{
    28  		_root.DEBUG.text += "In Constructor";
    29  		super ();
    30  		setName ("JPieChart");
    31  		if (title != null)
    32  		{
    33  			_title = title;
    34  		} 
    35  		else
    36  		{
    37  			_title = "JPieChart";
    38  		}
 ¤�˜O)ïÄK^ïÄKÍo'K°:#:0:;<‹¯�¯ޝ�¯Ÿ¯ ¯¡¯²4uù¤�
¢ØLJÕLJH††m£Ä¤�èºÖš1L±oæCÎKæCèåýñ&Ý´�&–äñ0Lî=ŠJcÀ™D&­W×!œå ��€5BHZ�ëKEiDHH�(ÑE"´�&¢Ïv3Lî=ŠJ†ÓFC&Ð!ªŽqK¤�èô
vßûK±oæCÎKæCèåþñ&ݰ�&¬²FFí=ŠJº¤EF&Œ•¹ŽqK �Å×”,,LÜq1Lk 0LxVR¥R¦RºR¾RbScSdSlSpSqSrStS�°�&T¬²FFí=ŠJº¤EF&—ºŽqK´�&Vƒi.Iƒi.Iƒi.I&Hߊ"G"°�&}¬²FFí=ŠJº¤EF&—»ŽqK´�&³e<2Lî=ŠJî}oC&aè’tK°�&o¬²FFí=ŠJº¤EF&—¼ŽqK¤�Ì,…ëI0…ëI|mHZ„!"ºÑ �ÉNòå&Lj 0L80L(j0l0®P9T�y¤�t
àîÄKâîÄKü–J®ýFù°�&r¬²FFí=ŠJº¤EF&ˆö’tK°�&쬲FFí=ŠJº¤EF&¿�¸ŽqK°�&‘¬²FFí=ŠJº¤EF&ˆ÷’tK°�&}¬²FFí=ŠJº¤EF&	ˆø’tK¤�]nÛLJb×LJJ�I¿•pZŰ�&¬²FFí=ŠJº¤EF&
ˆù’tK´�&³
äñ0Lî=ŠJ•�¾C&XQ$ݰ�&&¬²FFí=ŠJº¤EF&+`^$ݰ�&=¬²FFí=ŠJº¤EF&,`_$ݰ�&]¬²FFí=ŠJº¤EF&ˆõ’tK°�&p¬²FFí=ŠJº¤EF&-``$ݤ�uj–ÖLJ—ÖLJà¨H8!‰"‰#‰$‰%‰&‰'‰¼*Ű�&†¬²FFí=ŠJº¤EF&.`a$Ý �D@)¥4Lú_4Lú_4Lä\8&'(’>?@AE¿ÀÁÂç
ÜÄ �{Ü+Ûq1L‰4L–¾2LøØñÙñÚñÛñÜñÝñÞñáñâñãñåñæñçñÕÄber">Number, y:Number):Void

Draw the icon at the specified location.

Specified By

paintIcon() in org.aswing.Icon

uninstallIcon

public function uninstallIcon(com:Component):Void

Description copied from Icon

Remove things in the icon object related to the component. For example remove the MCs created at the first paint time.

There is not installIcon method, so you must install icon related things at the first time of paintIcon, for example attach a MC if needed.

Specified By

uninstallIcon() in org.aswing.Icon

toString

public function toString():String