previous chapter contents page top page next chapter


PhoneScene

February 29, 1996

inherits from ModalScene, PurgesDaily;

Class Description

Magic Cap defines class PhoneScene to represent the scene used by the built-in phone.

Programming information

Instantiate: rarely
Subclass: rarely
Call its methods: never

You probably won't ever create an object or a subclass of class PhoneScene. The information in this chapter is provided for debugging and curiosity only.

Methods defined by class PhoneScene

Class PhoneScene defines the following methods:

Method Description
AboutToShow Overridden to try to delete old phone logs before showing.
GoToVia Overridden to always go to first or second card of scene.
InstallPhoneService Adds new service card.
SearchForSuggestionsByDate Overridden to add old phone log cards to purge list.
PurgeTrigger Overridden to return iPurgePhoneLogTrigger.
SuggestionSearchStatus Overridden to return copy of phone logs.
MakeContentProxyChoices Overridden to return choices appropriate to current mode.

Fields defined by class PhoneScene

Class PhoneScene defines no fields.

Method Descriptions

AboutToShow

overrides AboutToShow

Call: rarely
Override: sometimes

Class PhoneScene overrides AboutToShow to call PurgeContents when the scene is about to appear. This causes Magic Cap to suggest deleting phone log entries that have passed the user's expiration period.

GoToVia

overrides GoToVia

Call: rarely
Override: sometimes

Class PhoneScene overrides GoToVia to always go to either the keypad or names mode of the phone scene.

InstallPhoneService

operation InstallPhoneService(serviceContainer: Viewable)

Call: rarely
Override: rarely

Magic Cap calls InstallPhoneService to add a new entry to the services mode in the phone scene.

SearchForSuggestionsByDate

overrides SearchForSuggestionsByDate

Call: rarely
Override: sometimes

Class PhoneScene overrides SearchForSuggestionsByDate to add expired phone log cards to the purge list.

PurgeTrigger

overrides PurgeTrigger

Call: rarely
Override: sometimes

Class PhoneScene overrides PurgeTrigger to return iPurgePhoneLogTrigger.

SuggestionSearchStatus

overrides SuggestionSearchStatus

Call: rarely
Override: sometimes

Class PhoneScene overrides SuggestionSearchStatus to return the appropriate list of phone logs.

MakeContentProxyChoices

overrides MakeContentProxyChoices

Call: rarely
Override: sometimes

Class PhoneScene overrides MakeContentProxyChoices to list the appropriate choices depending on the current mode.