eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_FontWeight':

Home

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

Class: CSS_FontWeight (in HTML)


Inheritance:

   Object
   |
   +--HTML::CSS_AbstractStyleObject
      |
      +--HTML::CSS_AbstractStyleProperty
         |
         +--HTML::CSS_FontWeight

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-StyleSheet-Font
Version:
rev: 1.11 date: 2018/04/26 10:33:16
user: cg
file: HTML__CSS_FontWeight.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

instance creation
o  new100
Create a new font-weight set to 100.

usage example(s):

    CSS_FontWeight new100 htmlString.

o  new200
Create a new font-weight set to 200.

usage example(s):

    CSS_FontWeight new200 htmlString.

o  new300
Create a new font-weight set to 300.

usage example(s):

    CSS_FontWeight new300 htmlString.

o  new400
Create a new font-weight set to 400.

usage example(s):

    CSS_FontWeight new400 htmlString.

o  new500
Create a new font-weight set to 500.

usage example(s):

    CSS_FontWeight new500 htmlString.

o  new600
Create a new font-weight set to 600.

usage example(s):

    CSS_FontWeight new600 htmlString.

o  new700
Create a new font-weight set to 700.

usage example(s):

    CSS_FontWeight new700 htmlString.

o  new800
Create a new font-weight set to 800.

usage example(s):

    CSS_FontWeight new800 htmlString.

o  new900
Create a new font-weight set to 900.

usage example(s):

    CSS_FontWeight new900 htmlString.

o  newBold
Create a new font-weight set to bold.

usage example(s):

    CSS_FontWeight newBold htmlString.

o  newBolder
Create a new font-weight set to bolder.

usage example(s):

    CSS_FontWeight newBolder htmlString.

o  newLighter
Create a new font-weight set to lighter.

usage example(s):

    CSS_FontWeight newLighter htmlString.

required protocol
o  keyName
Return a key name for font-weight.


Instance protocol:

accessing
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor

interface-accessing
o  be100
Set the font-weight to 100

o  be200
Set the font-weight to 200

o  be300
Set the font-weight to 300

o  be400
Set the font-weight to 400

o  be500
Set the font-weight to 500

o  be600
Set the font-weight to 600

o  be700
Set the font-weight to 700

o  be800
Set the font-weight to 800

o  be900
Set the font-weight to 900

o  beBold
Set the font-weight to bold.

o  beBolder
Set the font-weight to bolder.

o  beLighter
Set the font-weight to lighter.


Examples:


    CSS_FontWeight newNormal htmlString.
    CSS_FontWeight newBold htmlString.
    CSS_FontWeight newBolder htmlString.
    CSS_FontWeight newLighter htmlString.
    CSS_FontWeight new100 htmlString.
    CSS_FontWeight new200 htmlString.
    CSS_FontWeight new300 htmlString.
    CSS_FontWeight new400 htmlString.
    CSS_FontWeight new500 htmlString.
    CSS_FontWeight new600 htmlString.
    CSS_FontWeight new700 htmlString.
    CSS_FontWeight new800 htmlString.
    CSS_FontWeight new900 htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 18:11:14 GMT