Class LengthSC

Description

The LengthSC represents CSS relative and absolute length values. The allowed

formats are: <ul style="font-family: monospace;"> <li> Percentage - "12%" </li> <li> Ems - "12em" </li> <li> X-Height - "25ex" </li> <li> Pixels - "120px" </li> <li> Inches - "2.3in" </li> <li> Centimeters - "23cm" </li> <li> Millimeters - "1232mm" </li> <li> Points - "22pt" </li> <li> Picas - "54pc" </li> </ul>

The

  1. StyleComponent
(SC) is the most basic of the three building pieces of CSS styles. It combines a CSS property value with a ValidatorRule to ensure that the value follows a certain format.

  • version: $Id: LengthSC.class.php,v 1.11 2007/09/04 20:25:22 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright &copy; 2005, Middlebury College

Located in /harmoni/core/GUIManager/StyleComponents/LengthSC.class.php (line 31)

StyleComponentInterface
   |
   --StyleComponent
      |
      --LengthSC
Method Summary
LengthSC LengthSC (string $value)
Variables
Methods

Documentation generated on Wed, 19 Sep 2007 10:24:53 -0400 by phpDocumentor 1.3.0RC3