eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_BackgroundRepeat':

Home

everywhere
www.exept.de
for:
[back]

Class: CSS_BackgroundRepeat (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-StyleSheet-Color and Background
Version:
rev: 1.9 date: 2008/09/03 09:55:13
user: cg
file: HTML__CSS_BackgroundRepeat.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

instance creation
o  newNoRepeat
Return a background repeat set to no repeat.

o  newRepeat
Return a background repeat set to repeat.

o  newRepeatX
Return a background repeat set to repeat-x.

o  newRepeatY
Return a background repeat set to repeat-y.

required protocol
o  keyName
Return a key name for background-repeat.


Instance protocol:

interface-accessing
o  beNoRepeat
Set the background to not repeat.

o  beRepeat
Set the background to repeat horizontally and vertically.

o  beRepeatX
Set the background to repeat horizontally.

o  beRepeatY
Set the background to repeat vertically.

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


Examples:



    |repeat|
    repeat := BackgroundRepeat new.
    repeat printHtmlString.


    |repeat|
    repeat := BackgroundRepeat newRepeat.
    repeat printHtmlString.


    |repeat|
    repeat := BackgroundRepeat newNoRepeat.
    repeat printHtmlString.


    |repeat|
    repeat := BackgroundRepeat newRepeatX.
    repeat printHtmlString.


    |repeat|
    repeat := BackgroundRepeat newRepeatY.
    repeat printHtmlString.


ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 24 May 2012 12:05:23 GMT