eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Div':

Home

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

Class: Div (in HTML)


Inheritance:

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

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

Description:


A div is an html elment to align horizontally..


[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


Instance protocol:

queries
o  canHaveChild: aChild in: aParser
(comment from inherited method)
return true, if anotherElement is allowed as my child

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

testing
o  isBlockElement

o  isDiv


Examples:


Left alignment:
    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignLeft.
    div htmlString.
Center alignment:
    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignCenter.
    div htmlString.
Right alignment:
    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignRight.
    div htmlString.


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 13:07:35 GMT