eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_BackgroundRepeat':

Home

Documentation
www.exept.de
Everywhere
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-HTML-StyleSheet-Color and Background
Version:
rev: 1.10 date: 2018/04/26 10:34:23
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.

usage example(s):

    CSS_BackgroundRepeat newNoRepeat printHtmlString.

o  newRepeat
Return a background repeat set to repeat.

usage example(s):

    CSS_BackgroundRepeat newRepeat printHtmlString.

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

usage example(s):

    CSS_BackgroundRepeat newRepeatX printHtmlString.

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

usage example(s):

    CSS_BackgroundRepeat newRepeatY printHtmlString.

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 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 17:50:46 GMT