home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / NSFormCell.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-09  |  982 b   |  47 lines

  1. /*
  2.     NSFormCell.h
  3.     Application Kit
  4.     Copyright (c) 1994-1996, NeXT Software, Inc.
  5.     All rights reserved.
  6. */
  7.  
  8. #import <AppKit/NSActionCell.h>
  9.  
  10. @interface NSFormCell : NSActionCell
  11. {
  12.     float    _titleWidth;
  13.     id        _titleCell;
  14.     float    _titleEndPoint;
  15. }
  16.  
  17. - (id)initTextCell:(NSString *)aString;
  18.  
  19. - (float)titleWidth:(NSSize)aSize;
  20. - (float)titleWidth;
  21. - (void)setTitleWidth:(float)width;
  22. - (NSString *)title;
  23. - (void)setTitle:(NSString *)aString;
  24. - (NSFont *)titleFont;
  25. - (void)setTitleFont:(NSFont *)fontObj;
  26. - (NSTextAlignment)titleAlignment;
  27. - (void)setTitleAlignment:(NSTextAlignment)mode;
  28. - (BOOL)isOpaque;
  29. - (NSSize)cellSizeForBounds:(NSRect)aRect;
  30.  
  31. @end
  32.  
  33. #ifndef STRICT_OPENSTEP
  34. @interface NSFormCell(NSKeyboardUI)
  35. - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand;
  36. @end
  37. #endif
  38.  
  39. #ifndef STRICT_OPENSTEP
  40.  
  41. @interface NSFormCell(NSFormCellAttributedStringMethods)
  42. - (NSAttributedString *)attributedTitle;
  43. - (void)setAttributedTitle:(NSAttributedString *)obj;
  44. @end
  45.  
  46. #endif
  47.