eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_Color':

Home

Documentation
www.exept.de
Everywhere
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-HTML-StyleSheet-Color and Background
Version:
rev: 1.10 date: 2018/04/26 10:33:12
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 htmlString.
    |backgroundColor|
    backgroundColor := CSS_Color with:'#000080'.
    backgroundColor htmlString.
    |backgroundColor|
    backgroundColor := CSS_Color with:'#0c0'.
    backgroundColor htmlString.
    CSS_Color newAqua htmlString.
    CSS_Color newBlack htmlString.
    CSS_Color newBlue htmlString.
    CSS_Color newFuchsia htmlString.
    CSS_Color newGray htmlString.
    CSS_Color newGreen htmlString.
    CSS_Color newLime htmlString.
    CSS_Color newMaroon htmlString.
    CSS_Color newNavy htmlString.
    CSS_Color newOlive htmlString.
    CSS_Color newPurple htmlString.
    CSS_Color newRed htmlString.
    CSS_Color newSilver htmlString.
    CSS_Color newTeal htmlString.
    CSS_Color newWhite htmlString.
    CSS_Color newYellow htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 17:29:09 GMT