eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_Color':

Home

everywhere
www.exept.de
for:
[back]

Class: CSS_Color (in HTML)


Inheritance:

   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

Class protocol:

required protocol
o  keyName
Return a key name for color.


Instance protocol:

required-visiting
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor


Examples:



    |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.


ST/X 6.1.1; WebServer 1.620 at exept:8081; Mon, 21 May 2012 16:58:53 GMT