eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_FontFamily':

Home

everywhere
www.exept.de
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-StyleSheet-Font
Version:
rev: 1.7 date: 2007/11/05 21:10:05
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.

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

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

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

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

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 6.1.1; WebServer 1.620 at exept:8081; Fri, 10 Feb 2012 14:53:07 GMT