eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::UnorderedList':

Home

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

Class: UnorderedList (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::AbstractList
            |
            +--HTML::UnorderedList

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Lists
Version:
rev: 1.24 date: 2021/01/20 14:59:43
user: cg
file: HTML__UnorderedList.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Description:


HTML unnumbered list (bullet-list).


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

adding
o  addListItemWith: aOneArgBlock

o  addListItemWithId: anId class: aClass with: aOneArgBlock

interface-accessing-attributes
o  type
Return a type for the numbering of the list.
Possible types are #disc, #square, #circle

o  type: aType
Set a type for the numbering of the list.
Possible types are #disc, #square, #circle

o  useCircleBullets
Set to use circle-bullets.

o  useDiscBullets
Set to use disc-bullets.

o  useSquareBullets
Set to use square-bullets.

queries
o  canHaveText
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)

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

testing
o  isBlockElement

o  isUnorderedList


Examples:


    |list|
    list := UnorderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list useDiscBullets.
    list htmlString.
    |list|
    list := UnorderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list useSquareBullets.
    list htmlString.
    |list|
    list := UnorderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list useCircleBullets.
    list htmlString.


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 12:36:45 GMT