|
|
Class: CSS_BackgroundColor (in HTML)
Object
|
+--HTML::CSS_AbstractStyleObject
|
+--HTML::CSS_AbstractStyleProperty
|
+--HTML::CSS_BackgroundColor
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-StyleSheet-Color and Background
- Version:
- rev:
1.9
date: 2007/11/05 21:09:29
- user: cg
- file: HTML__CSS_BackgroundColor.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
instance creation
-
newTransparent
-
Create a new background-color initialy set to transparent.
required protocol
-
keyName
-
Return a key name for background-color.
interface-accessing
-
beNAvy
-
Set the background-color to navy.
-
beTransparent
-
Set the background-color to transparent.
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
|backgroundColor|
backgroundColor := CSS_BackgroundColor with:#red.
backgroundColor printHtmlString.
|
|backgroundColor|
backgroundColor := CSS_BackgroundColor with:'#000080'.
backgroundColor printHtmlString.
|
|backgroundColor|
backgroundColor := CSS_BackgroundColor with:'#0c0'.
backgroundColor printHtmlString.
|
CSS_BackgroundColor newTransparent printHtmlString.
|
CSS_BackgroundColor newAqua printHtmlString.
|
CSS_BackgroundColor newBlack printHtmlString.
|
CSS_BackgroundColor newBlue printHtmlString.
|
CSS_BackgroundColor newFuchsia printHtmlString.
|
CSS_BackgroundColor newGray printHtmlString.
|
CSS_BackgroundColor newGreen printHtmlString.
|
CSS_BackgroundColor newLime printHtmlString.
|
CSS_BackgroundColor newMaroon printHtmlString.
|
CSS_BackgroundColor newNavy printHtmlString.
|
CSS_BackgroundColor newOlive printHtmlString.
|
CSS_BackgroundColor newPurple printHtmlString.
|
CSS_BackgroundColor newRed printHtmlString.
|
CSS_BackgroundColor newSilver printHtmlString.
|
CSS_BackgroundColor newTeal printHtmlString.
|
CSS_BackgroundColor newWhite printHtmlString.
|
CSS_BackgroundColor newYellow printHtmlString.
|
|