eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_BackgroundAttachment':

Home

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

Class: CSS_BackgroundAttachment (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-StyleSheet-Color and Background
Version:
rev: 1.10 date: 2018/04/26 10:33:18
user: cg
file: HTML__CSS_BackgroundAttachment.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

instance creation
o  newFixed
Return a background attachment set to fixed.

usage example(s):

    CSS_BackgroundAttachment newFixed printHtmlString.

o  newScroll
Return a background attachment set to scroll.

usage example(s):

    CSS_BackgroundAttachment newScroll printHtmlString.

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


Instance protocol:

interface-accessing
o  beScroll
Set the background attachment to scroll.

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


Examples:


    |attachment|
    attachment := BackgroundAttachment newFixed.
    attachment printHtmlString.
    |attachment|
    attachment := BackgroundAttachment newScroll.
    attachment printHtmlString.


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