This StyleProperty generic class allows one to create a StyleProperty of arbitrary nature from scratch. It has no default StyleComponents attached.
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.class.php (line 37)
StylePropertyInterface | --StyleProperty
Class | Description |
---|---|
BackgroundColorSP | The BackgroundColorSP represents the 'background-color' StyleProperty. |
BackgroundImageSP | The BackgroundImageSP represents the 'background' StyleProperty. |
BackgroundSP | The BackgroundSP represents the 'background' StyleProperty. |
BorderBottomSP | The BorderBottomSP represents the 'border-top' StyleProperty. |
BorderLeftSP | The BorderLeftSP represents the 'border-top' StyleProperty. |
BorderRightSP | The BorderRightSP represents the 'border-top' StyleProperty. |
BorderSP | The BorderSP represents the 'border' StyleProperty. |
BorderTopSP | The BorderTopSP represents the 'border-top' StyleProperty. |
BottomSP | The BottomSP represents the 'bottom' StyleProperty. |
ClearSP | The ClearSP represents the 'clear' StyleProperty. |
ColorSP | The ColorSP represents the 'color' StyleProperty. |
CursorSP | The CursorSP represents the 'cursor' StyleProperty. |
DirectionSP | The DirectionSP represents the 'direction' StyleProperty. |
DisplaySP | The DisplaySP represents the 'display' StyleProperty. |
FloatSP | The FloatSP represents the 'float' StyleProperty. |
FontFamilySP | The FontFamilySP represents the 'font-family' StyleProperty. |
FontSizeSP | The FontSizeSP represents the 'font-size' StyleProperty. |
FontSP | The FontSP represents the 'font' StyleProperty. |
FontWeightSP | The FontWeightSP represents the 'font-weight' StyleProperty. |
HeightSP | The HeightSP represents the 'height' StyleProperty. |
LeftSP | The LeftSP represents the 'left' StyleProperty. |
LetterSpacingSP | The LetterSpacingSP represents the 'letter-spacing' StyleProperty. |
LineHeightSP | The LineHeightSP represents the 'line-height' StyleProperty. |
MarginBottomSP | The MarginBottomSP represents the 'margin-bottom' StyleProperty. |
MarginLeftSP | The MarginLeftSP represents the 'margin-left' StyleProperty. |
MarginRightSP | The MarginRightSP represents the 'margin-right' StyleProperty. |
MarginSP | The MarginSP represents the 'margin' StyleProperty. |
MarginTopSP | The MarginTopSP represents the 'margin-top' StyleProperty. |
MaxHeightSP | The MaxHeightSP represents the 'max-height' StyleProperty. |
MaxWidthSP | The MaxWidthSP represents the 'max-width' StyleProperty. |
MinHeightSP | The MaxHeightSP represents the 'min-height' StyleProperty. |
MinWidthSP | The MaxWidthSP represents the 'min-width' StyleProperty. |
OverflowSP | The OverflowSP represents the 'overflow' StyleProperty. |
PaddingBottomSP | The PaddingBottomSP represents the 'padding-bottom' StyleProperty. |
PaddingLeftSP | The PaddingLeftSP represents the 'padding-left' StyleProperty. |
PaddingRightSP | The PaddingRightSP represents the 'padding-right' StyleProperty. |
PaddingSP | The PaddingSP represents the 'padding' StyleProperty. |
PaddingTopSP | The PaddingTopSP represents the 'padding-top' StyleProperty. |
PositionSP | The PostionSP represents the 'position' StyleProperty. |
RightSP | The RightSP represents the 'right' StyleProperty. |
TextAlignSP | The TextAlign represents the 'text-align' StyleProperty. |
TextDecorationSP | The TextTransform represents the 'text-decoration' StyleProperty. |
TextTransformSP | The TextTransform represents the 'text-transform' StyleProperty. |
TopSP | The TopSP represents the 'top' StyleProperty. |
VerticalAlignSP | The VerticalAlignSP represents the 'vertical-align' StyleProperty. |
VisibilitySP | The VisibilitySP represents the 'visibility' StyleProperty. |
WhiteSpaceSP | The WhiteSpaceSP represents the 'white-space' StyleProperty. |
WidthSP | The WidthSP represents the 'width' StyleProperty. |
WordSpacingSP | The WordSpacingSP represents the 'word-spacing' StyleProperty. |
ZIndexSP | The ZIndexSP represents the 'z-index' StyleProperty. |
The constructor.
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.
Return HTML to nested inside of the component's block. This includes things such as corner images.
See the example below:
Hello world! (this is when my component renders itself)
Return HTML to nested inside of the component's block. This includes things such as corner images.
See the example below:
Hello world! (this is when my component renders itself)
Answers the list of possible SCs for the SP as an array of class names.
Returns the StyleComponents of this StyleProperty in a suitable for CSS generation order.
Returns the StyleComponent with the given class
Inherited From StylePropertyInterface
StylePropertyInterface::addSC()
StylePropertyInterface::getCSS()
StylePropertyInterface::getDescription()
StylePropertyInterface::getDisplayName()
StylePropertyInterface::getName()
StylePropertyInterface::getSCs()
Documentation generated on Wed, 19 Sep 2007 10:26:59 -0400 by phpDocumentor 1.3.0RC3