eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Center':

Home

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

Class: Center (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-BlockLevel
Version:
rev: 1.20 date: 2019/03/29 10:54:50
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
Modified (comment): / 29-03-2019 / 11:52:47 / Claus Gittinger


Instance protocol:

queries
o  canHaveChild: aChild in: aParser
(comment from inherited method)
return true, if anotherElement is allowed as my child

o  printInlineWithSimpleElements
(comment from inherited method)
helper for printing; controls if begin- and end-tags are generated into extra lines

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 htmlString.
A centered paragraph:
    |paragraph center|
    paragraph := Paragraph with: 'This is a generated centered Text.'.
    center    := Center with: paragraph.
    center htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 16:15:07 GMT