home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / Form.h < prev    next >
Text File  |  1990-10-15  |  2KB  |  59 lines

  1. /*
  2.     Form.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Matrix.h"
  8.  
  9. @interface  Form : Matrix
  10. {
  11. }
  12.  
  13. + setCellClass:factoryId;
  14.  
  15. - initFrame:(const NXRect *)frameRect;
  16.  
  17. - calcSize;
  18. - sizeTo:(NXCoord)width :(NXCoord)height;
  19. - sizeToFit;
  20. - (int)selectedIndex;
  21. - setEntryWidth:(NXCoord)width;
  22. - setInterline:(NXCoord)spaciUE- setBordered:(BOOL)flag;
  23. - setBezeled:(BOOL)flag;
  24. - setTitleAlignment:(int)mode;
  25. - setTextAlignment:(int)mode;
  26. - setFont:fontObj;
  27. - setTitleFont:fontObj;
  28. - setTextFont:fontObj;
  29. - drawCellAt:(int)index;
  30. - (const char *)titleAt:(int)index;
  31. - setTitle:(const char *)aString at:(int)index;
  32. - addEntry:(const char *)title;
  33. - addEntry:(const char *)title tag:(int)anInt target:anObject action:(SEL)aSelector;
  34. - insertEntry:(const char *)title at:(int)index;
  35. - insertEntry:(const char *)title at:(int)index tag:(int)anInt target:anObject action:(SEL)aSelector;
  36. - removeEntryAt:(int)index;
  37. - setTag:(int)anInt at:(int)index;
  38. - setTarget:anObject at:(int)index;
  39. - setAction:(SEL)aSelector at:(int)index;
  40. - (int)findIndexWithTag:(int)aTag;
  41. - (const char *)stringValueAt:(int)index;
  42. - setStringValue:(const char *)aString at:(int)index;
  43. - (int)intValueAt:(int)index;
  44. - setIntValue:(int)anInt at:(int)index;
  45. - (float)floatValueAt:(int)index;
  46. - setFloatValue:(float)aFloat at:(int)index;
  47. - (double)doubleValueAt:(int)index;
  48. - setDoubleValue:(double)aDouble at:(int)index;
  49. - selectTextAt:(int)index;
  50.  
  51. /* 
  52.  * The following new... methods are now obsolete.  They remain in this  
  53.  * interface file for backward compatibility only.  Use Object's alloc method  
  54.  * and the init... methods defined in this class instead.
  55.  */
  56. + newFrame:(const NXRect *)frameRect;
  57.  
  58. @end
  59.