eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_BorderColor':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CSS_BorderColor (in HTML)


Inheritance:

   Object
   |
   +--HTML::CSS_AbstractStyleObject
      |
      +--HTML::CSS_AbstractStyleProperty
         |
         +--HTML::CSS_AbstractStylePropertyBox
            |
            +--HTML::CSS_BorderColor

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-StyleSheet-Box-Border
Version:
rev: 1.12 date: 2018/04/26 10:33:39
user: cg
file: HTML__CSS_BorderColor.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  keyName
Return a key name for border-color.


Instance protocol:

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


Examples:


Create an empty border-color:
    |color|
    color := CSS_BorderColor newAuto.
    color htmlString.
Create a border-color for all sides:
    |color|
    color := CSS_BorderColor 
                  top:    #red 
                  right:  #blue
                  bottom: #green
                  left:   #aqua.

    color htmlString.
Create a border-color with top-left identical values: (This one will reduce to top-left)
    |color|
    color := CSS_BorderColor 
                  top:    #red
                  right:  #blue
                  bottom: #red
                  left:   #blue.

    color htmlString.
Create a border-color with identical values: (This one will reduce to onme value)
    |color|
    color := CSS_BorderColor 
                  top:    #maroon
                  right:  #maroon
                  bottom: #maroon
                  left:   #maroon.

    color htmlString.
Create new border-color aqua:
    CSS_BorderColor newAqua htmlString.
Create new border-color black:
    CSS_BorderColor newBlack htmlString.
Create new border-color blue:
    CSS_BorderColor newBlue htmlString.
Create new border-color fuchsia:
    CSS_BorderColor newFuchsia htmlString.
Create new border-color gray:
    CSS_BorderColor newGray htmlString.
Create new border-color green:
    CSS_BorderColor newGreen htmlString.
Create new border-color lime:
    CSS_BorderColor newLime htmlString.
Create new border-color maroon:
    CSS_BorderColor newMaroon htmlString.
Create new border-color navy:
    CSS_BorderColor newNavy htmlString.
Create new border-color olive:
    CSS_BorderColor newOlive htmlString.
Create new border-color purple:
    CSS_BorderColor newPurple htmlString.
Create new border-color red:
    CSS_BorderColor newRed htmlString.
Create new border-color silver:
    CSS_BorderColor newSilver htmlString.
Create new border-color teal:
    CSS_BorderColor newTeal htmlString.
Create new border-color white:
    CSS_BorderColor newWhite htmlString.
Create new border-color yellow:
    CSS_BorderColor newYellow htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 08:23:29 GMT