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::AbstractHTMLFlowContentElement
            |
            +--HTML::Center

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-BlockLevel
Version:
rev: 1.23 date: 2022/08/08 16:16:43
user: matilk
file: HTML__Center.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Description:


Alignment html element..


[instance variables:]
    -

[class variables:]
    -

copyright

COPYRIGHT (c) 2003 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 03 Dec 2024 17:44:47 GMT