home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks2 / AppKit.framework / Headers / NSTextField.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-29  |  1.6 KB  |  72 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 "NSControl.h"
  8.  
  9. @interface NSTextField : NSControl
  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:(NSRect)frameRect;
  21.  
  22. - setFrameSize:(NSSize)_newSize;
  23. - setBackgroundGray:(float)value;
  24. - (float)backgroundGray;
  25. - setTextGray:(float)value;
  26. - (float)textGray;
  27. - setBackgroundColor:(NXColor)color;
  28. - (NXColor)backgroundColor;
  29. - setBackgroundTransparent:(BOOL)flag;
  30. - (BOOL)isBackgroundTransparent;
  31. - setTextColor:(NXColor)color;
  32. - (NXColor)textColor;
  33. - drawCellInside:aCell;
  34. - setEnabled:(BOOL)flag;
  35. - (BOOL)isBordered;
  36. - setBordered:(BOOL)flag;
  37. - (BOOL)isBezeled;
  38. - setBezeled:(BOOL)flag;
  39. - (BOOL)isEditable;
  40. - setEditable:(BOOL)flag;
  41. - (BOOL)isSelectable;
  42. - setSelectable:(BOOL)flag;
  43. - setPreviousText:anObject;
  44. - previousText;
  45. - setNextText:anObject;
  46. - nextText;
  47. - mouseDown:(NXEvent *)theEvent;
  48. - (SEL)errorAction;
  49. - setErrorAction:(SEL)aSelector;
  50. - selectText:sender;
  51. - textDelegate;
  52. - setTextDelegate:anObject;
  53. - (BOOL)textShouldEndEditing:textObject;
  54. - textDidEnd:textObject endChar:(unsigned short)whyEnd;
  55. - (BOOL)textShouldBeginEditing:textObject;
  56. - textDidChange:textObject;
  57. - textDidGetKeys:textObject isEmpty:(BOOL)flag;
  58. - (BOOL)acceptsFirstResponder;
  59.  
  60. @end
  61.  
  62. #ifdef KANJI
  63. @interface NSTextField(InputManager)
  64. - setIMEnabled:(BOOL)flag;
  65. - (BOOL)isIMEnabled;
  66. @end
  67.  
  68. @interface NSTextField(IMSupportDelegate)
  69. - (BOOL)textUsesIM:sender;
  70. @end
  71. #endif
  72.