Class FontFamilySC

Description

The FontFamilySC represents CSS "font-family" values. The allowed

values are: <ul style="font-family: monospace;"> <li> serif </li> <li> sans-serif </li> <li> cursive </li> <li> fantasy </li> <li> monospace </li> <li> [specific-font-family] - for example: Arial, "Courier New" (if there is white space in the name of the font, then it must be quoted)</li> </ul>

One or more values (comma separated) are allowed. Example: you can set the value to "Arial" or "Courier, 'Courier New', monospace".

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: FontFamilySC.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/FontFamilySC.class.php (line 32)

StyleComponentInterface
   |
   --StyleComponent
      |
      --FontFamilySC
Method Summary
FontFamilySC FontFamilySC ([string $value = null])
Variables
Methods

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