eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::DefinitionTerm':

Home

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

Class: DefinitionTerm (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Lists
Version:
rev: 1.16 date: 2018/04/26 10:29:28
user: cg
file: HTML__DefinitionTerm.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  tagName


Instance protocol:

queries
o  canHaveChild: anotherElement 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  isDefinitionTerm


Examples:


A definition list:
    |list|

    list := DefinitionList new.

    list addDefinition:'Smalltalk' -> 'Object oriented programming language.'.

    list addLineBreak.

    list addDefinitionTerm:'Java'.
    list addDefinitionDescription:'Clever marketing strategie based on old stuff..'.

    list htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 08:22:08 GMT