previous chapter contents page top page next chapter


MessageCreationScene

February 29, 1996

inherits from StackScene;

Class Description

When the user taps the blank telecard in the center of the desk, Magic Cap creates a new telecard and goes to the message creation scene. Magic Cap defines class MessageCreationScene for this scene.

Programming information

Instantiate: never
Subclass: never
Call its methods: never

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

Methods defined by class MessageCreationScene

Class MessageCreationScene defines the following methods:

Method Description
ShouldAddressFirst Indicates whether people picker appears when new card is created.
SetShouldAddressFirst Sets whether people picker appears when new card is created.
GoToVia Handles zooming when user touches card.

Fields defined by class MessageCreationScene

Class MessageCreationScene defines the following fields:

Field Type Description
Inherited from SingleLinkable:
next Object Next item in view list
Inherited from Linkable:
previous Object Previous item in view list
Inherited from Viewable:
superview Viewable Container for this object
subview Viewable Object contained by this object
relativeOrigin Dot Origin relative to superview
contentSize Dot Size of content rectangle
viewFlags Unsigned Various settings
labelStyle TextStyle Text style of object's label
color Color Color of object's content
shadow Shadow Shadow drawn with object
sound Sound Sound associated with object
Inherited from HasBorder:
border Border Border drawn around object
Inherited from Scene:
sceneFlags Unsigned Various scene settings
stepBackScene Scene Scene to step back to (at right of name bar)
stepBackSpot Viewable Place to zoom to on step back
image Image Image for scene's snapshots
additions SceneAdditions First in list of scene-specific commands
screen Buffer Cached bits to draw scene
Inherited from StackScene:
stack Stack Stack associated with scene
cardNum Unsigned Index of current card
Defined by MessageCreationScene
defaultTool ChooseAbleToo Default writing tool for new telecards l

Method Descriptions

ShouldAddressFirst

attribute ShouldAddressFirst: Boolean
// operation ShouldAddressFirst():Boolean
// operation SetShouldAddressFirst(newValue)

Call: rarely
Override: rarely

The attribute CategoryBox indicates whether Magic Cap should display the people picker immediately after creating a new telecard.

GoToVia

operation GoToVia()

Call: rarely
Override: sometimes

Class MessageCreationScene overrides GoToVia to handle zooming when the user touches the message.