home *** CD-ROM | disk | FTP | other *** search
- /* RandomDataSource.m:
- * 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.
- *
- *
- *
- */
-
- #import <objc/Object.h>
-
-
- @interface RandomDataSource : Object
- {
- unsigned int rows, columns;
- id rowList;
- }
-
- - (unsigned int) rowCount;
- - (unsigned int) columnCount;
-
- - setValueFor:index at:(unsigned int) aPosition from:aValue;
- - getValueFor:index at:(unsigned int) aPosition into:aValue;
-
- - setRows:(unsigned int) rowCount;
- - setColumns:(unsigned int) columnCount;
-
-
- - empty;
- - loadData;
- @end
-