|
Class: OrderedList (in HTML)
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
HTML ordered list.
[instance variables:]
-
[class variables:]
-
copyrightCOPYRIGHT (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.
required protocol
-
tagName
-
interface-accessing-attributes
-
enumerateDecimal
-
Set to use decimal enumeration.
-
enumerateLowercaseAlphabetic
-
Set to use decimal enumeration.
-
enumerateLowercaseRoman
-
Set to use decimal enumeration.
-
enumerateUppercaseAlphabetic
-
Set to use decimal enumeration.
-
enumerateUppercaseRoman
-
Set to use decimal enumeration.
-
type
-
Return a type for the numbering of the list.
Possible types are #1, #i, #I, #a, #A
-
type: aType
-
Set a type for the numbering of the list.
Possible types are #1, #i, #I, #a, #A
queries
-
canHaveText
-
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isBlockElement
-
-
isOrderedList
-
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
|
|