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

  1. /*
  2.     TextFieldCell.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. #import "color.h"
  9.  
  10. @interface TextFieldCell : ActionCell
  11. {
  12.     float               backgroundGray;
  13.     float               textGray;
  14.     void            *_private;
  15. }
  16.  
  17. - init;
  18. - initTextCell:(const char *)aString;
  19.  
  20. - copyFromZone:(NXZone *)zone;
  21. - (BOOL)isOpaque;
  22. - (float)backgroundGray;
  23. - setBezeled:(BOOL)flag;
  24. - setBackgroundGray:(float)value;
  25. - (float)textGray;
  26. - setTextGray:(float)value;
  27. - setBackgroundColor:(NXColor)color;
  28. - (NXColor)backgroundColor;
  29. - setBackgroundTransparent:(BOOL)flag;
  30. - (BOOL)isBackgroundTransparent;
  31. - setTextColor:(NXColor)color;
  32. - (NXColor)textColor;
  33. - drawSelf:(const NXRect *)cellFrame inView:controlView;
  34. - drawInside:(const NXRect *)cellFrame inView:controlView;
  35. - setTextAttributes:textObj;
  36. - (BOOL)trackMouse:(NXEvent *)event inRect:(const NXRect *)aRect ofVieUEWntrolView;
  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.