eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::OrderedList':

Home

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

Class: OrderedList (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Lists
Version:
rev: 1.19 date: 2018/04/26 10:29:52
user: cg
file: HTML__OrderedList.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree
Author:
Martin Walser

Description:


HTML ordered list.


[instance variables:]
    -

[class variables:]
    -


Related information:

    ListItem
    UnorderedList

Class protocol:

required protocol
o  tagName


Instance protocol:

interface-accessing-attributes
o  enumerateDecimal
Set to use decimal enumeration.

o  enumerateLowercaseAlphabetic
Set to use decimal enumeration.

o  enumerateLowercaseRoman
Set to use decimal enumeration.

o  enumerateUppercaseAlphabetic
Set to use decimal enumeration.

o  enumerateUppercaseRoman
Set to use decimal enumeration.

o  type
Return a type for the numbering of the list.
Possible types are #1, #i, #I, #a, #A

o  type: aType
Set a type for the numbering of the list.
Possible types are #1, #i, #I, #a, #A

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  isOrderedList


Examples:


An ordered list:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list htmlString
With decimal enumeration:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list enumerateDecimal.
    list htmlString
With lowercase roman enumeration:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list enumerateLowercaseRoman.
    list htmlString
With uppercase roman enumeration:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list enumerateUppercaseRoman.
    list htmlString
With lowercase alphabetical enumeration:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list enumerateLowercaseAlphabetic.
    list htmlString
With uppercase alphabetical enumeration:
    |list|
    list := OrderedList new.
    list addListItem:'First generated list item'.
    list addListItem:'Second generated list item'.
    list addListItem:'Third generated list item'.
    list enumerateUppercaseAlphabetic.
    list htmlString


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 17:01:05 GMT