ListGroupPrefixSuffixclasslister.t[2178]

List Group implementation: simple prefix/suffix lister. Shows a prefix message, then shows the list, then shows a suffix message.

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 ListGroupPrefixSuffix :   ListGroupSorted

Superclass Tree   (in declaration order)

ListGroupPrefixSuffix
        ListGroupSorted
                ListGroup
                        object

Subclass Tree  

ListGroupPrefixSuffix
        SuggestionListGroup

Global Objects  

(none)

Summary of Properties  

groupPrefix  groupSuffix 

Inherited from ListGroup :
groupDisplaysSublist  minGroupSize 

Summary of Methods  

showGroupList  showGroupPrefix  showGroupSuffix 

Inherited from ListGroupSorted :
compareGroupItems  sortListGroup 

Inherited from ListGroup :
createGroupSublister  groupCardinality  groupNounPhraseCount  showGroupItem  showGroupItemCounted 

Properties  

groupPrefixlister.t[2216]

The prefix and suffix messages. The showGroupPrefix and showGroupSuffix methods simply show these message properties. We go through this two-step procedure for convenience: if the subclass doesn't need the POV and list parameters, it's less typing to just override these parameterless properties. If the subclass needs to vary the message according to the POV or what's in the list, it can override the showGroupXxx methods instead.

groupSuffixlister.t[2217]
no description available

Methods  

showGroupList (pov, lister, lst, options, indent, infoTab)OVERRIDDENlister.t[2179]

no description available

showGroupPrefix (pov, lst)lister.t[2202]
show the prefix - we just show the groupPrefix message by default

showGroupSuffix (pov, lst)lister.t[2205]
show the suffix - we just show the groupSuffix message by default

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