Annotation of Examples/DatabaseKit/AddressBook/AddressView.h, revision 1.1

1.1     ! root        1: /* AddressView.h:
        !             2:  * You may freely copy, distribute, and reuse the code in this example.
        !             3:  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
        !             4:  * fitness for any particular use.
        !             5:  *
        !             6:  * Written by: Mai Nguyen, NeXT Developer Support
        !             7:  * 
        !             8:  */
        !             9: 
        !            10: #import <appkit/ScrollView.h>
        !            11: 
        !            12: @interface AddressView:ScrollView
        !            13: {
        !            14:   id   controller;             /* outlet to the Controller instance */
        !            15:   id   cellMatrix;             /* matrix of textfield cells */
        !            16:   id   lnameField;             /* last name textfield */
        !            17:   id   fnameField;             /* first name textfield */
        !            18:   id   phoneField;             /* phone textfield */
        !            19:   id   ssnField;               /* author SSN textfield */
        !            20:   id   addressField;   /* street address textfield */
        !            21:   id   stateField;             /* state of residence textfield */
        !            22:   id   zipField;               /* zip code textfield */
        !            23:   id   cityField;              /* city textfield */
        !            24:   id   aValue;                 /* a DBValue instance to look at record contents */
        !            25:   id   aValue2;
        !            26: }
        !            27: 
        !            28: - initFrame:(const NXRect *)frameRect;
        !            29: - free;
        !            30: - cellMatrix;
        !            31: - (int )getNewRow;
        !            32: - loadCellsFrom:sender;
        !            33: - showInfo:sender;
        !            34: - addRecordFrom:sender at:(unsigned) index;
        !            35: - updateRecordFrom:sender at:(unsigned) index;
        !            36: - deleteSelectedRecord:sender;
        !            37: - setNewRecordFrom:sender at:(unsigned)index;
        !            38: 
        !            39: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.