home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSFormCell.h < prev    next >
Text File  |  1996-10-28  |  939b  |  46 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.  
  30. @end
  31.  
  32. #ifndef STRICT_OPENSTEP
  33. @interface NSFormCell(NSKeyboardUI)
  34. - (void)setTitleWithMnemonic:(NSString *)stringWithAmpersand;
  35. @end
  36. #endif
  37.  
  38. #ifndef STRICT_OPENSTEP
  39.  
  40. @interface NSFormCell(NSFormCellAttributedStringMethods)
  41. - (NSAttributedString *)attributedTitle;
  42. - (void)setAttributedTitle:(NSAttributedString *)obj;
  43. @end
  44.  
  45. #endif
  46.