ftp.nice.ch/pub/next/developer/objc/fromnext/AddressBook.NIHS.bs.tar.gz#/AddressBook/Source/AddressView.h

This is AddressView.h in view mode; [Download] [Up]

/* AddressView.h:
 * You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
 * fitness for any particular use.
 *
 * Written by: Mai Nguyen, NeXT Developer Support
 * 
 */

#import <appkit/ScrollView.h>

@interface AddressView:ScrollView
{
  id 	controller;		/* outlet to the Controller instance */
  id	cellMatrix;		/* matrix of textfield cells */
  id	lnameField;		/* last name textfield */
  id 	fnameField;		/* first name textfield */
  id	phoneField;		/* phone textfield */
  id	ssnField;		/* author SSN textfield */
  id 	addressField;	/* street address textfield */
  id	stateField;		/* state of residence textfield */
  id	zipField;		/* zip code textfield */
  id	cityField;		/* city textfield */
  id 	aValue;			/* a DBValue instance to look at record contents */
  id	aValue2;
}

- initFrame:(const NXRect *)frameRect;
- free;
- cellMatrix;
- (int )getNewRow;
- loadCellsFrom:sender;
- showInfo:sender;
- addRecordFrom:sender at:(unsigned) index;
- updateRecordFrom:sender at:(unsigned) index;
- deleteSelectedRecord:sender;
- setNewRecordFrom:sender at:(unsigned)index;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.