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.19 date: 2018/04/26 10:30:20
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 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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 04 Aug 2025 16:39:40 GMT