home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSTableColumn.h < prev    next >
Text File  |  1996-10-17  |  1KB  |  58 lines

  1. /*
  2.         NSTableColumn.h
  3.         Application Kit
  4.         Copyright (c) 1995-1996, NeXT Software, Inc.
  5.         All rights reserved.
  6. */
  7.  
  8. #ifndef STRICT_OPENSTEP
  9.  
  10. #import <Foundation/Foundation.h>
  11.  
  12. @class NSTableView;
  13. @class NSCell;
  14.  
  15. @interface NSTableColumn : NSObject
  16. {
  17.     id        _identifier;
  18.     float    _width;
  19.     float    _minWidth;
  20.     float    _maxWidth;
  21.     NSTableView *_tableView;
  22.     NSCell    *_headerCell;
  23.     NSCell    *_dataCell;
  24.     struct __colFlags {
  25.         unsigned int    isResizable:1;
  26.         unsigned int    isEditable:1;
  27.         unsigned int    resizedPostingDisableCount:8;
  28.         unsigned int    RESERVED:22;
  29.     } _cFlags;
  30.     void    *_reserved;
  31. }
  32.  
  33. - (id)initWithIdentifier:(id)identifier;
  34.  
  35. - (void)setIdentifier:(id)identifier;
  36. - (id)identifier;
  37. - (void)setTableView:(NSTableView *)tableView;
  38. - (NSTableView *)tableView;
  39. - (void)setWidth:(float)width;
  40. - (float)width;
  41. - (void)setMinWidth:(float)minWidth;
  42. - (float)minWidth;
  43. - (void)setMaxWidth:(float)maxWidth;
  44. - (float)maxWidth;
  45. - (void)setHeaderCell:(NSCell *)cell;
  46. - (id)headerCell;
  47. - (void)setDataCell:(NSCell *)cell;
  48. - (id)dataCell;
  49. - (void)setResizable:(BOOL)flag;
  50. - (BOOL)isResizable;
  51. - (void)setEditable:(BOOL)flag;
  52. - (BOOL)isEditable;
  53. - (void)sizeToFit;
  54.  
  55. @end
  56.  
  57. #endif STRICT_OPENSTEP
  58.