ftp.nice.ch/pub/next/developer/resources/classes/MOKit.1.0.0.s.tar.gz#/MOKit_1.0.0/Examples/MOMatrix/TestControl.h

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

// TestControl.m
//
// by Mike Ferris
// Part of MOKit
// Copyright 1993, all rights reserved.


// ABOUT MOKit
// by Mike Ferris (mike@lorax.com)
//
// MOKit is a collection of useful and general objects.  Permission is 
// granted by the author to use MOKit in your own programs in any way 
// you see fit.  All other rights pertaining to the kit are reserved by the 
// author including the right to sell these objects as objects,  as part 
// of a LIBRARY, or as SOURCE CODE.  In plain English, I wish to retain 
// rights to these objects as objects, but allow the use of the objects 
// as pieces in a fully functional program.  Permission is also granted to 
// redistribute the source code of MOKit for FREE as long as this copyright 
// notice is left intact and unchanged.  NO WARRANTY is expressed or implied.  
// The author will under no circumstances be held responsible for ANY 
// consequences from the use of these objects.  Since you don't have to pay 
// for them, and full source is provided, I think this is perfectly fair.

// This class is for testing MOMatrix.  It puts a regular Matrix and a 
// MOMatrix in a window.  It allows resizing of the individual columns 
// and rows of the MOMatrix.  There is also a little window with a trio 
// of regular button-type matrix's in various modes just for reference.

#import <appkit/appkit.h>

@interface TestControl:Object
{
    id	columnForm;
    id	heightForm;
    id	rowForm;
    id	widthForm;
	id	intercellForm;
	id	insertRowForm;
	id	insertColForm;
	id	removeRowForm;
	id	removeColForm;
    id	window;
	
	id	mOfButton;
	id	mOfRadio;
	id	listMatrix;
	
	id	momatrix;
	id	matrix;
}

- appDidInit:sender;

- doColumnSize:sender;
- doRowSize:sender;
- doIntercell:sender;

- doInsertRow:sender;
- doInsertCol:sender;
- doRemoveRow:sender;
- doRemoveCol:sender;

@end

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