TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Source for file PanelMarginUnits.php

Documentation is available at PanelMarginUnits.php

  1. <?php
  2.  
  3. /**
  4.  * PanelMarginUnits class
  5.  *
  6.  * Description: Describes the possible values of Panel.MarginUnits
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2010 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @link http://www.steema.com
  13.  */
  14.  
  15. final class PanelMarginUnits {
  16.  
  17.     private $upperBound=0;
  18.     private $values Array();
  19.  
  20.     /**
  21.      * Defines units as a percentage of the panel size.
  22.      */
  23.     public static $PERCENT 0;
  24.  
  25.     /**
  26.      * Defines units in pixels.
  27.      */
  28.     public static $PIXELS 1;
  29.  
  30.     public function size({
  31.         return $this->upperBound;
  32.     }
  33.  
  34.     public function atIndex($index{
  35.         return $values->get($index);
  36.     }
  37.  
  38.     function PanelMarginUnits({
  39.         $this->values array();
  40.         $this->upperBound++;
  41.         $this->values[$this;
  42.     }
  43. }
  44. ?>

Documentation generated on Wed, 16 Jun 2010 12:07:10 +0200 by phpDocumentor 1.4.1