The ColorSC represents CSS color values. For efficiency reasons, constant
color name values, i.e. "Blue", are not supported because there are just too many of them (nearly 200). The allowed formats are: <ul style="font-family: monospace;"> <li> #RGB - "#A48" (R,G,B are 0-F hexadecimal digits)</li> <li> #RRGGBB - "#AA4488" (R,G,B are 0-F hexadecimal digits)</li> <li> rgb(R,G,B) - "rgb(100, 20, 230)" (R,G,B are 0-255 decimals)</li> <li> rgb(R%,G%,B%) - "rgb(0%, 20.25%, 100%)" (R%,G%,B% are floating-point 0-100 percentages)</li> </ul>
The
(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.
Located in /harmoni/core/GUIManager/StyleComponents/ColorSC.class.php (line 27)
StyleComponentInterface | --StyleComponent | --ColorSC
The constructor.
Converts the color to a standard format--an array of the form (R, G, B).
@ return array The resulting array.
Inherited From StyleComponent
StyleComponent::StyleComponent()
StyleComponent::getDescription()
StyleComponent::getDisplayName()
StyleComponent::getErrorDescription()
StyleComponent::getId()
StyleComponent::getOptions()
StyleComponent::getRule()
StyleComponent::getValue()
StyleComponent::hasOptions()
StyleComponent::isLimitedToOptions()
StyleComponent::setId()
StyleComponent::setValue()
Inherited From StyleComponentInterface
StyleComponentInterface::getDescription()
StyleComponentInterface::getDisplayName()
StyleComponentInterface::getOptions()
StyleComponentInterface::getValue()
StyleComponentInterface::hasOptions()
StyleComponentInterface::isLimitedToOptions()
StyleComponentInterface::setValue()
Documentation generated on Wed, 19 Sep 2007 10:22:05 -0400 by phpDocumentor 1.3.0RC3