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

  1. /*
  2. **      NXTableVector.h
  3. **      Copyright (c) 1992, NeXT Computer, Inc.  All rights reserved. 
  4. */
  5. #import <appkit/appkit.h>
  6. #import "NXTableProtocols.h"
  7.  
  8. typedef enum { HORIZONTAL, VERTICAL } Orientation;
  9.  
  10. // NXTableVector is functionally identical to the Database Kit's
  11. // DBTableVector. Please refer to the DatabaseKit documentation for use
  12. // of this class.
  13.  
  14. @interface NXTableVector : Object <NXTableVectors>
  15. {
  16. @private
  17.     struct {
  18.     unsigned int
  19. #if    __BIG_ENDIAN__
  20.             autosizable:1,
  21.             editable:1,
  22.             resizable:1,
  23.             contentAlign:2,
  24.             titleAlign:2,
  25.             :25;
  26. #else    __BIG_ENDIAN__
  27.             :25,
  28.             titleAlign:2,
  29.             contentAlign:2,
  30.             resizable:1,
  31.             editable:1,
  32.             autosizable:1;
  33. #endif    __BIG_ENDIAN__
  34.     } _vFlags;
  35. @protected
  36.     id        identifier;        /* opaque id for dataSource */
  37.     id        formatter;        /* formats data in vector */
  38.  
  39.     NXCoord        minSize;
  40.     NXCoord        maxSize;
  41.     NXCoord        currentSize;        /* current width or height */
  42.     
  43.     char        *title;
  44.     id        titleFont;
  45. }
  46.  
  47. - initIdentifier:newIdentifier;
  48. - free;
  49.  
  50. @end
  51.