eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Body':

Home

everywhere
www.exept.de
for:
[back]

Class: Body (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree-TopLevel
Version:
rev: 1.21 date: 2007/11/05 21:09:17
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

** This is an obsolete interface - do not use it (it may vanish in future versions) **

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: aString

queries
o  canHaveChild: anotherElement
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 6.1.1; WebServer 1.620 at exept:8081; Thu, 09 Feb 2012 02:54:28 GMT