eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Center':

Home

everywhere
www.exept.de
for:
[back]

Class: Center (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::Center

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree-BlockLevel
Version:
rev: 1.15 date: 2008/01/11 09:03:15
user: cg
file: HTML__Center.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree
Author:
Martin Walser

Description:


Alignment html element..


[instance variables:]
    -

[class variables:]
    -


Related information:

    Div

Class protocol:

required protocol
o  tagName
Return a tag name for a center.


Instance protocol:

queries
o  canHaveChild: aChild

o  printInlineWithSimpleElements

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

testing
o  isBlockElement

o  isCenter


Examples:


A centered text:


    |center|
    center := Center with:'This is a generated centered Text'.
    center printHtmlString.
A centered paragraph:


    |paragraph center|
    paragraph := Paragraph with: 'This is a generated centered Text.'.
    center    := Center with: paragraph.
    center printHtmlString.


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