|
Class: CSS_BackgroundColor (in HTML)
Object
|
+--HTML::CSS_AbstractStyleObject
|
+--HTML::CSS_AbstractStyleProperty
|
+--HTML::CSS_BackgroundColor
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-StyleSheet-Color and Background
- Version:
- rev:
1.11
date: 2018/04/26 10:33:01
- 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.
usage example(s):
CSS_BackgroundColor newTransparent htmlString.
|
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 htmlString.
|
|backgroundColor|
backgroundColor := CSS_BackgroundColor with:'#000080'.
backgroundColor htmlString.
|
|backgroundColor|
backgroundColor := CSS_BackgroundColor with:'#0c0'.
backgroundColor htmlString.
|
CSS_BackgroundColor newTransparent htmlString.
|
CSS_BackgroundColor newAqua htmlString.
|
CSS_BackgroundColor newBlack htmlString.
|
CSS_BackgroundColor newBlue htmlString.
|
CSS_BackgroundColor newFuchsia htmlString.
|
CSS_BackgroundColor newGray htmlString.
|
CSS_BackgroundColor newGreen htmlString.
|
CSS_BackgroundColor newLime htmlString.
|
CSS_BackgroundColor newMaroon htmlString.
|
CSS_BackgroundColor newNavy htmlString.
|
CSS_BackgroundColor newOlive htmlString.
|
CSS_BackgroundColor newPurple htmlString.
|
CSS_BackgroundColor newRed htmlString.
|
CSS_BackgroundColor newSilver htmlString.
|
CSS_BackgroundColor newTeal htmlString.
|
CSS_BackgroundColor newWhite htmlString.
|
CSS_BackgroundColor newYellow htmlString.
|
|