home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Headers / eointerface / NXFormatter.h < prev    next >
Encoding:
Text File  |  1994-05-14  |  1.0 KB  |  46 lines

  1. /*
  2. **      NXFormatter.h
  3. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  4. */
  5.  
  6. #import "NXTableProtocols.h"
  7. #import <appkit/appkit.h>
  8.  
  9.  
  10. // NXFormatter is functionally identical to the Database Kit's DBFormatter.
  11. // Please refer to the DatabaseKit documentation for use of this class.
  12.  
  13.  
  14. @interface NXFormatter : Object
  15. {
  16. @private
  17.     unsigned int    _fReserved[2];
  18. @protected
  19.     id        delegate;
  20.     id        dataSource;
  21.     id        value;
  22. }
  23.  
  24. - delegate;
  25. - setDelegate:newDelegate;
  26.  
  27. - dataSource;
  28. - setDataSource:newDataSource;
  29.  
  30. - getValueAt:(unsigned int) row :(unsigned int) column
  31.     withAttributes:(id <NXTableVectors>) rowAttrs
  32.               :(id <NXTableVectors>) columnAttrs
  33.     usePositions:(BOOL) useRowPos :(BOOL) useColumnPos;
  34.  
  35. - drawFieldAt:(unsigned int) row :(unsigned int) column
  36.     inside:(NXRect *) frame inView:view
  37.     withAttributes:(id <NXTableVectors>) rowAttrs
  38.               :(id <NXTableVectors>) columnAttrs
  39.     usePositions:(BOOL) useRowPos :(BOOL) useColumnPos;
  40.  
  41. - beginBatching:(id <NXTableVectors>) attrs;
  42. - resetBatching:(id <NXTableVectors>) attrs;
  43. - endBatching;
  44.  
  45. @end
  46.