home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / dbkit / DBFormatter.h < prev    next >
Text File  |  1992-06-03  |  1KB  |  43 lines

  1. /*
  2. **      DBFormatter.h
  3. **      Database Kit, Release 3.0
  4. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import <objc/Object.h>
  8. #import <appkit/graphics.h>        /* for NXCoord, NXSize */
  9. #import <dbkit/tableProtocols.h>
  10.  
  11. @interface DBFormatter : Object
  12. {
  13. @private
  14.     unsigned int    _fReserved[2];
  15. @protected
  16.     id        delegate;
  17.     id        dataSource;
  18.     id        value;
  19. }
  20.  
  21. - delegate;
  22. - setDelegate:newDelegate;
  23.  
  24. - dataSource;
  25. - setDataSource:newDataSource;
  26.  
  27. - getValueAt:(unsigned int) r$    a(unsigned int) column
  28.     withAttributes:(id <DBTableVectors>) rowAttrs
  29.               :(id <DBTableVectors>) columnAttrs
  30.     usePositions:(BOOL) useRowPos :(BOOL) useColumnPos;
  31.  
  32. - drawFieldAt:(unsigned int) row :(unsigned int) column
  33.     inside:(NXRect *) frame inView:view
  34.     withAttributes:(id <DBTableVectors>) rowAttrs
  35.               :(id <DBTableVectors>) columnAttrs
  36.     usePositions:(BOOL) useRowPos :(BOOL) useColumnPos;
  37.  
  38. - beginBatching:(id <DBTableVectors>) attrs;
  39. - resetBatching:(id <DBTableVectors>) attrs;
  40. - endBatching;
  41.  
  42. @end
  43.