home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / TextField.h < prev    next >
Text File  |  1992-03-25  |  2KB  |  80 lines

  1. /*
  2.     TextField.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Control.h"
  8.  
  9. @interface TextField : Control
  10. {
  11.     id                  nextText;
  12.     id                  previousText;
  13.     id                  textDelegate;
  14.     SEL                 errorAction;
  15.     unsigned int        _reservedTFint1;
  16. }
  17.  
  18. + setCellClass:factoryId;
  19.  
  20. - initFrame:(const NXRect *)frameRect;
  21.  
  22. - sizeTo:(float)width :(float)height;
  23. - setBackgroundGray:(float)value;
  24. - (float)backgroundGray;
  25. - setTextGray:(float)value;
  26. - (float)textGray;
  27. - setBackgroundColor:(NXColor)color;
  28. - (NXColor)backgroundColorUEVsetBackgroundTransparent:(BOOL)flag;
  29. - (BOOL)isBackgroundTransparent;
  30. - setTextColor:(NXColor)color;
  31. - (NXColor)textColor;
  32. - drawCellInside:aCell;
  33. - setEnabled:(BOOL)flag;
  34. - (BOOL)isBordered;
  35. - setBordered:(BOOL)flag;
  36. - (BOOL)isBezeled;
  37. - setBezeled:(BOOL)flag;
  38. - (BOOL)isEditable;
  39. - setEditable:(BOOL)flag;
  40. - (BOOL)isSelectable;
  41. - setSelectable:(BOOL)flag;
  42. - setPreviousText:anObject;
  43. - previousText;
  44. - setNextText:anObject;
  45. - nextText;
  46. - mouseDown:(NXEvent *)theEvent;
  47. - (SEL)errorAction;
  48. - setErrorAction:(SEL)aSelector;
  49. - selectText:sender;
  50. - textDelegate;
  51. - setTextDelegate:anObject;
  52. - (BOOL)textWillEnd:textObject;
  53. - textDidEnd:textObject endChar:(unsigned short)whyEnd;
  54. - (BOOL)textWillChange:textObject;
  55. - textDidChange:textObject;
  56. - textDidGetKeys:textObject isEmpty:(BOOL)flag;
  57. - (BOOL)acceptsFirstResponder;
  58. - write:(NXTypedStream *)stream;
  59. - read:(NXTypedStream *)stream;
  60.  
  61. /* 
  62.  * The following new... methods are now obsolete.  They remain in this  
  63.  * interface file for backward compatibility only.  Use Object's alloc method  
  64.  * and the init... methods defined in this class instead.
  65.  */
  66. + newFrame:(const NXRect *)frameRect;
  67.  
  68. @end
  69.  
  70. #ifdef KANJI
  71. @interface TextField(InputManager)
  72. - setIMEnabled:(BOOL)flag;
  73. - (BOOL)isIMEnabled;
  74. @end
  75.  
  76. @interface TextField(IMSupportDelegate)
  77. - (BOOL)textUsesIM:sender;
  78. @end
  79. #endif
  80.