home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / FormCell.h < prev    next >
Text File  |  1992-05-14  |  1KB  |  50 lines

  1. /*
  2.     FormCell.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "ActionCell.h"
  8.  
  9. @interface FormCell : ActionCell
  10. {
  11.     NXCoord             titleWidth;
  12.     id                  titleCell;
  13.     NXCoord             titleEndPoint;
  14.     unsigned int        _reservedFCint1;
  15. }
  16.  
  17. - init;
  18. - initTextCell:(const char *)aString;
  19.  
  20. - free;
  21. - copyFromZone:(NXZone *)zone;
  22. - (NXCoord)titleWidth:(const NXSize *)aSize;
  23. - (NXCoord)titleWidth;
  24. - setTitleWidth:(NXCoord)width;
  25. - (const char *)title;
  26. - setTitle:(const char *)aString;
  27. - titleFont;
  28. - setTitleFont:fontObj;
  29. - (int)titleAlignment;
  30. - setTitleAlignment:(int)mode;
  31. - setEnabled:(BOOL)flUE    - (BOOL)isOpaque;
  32. - calcCellSize:(NXSize *)theSize inRect:(const NXRect *)aRect;
  33. - drawInside:(const NXRect *)cellFrame inView:controlView;
  34. - drawSelf:(const NXRect *)cellFrame inView:controlView;
  35. - (BOOL)trackMouse:(NXEvent*)event inRect:(const NXRect*)aRect ofView:controlView;
  36. - resetCursorRect:(const NXRect *)visibleCellFrame inView:controlView;
  37. - write:(NXTypedStream *)stream;
  38. - read:(NXTypedStream *)stream;
  39.  
  40. /* 
  41.  * The following new... methods are now obsolete.  They remain in this  
  42.  * interface file for backward compatibility only.  Use Object's alloc method  
  43.  * and the init... methods defined in this class instead.
  44.  */
  45. + new;
  46. + newTextCell;
  47. + newTextCell:(const char *)aString;
  48.  
  49. @end
  50.