File:  [NeXTSTEP 3.3 examples] / Examples / IndexingKit / Ledger / JFTableViewLoader.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:02 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3


#import <appkit/appkit.h>
#import <dbkit/dbkit.h>

@interface JFTableViewLoader:Object
{
    List *dataList;
    List *configList;
    id	tableView;
}

/* loadable palette support */
- (const char *)getInspectorClassName;

/* sets DBTV data source to this object */
- setTableView:anObject;

/*
 *	first update the columns in the table view,
 *	then, reload the table view 
 */
- setDataList:anObject andConfigurationList:cList;	/* prefered */

/*
 *	force reload of the table view 
 */
- setDataList:anObject;

/* 
 *	put here so awake from nib could rebuild the table view
 *	this will check to see if the column already exists.
 *	if so, then it will just replace the title and keep the width
 *
 */
- setConfigurationList:cList;

/*======================================================================
 *	Inspector support
 *	return empty list objects if none currently set
 *======================================================================*/
- (DBTableView *)tableView;
- (List *)dataList;
- (List *)configList;

/*======================================================================
 *	Archiving
 *======================================================================*/

- read:(NXTypedStream *)typedStream;
- write:(NXTypedStream *)typedStream;

/*======================================================================
 *	DBTableView data source (psuedo-delegate) methods
 *======================================================================*/
- (unsigned int) rowCount;
- getValueFor:identifier at:(unsigned int) aPosition into:aValue;
- setValueFor:identifier at:(unsigned int) aPosition from:aValue;



@end

unix.superglobalmegacorp.com

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