DividedInventoryListerclasslister.t[1603]

"Divided" inventory lister. In 'wide' mode, this shows inventory in two parts: the items being carried, and the items being worn. (We use the standard single tree-style listing in 'tall' mode.)

class DividedInventoryLister :   InventoryLister

Superclass Tree   (in declaration order)

DividedInventoryLister
        InventoryLister
                Lister
                        object

Subclass Tree  

(none)

Global Objects  

actorInventoryLister 

Summary of Properties  

carryingLister  singleSentenceMaxNouns  wearingLister 

Inherited from Lister :
nextCustomFlag 

Summary of Methods  

showCombinedInventoryList  showList 

Inherited from InventoryLister :
isListed  showContentsList  showInlineContentsList  showListItem  showListItemCounted 

Inherited from Lister :
contentsListed  contentsListedSeparately  getArrangedListCardinality  getArrangedListNounPhraseCount  getContents  getFilteredList  getListedContents  getListGrouping  getTopLister  listCardinality  listSepEnd  listSepMiddle  listSepTwo  listWith  longListSepEnd  longListSepMiddle  longListSepTwo  showArrangedList  showListAll  showListContentsPrefixTall  showListEmpty  showListIndent  showListPrefixTall  showListPrefixWide  showListSeparator  showListSimple  showListSuffixWide  showSeparateContents  showTallListNewline 

Properties  

carryingListerlister.t[1687]

Our associated sub-listers for items begin carried and worn, respectively. We'll use these to list our sublist of items being worn.

singleSentenceMaxNounslister.t[1680]
The recommended maximum number of number of noun phrases to show in the single-sentence format. This should be used by the showCombinedInventoryList() method to decide whether to display the combined listing as a single sentence or as two separate sentences.

wearingListerlister.t[1688]
no description available

Methods  

showCombinedInventoryList (parent, carrying, wearing)lister.t[1671]

Show the combined listing. This must be provided by each language-specific subclass. The inputs are the results (strings) of the captured output of the sublistings of the items being carried and the items being worn. These will be "raw" listings, without any prefix or suffix text. This routine's job is to display the final output, adding the framing text.

showList (pov, parent, lst, options, indent, infoTab, parentGroup)OVERRIDDENlister.t[1608]
Show the list. We completely override the main lister method so that we can show our two lists.

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