HasSortOrder <- HasContactSortOrder |
|
|
ContactListIndex ContactListTitle |
|
DefaultListIndex |
| Field | Type | |
|---|---|---|
| HasContactSortOrder: | addressListsTitles: | Text |
| defaultListIndex: | Unsigned |
Define Class HasContactSortOrder; mixes in with Object, HasLocale; inherits from HasSortOrder; field addressListsTitles: Text; field defaultListIndex: Unsigned, getter; // which list should be specified if we don't know where to put // a name. attribute DefaultListIndex: Unsigned, readOnly; operation ContactListIndex(name: HasText): Unsigned, noMethod; // Given the name of a FullContact, returns an index into iContactsMasterList // specifying which list "name" should be filed under. operation ContactListTitle(index: Unsigned): Text; // Returns the appropriate title for the "section list" at // index index of ComponentLists(iContactsMasterList). end class;