eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Body':

Home

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

Class: Body (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-TopLevel
Version:
rev: 1.25 date: 2018/04/26 10:29:59
user: cg
file: HTML__Body.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  tagName


Instance protocol:

interface-accessing-elements
o  addDiv: anObject
Build, add and return a new div-element.

Div is used to position elements in a page.
Originally it was only allowing to align
text left, right and center. Via style-sheet
it is possible to do more things. Div is used
as some kind of dummy to hold the class doing
all this.

o  addDiv: anObject class: aHtmlClass
Build, add and return a new div-element.
Use a html-class as attribute in the div.

Div is used to position elements in a page.
Originally it was only allowing to align
text left, right and center. Via style-sheet
it is possible to do more things. Div is used
as some kind of dummy to hold the class doing
all this.

o  addDivClass: aHtmlClass
Build, add and return a new div-element.
Use a html-class as attribute in the div.

Div is used to position elements in a page.
Originally it was only allowing to align
text left, right and center. Via style-sheet
it is possible to do more things. Div is used
as some kind of dummy to hold the class doing
all this.

o  addHeading1: aHeading1OrString
Build and add a level one heading to the children.
The heading will be added as last in the body.

o  addHeading2: aHeading2OrString
Build and add a level two heading to the children.
The heading will be added as last in the body.

o  addHeading3: aHeading3OrString
Build and add a level three heading to the children.
The heading will be added as last in the body.

o  addHeading4: aHeading4OrString
Build and add a level four heading to the children.
The heading will be added as last in the body.

o  addHeading5: aHeading5OrString
Build and add a level five heading to the children.
The heading will be added as last in the body.

o  addHeading6: aHeading6OrString
Build and add a level six heading to the children.
The heading will be added as last in the body.

o  addHorizontalRule
Build and add a level one heading to the children.
The heading will be added as last in the body.

o  addOnLoad: aString

o  addParagraph: aParagraphOrString
Build and add a level six heading to the children.
The paragraph will be added as last in the body.

o  addTable
Build and add a table to the children.
The table will be added as last in the body.

o  addTable: aTableOrString
Build and add a table to the children.
The table will be added as last in the body.

o  onLoad: aScript

queries
o  canHaveChild: anotherElement in: aParser
return true, if anotherElement is allowed as my child

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

testing
o  isBody



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 10:32:25 GMT