ListGroupParenclass

lister.t[2116]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

List Group implementation: parenthesized sublist. Displays the number of items collectively, then displays the list of items in parentheses.

Note that this is a ListGroupSorted subclass. If our subclass defines a compareGroupItems() method, we’ll show the list in the order specified by compareGroupItems().

class ListGroupParen :   ListGroupSorted

Superclass Tree   (in declaration order)

ListGroupParen
ListGroupSorted
ListGroup
`                         object`

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

groupDisplaysSublist

Inherited from ListGroup :
minGroupSize

Summary of Methods  

showGroupCountName showGroupList

Inherited from ListGroupSorted :
compareGroupItems sortListGroup

Inherited from ListGroup :
createGroupSublister groupCardinality groupNounPhraseCount showGroupItem showGroupItemCounted

Properties  

groupDisplaysSublistOVERRIDDEN

lister.t[2167]

we don’t add a sublist, since we enclose our list in parentheses

Methods  

showGroupCountName (lst)

lister.t[2160]

Show the collective count for the list of objects. By default, we’ll simply display the countName of the first item in the list, on the assumption that each object has the same plural description. However, in most cases this should be overridden to provide a more general collective name for the group.

showGroupList (pov, lister, lst, options, indent, infoTab)OVERRIDDEN

lister.t[2120]

show the group list

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3