previous chapter contents page top page next chapter

KeepAddressesButton

inherits from SimpleActionButton, ConditionalCommand;

Class Description

Class KeepAddressesButton is a variant of class SimpleActionButton that displays itself when certain conditions are met. It's used by the built-in Magic Cap mail inbox to allow the user to decide which new addresses to add to her name cards.

Programming information

Instantiate: rarely
Subclass: rarely
Call its methods: rarely

You're not likely to use or subclass class KeepAddressesButton. You might follow its model in mixing in class ConditionalCommand with one of the button variants.

Methods defined by class KeepAddressesButton

Class KeepAddressesButton defines the following methods:

Method Description
ShowCommand Decide if the button should be visible

Fields defined by class KeepAddressesButton

Class KeepAddressesButton 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 Property settings
labelStyle TextStyle Text style of object's label
color Unsigned Color of object's content
altColor Unsigned Not used by button
shadow Shadow Shadow drawn with object
sound Sound Sound associated with object
Inherited from Stamp
image Image Image used to draw stamp
Inherited from HasBorder
border Border The button's border