|
Class: Body (in HTML)
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
required protocol
-
tagName
-
interface-accessing-elements
-
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.
-
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.
-
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.
-
addHeading1: aHeading1OrString
-
Build and add a level one heading to the children.
The heading will be added as last in the body.
-
addHeading2: aHeading2OrString
-
Build and add a level two heading to the children.
The heading will be added as last in the body.
-
addHeading3: aHeading3OrString
-
Build and add a level three heading to the children.
The heading will be added as last in the body.
-
addHeading4: aHeading4OrString
-
Build and add a level four heading to the children.
The heading will be added as last in the body.
-
addHeading5: aHeading5OrString
-
Build and add a level five heading to the children.
The heading will be added as last in the body.
-
addHeading6: aHeading6OrString
-
Build and add a level six heading to the children.
The heading will be added as last in the body.
-
addHorizontalRule
-
Build and add a level one heading to the children.
The heading will be added as last in the body.
-
addOnLoad: aString
-
-
addParagraph: aParagraphOrString
-
Build and add a level six heading to the children.
The paragraph will be added as last in the body.
-
addTable
-
Build and add a table to the children.
The table will be added as last in the body.
-
addTable: aTableOrString
-
Build and add a table to the children.
The table will be added as last in the body.
-
onLoad: aScript
-
queries
-
canHaveChild: anotherElement in: aParser
-
return true, if anotherElement is allowed as my child
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isBody
-
|