|
|
Class: CSS_Color (in HTML)
Object
|
+--HTML::CSS_AbstractStyleObject
|
+--HTML::CSS_AbstractStyleProperty
|
+--HTML::CSS_Color
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-StyleSheet-Color and Background
- Version:
- rev:
1.8
date: 2007/11/05 21:09:58
- user: cg
- file: HTML__CSS_Color.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
required protocol
-
keyName
-
Return a key name for color.
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
|backgroundColor|
backgroundColor := CSS_Color with:#red.
backgroundColor printHtmlString.
|
|backgroundColor|
backgroundColor := CSS_Color with:'#000080'.
backgroundColor printHtmlString.
|
|backgroundColor|
backgroundColor := CSS_Color with:'#0c0'.
backgroundColor printHtmlString.
|
CSS_Color newAqua printHtmlString.
|
CSS_Color newBlack printHtmlString.
|
CSS_Color newBlue printHtmlString.
|
CSS_Color newFuchsia printHtmlString.
|
CSS_Color newGray printHtmlString.
|
CSS_Color newGreen printHtmlString.
|
CSS_Color newLime printHtmlString.
|
CSS_Color newMaroon printHtmlString.
|
CSS_Color newNavy printHtmlString.
|
CSS_Color newOlive printHtmlString.
|
CSS_Color newPurple printHtmlString.
|
CSS_Color newRed printHtmlString.
|
CSS_Color newSilver printHtmlString.
|
CSS_Color newTeal printHtmlString.
|
CSS_Color newWhite printHtmlString.
|
CSS_Color newYellow printHtmlString.
|
|