Next Previous Up Top Contents Index

8.4 The class hierarchy for DUIM-Gadgets

8.4.4 Subclasses of <button>

The subclasses of <button> are as shown in Table 8.4. These subclasses include not only buttons that can appear in any sheet, but also their equivalent classes of menu item. Thus, an instance of <check-button> represents a button whose state can toggle a specific value on and off, and an instance of <check-menu-button> represents a menu item whose state can toggle a specific value on and off in the same way.

Since all the subclasses of <button> are themselves value gadgets, each one supports the value protocol, as described in Section 8.1 on page 503.

Table 8.4 Subclasses of the <button> class

<button>

<check-button>

<check-menu-button>

<menu-button>

<push-button>

<push-menu-button>

<radio-button>

<radio-menu-button>


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index