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.20 date: 2021/01/20 15:05:22
user: cg
file: HTML__OrderedList.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Description:


HTML ordered 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:

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 23 Nov 2024 09:28:21 GMT