eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_FontFamily':

Home

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

Class: CSS_FontFamily (in HTML)


Inheritance:

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

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

Class protocol:

instance creation
o  newCursive
Create a new font-family set to cursive.

usage example(s):

    CSS_FontFamily newCursive printHtmlString.

o  newFantasy
Create a new font-family set to fantasy.

usage example(s):

    CSS_FontFamily newFantasy printHtmlString.

o  newMonospace
Create a new font-family set to monospace.

usage example(s):

    CSS_FontFamily newMonospace printHtmlString.

o  newSansSerif
Create a new font-family set to sans-serif.

usage example(s):

    CSS_FontFamily newSansSerif printHtmlString.

o  newSerif
Create a new font-family set to serif.

usage example(s):

    CSS_FontFamily newSerif printHtmlString.

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


Instance protocol:

interface-accessing
o  beCursive
Set the font-family to cursive.

o  beFantasy
Set the font-family to fantasy.

o  beMonospace
Set the font-family to monospace.

o  beSansSerif
Set the font-family to sans-serif.

o  beSerif
Set the font-family to serif.

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


Examples:


    CSS_FontFamily newCursive printHtmlString.
    CSS_FontFamily newFantasy printHtmlString.
    CSS_FontFamily newMonospace printHtmlString.
    CSS_FontFamily newSansSerif printHtmlString.
    CSS_FontFamily newSerif printHtmlString.


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