A StyleProperty (SP) is one of the tree building pieces of CSS styles. It stores information about a single CSS style property by storing one or more
.
- StyleComponents
The other two CSS styles building pieces are
and
- StyleComponents
. To clarify the relationship between these three building pieces, consider the following example:
- StyleCollections
div { margin: 20px; border: 1px solid #000; }
is a
- div
consisting of 2
:
- StyleProperties
and
- margin
. Each of the latter consists of one or more
- border
. In specific,
- StyleComponents
consists of one
- margin
with the value
, and
- 20px
has three
- border
with values
- StyleComponents
,
- 1px
, and
- solid
correspondingly.
- #000
Located in /harmoni/core/GUIManager/StyleProperty.interface.php (line 33)
Class | Description |
---|---|
StyleProperty | This StyleProperty generic class allows one to create a StyleProperty of arbitrary nature from scratch. It has no default StyleComponents attached. |
Adds one StyleComponent to this StyleProperty.
Returns the CSS code for this StyleProperty.
Returns the description of this StlyeProperty.
Returns the display name of this StyleProperty.
Returns the name of this StyleProperty.
Returns the StyleComponents of this StyleProperty in a suitable for CSS generation order.
Documentation generated on Wed, 19 Sep 2007 10:26:59 -0400 by phpDocumentor 1.3.0RC3