home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / dbkit / DBTableVector.h < prev    next >
Text File  |  1992-05-20  |  742b  |  39 lines

  1. /*
  2. **      DBTableVector.h
  3. **      Database Kit, Release 3.0
  4. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  5. */
  6. #import <objc/Object.h>
  7. #import <appkit/graphics.h>
  8. #import <dbkit/tableProtocols.h>
  9.  
  10. typedef enum { HORIZONTAL, VERTICAL } Orientation;
  11.  
  12. @interface DBTableVector : Object <DBTableVectors>
  13. {
  14. @private
  15.     struct {
  16.     unsigned int    autosizable:1,
  17.             editable:1,
  18.             resizable:1,
  19.             contentAlign:2,
  20.             titleAlign:2,
  21.             :25;
  22.     } _vFlags;
  23. @protected
  24.     id        identifier;        /* opaque id for dataSource */
  25.     id        formatter;        /* formats data in vector */
  26.  
  27.     NXCoord        minSize;
  28.     NXCoord        maxSize;
  29.     NXCoord        currentSize;        /* current width or height */
  30.     
  31.     char        *title;
  32.     id        titleFont;
  33. }
  34.  
  35. - initIdentifier:newIdentifier;
  36. - free;
  37.  
  38. @end
  39.