MenuTopicItemclassmenusys.t[905]

MenuTopicItem displays a series of entries successively. This is intended to be used for displaying something like a list of hints for a topic. Set menuContents to be a list of strings to be displayed.

class MenuTopicItem :   MenuItem

Superclass Tree   (in declaration order)

MenuTopicItem
       
MenuItem
                MenuObject
                        object

Subclass Tree  

MenuTopicItem
       
Goal

Global Objects  

(none)

Summary of Properties  

chunkSize  heading  lastDisplayed  menuContents  menuTopicListEnd  nextMenuTopicLink  title 

Inherited from MenuItem :
bgcolor  curKeyList  fgcolor  fullScreenMode  indent  keyList  prevMenuLink  topbarbg  topbarfg 

Inherited from MenuObject :
contents  menuOrder 

Summary of Methods  

displaySubItem  redrawWinHtml  showMenuHtml  showMenuText 

Inherited from MenuItem :
display  getNextMenu  getPrevMenu  refreshTopMenuBanner  removeStatusLine  removeTopMenuBanner  showTopMenuBanner  updateContents 

Inherited from MenuObject :
addToContents  compareForMenuSort  execute  initializeContents  initializeLocation 

Properties  

chunkSizemenusys.t[931]

The maximum number of our sub-items that we'll display at once. This is only used on interpreters with banner capabilities, and is ignored in full-screen mode.

headingOVERRIDDENmenusys.t[910]
heading, displayed while we're showing this topic list

lastDisplayedmenusys.t[924]
the index of the last item we displayed from our menuContents list

menuContentsmenusys.t[921]
A list of strings and/or MenuTopicSubItem items. Each one of these is meant to be something like a single hint on our topic. We display these items one at a time when our menu item is selected.

menuTopicListEndmenusys.t[934]
we'll display this after we've shown all of our items

nextMenuTopicLinkmenusys.t[913]
hyperlink text for showing the next menu

titleOVERRIDDENmenusys.t[907]
the name of this topic, as it appears in our parent menu

Methods  

displaySubItem (idx, lastBeforeInput, eol)menusys.t[1220]

Display an item from our list. 'idx' is the index in our list of the item to display. 'lastBeforeInput' indicates whether or not this is the last item we're going to show before pausing for user input. 'eol' gives the newline sequence to display at the end of the line.

redrawWinHtml (topIdx)menusys.t[1127]
redraw the window in HTML mode, starting with the given item at the top of the window

showMenuHtml (topMenu)OVERRIDDENmenusys.t[999]
Display and run our menu in HTML mode.

showMenuText (topMenu)OVERRIDDENmenusys.t[939]
Display and run our menu in text mode.

TADS 3 Library Manual
Generated on 9/15/2006 from TADS version 3.0.12