home *** CD-ROM | disk | FTP | other *** search
/ Altsys Virtuoso 2.0K / virtuoso_20k.iso / NeXTanswers / OpenStepSpec_rtf / ApplicationKit / Classes / NSActionCell.rtf next >
Encoding:
Text File  |  1994-07-01  |  5.1 KB  |  110 lines

  1. {\rtf0\ansi\paperw16228 \paperh18648 \margl-907 \margr0 \margt0 \margb0 {\fonttbl\f0\fswiss Helvetica;\f1\froman Times;\f2\fmodern Courier;\f3\ftech Symbol;\f4\froman Palatino;}
  2. {\stylesheet{\s0 \li100 \fi0 \ri1007 \ql   1Head;}
  3. {\s1 \li100 \fi0 \ri0 \ql   ChapterNum;}
  4. {\s2 \li0 \fi0 \ri1007 \ql   ChapterTitle;}
  5. {\s3 \li100 \fi0 \ri1007 \ql   ClassName;}
  6. {\s4 \li2872 \fi-2771 \ri1007 \ql \tx2872   ConformsTo;}
  7. {\s5 \li2872 \fi-2771 \ri1007 \ql   DeclaredIn;}
  8. {\s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030   Description;}
  9. {\s7 \li7030 \fi-5796 \ri1007 \ql   DescriptionPart;}
  10. {\s8 \li0 \fi0 \ri0 \ql \tx-25 \tx8290 \tx9172   Footer;}
  11. {\s9 \li2872 \fi-2771 \ri1007 \ql \tx2872   InheritsFrom;}
  12. {\s10 \li100 \fi0 \ri1007 \ql   Summary;}
  13. }
  14. \li0 \fi0 \ri0 \ql \sb0 \f1 \fs24 
  15. (Preliminary Documentation) Copyright \f3 \'e3\f1 1994 by NeXT Computer, Inc.  All Rights Reserved.\
  16. \
  17. \s0 \li100 \fi0 \ri0 \ql \f0 \b \fs84 \fs16 \
  18. \fs84 1\
  19. \fs16 \
  20. \
  21. \
  22. \fs84 \s2 \li0 \fi756 \fi0 \ri1007 \f1 \b0 \i \fs88 \fs16 \fs88 Application Kit\
  23. \fs16 \
  24. \
  25. \
  26. \
  27. \
  28. \
  29. \
  30. \
  31. \fs88 \s0 \li100 \fi-756 \fi0 \f0 \b \i0 \fs52 \fs16 \fs52 Classes\
  32. \fs16 \
  33. \
  34. \fs52 \s3 \fs36 \fs16 \
  35. \
  36. \
  37. \
  38. \
  39. \fs36 NSActionCell \
  40. \pard \s9 \li2872 \fi-2771 \ri1007 \ql \tx2872 \f1 \b0 \fs28 \fs16 \
  41. \
  42. \
  43. \fs28 \f0 \b \fs28 Inherits From:    \b0 \fs28 \f1 NSCell : NSObject \
  44. \fs16 \
  45. \fs28 \s5 \fs16 \fs28 \f0 \b \fs28 Declared In:    \b0 \fs28 \f1 appkit/NSActionCell.h \
  46. \fs16 \
  47. \fs28 \pard \s10 \li100 \fi0 \ri1007 \ql \f0 \b \fs28 \fs16 \
  48. \
  49. \fs28 Configuring an NSActionCell \
  50. \fs16 \
  51. \fs28 \pard \s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b setEnabled:\b0 (BOOL)\i flag\i0     Sets whether the NSActionCell reacts to mouse and keyboard events. \
  52. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setBezeled:\b0 (BOOL)\i flag\i0     Adds or removes the NSActionCell\'27s bezel. \
  53. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setBordered:\b0 (BOOL)\i flag\i0     Adds or removes the NSActionCell\'27s border. \
  54. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setAlignment:\b0 (NSTextAlignment)\i mode\i0     Sets the NSActionCell\'27s text alignment to \i mode\i0 . \
  55. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setFloatingPointFormat:\b0 (BOOL)\i autoRange\i0      \
  56. \fi-6552 \s7 \li7030 \fi-6553 \fi-5796 \b left:\b0 (unsigned int)\i leftDigits\i0     Sets the NSActionCell\'27s floating point format. \
  57. \b right:\b0 (unsigned int)\i rightDigits\
  58. \s6 \li7029 \fi-5794 \fi-6552 \i0 \fi-6552 {\f3 -} (void)\b setFont:\b0 (NSFont *)\i fontObject\i0     Sets the NSActionCell\'27s font to \i fontObject\i0 . \
  59. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setImage:\b0 (NSImage *)\i image\i0     Sets the NSActionCell\'27s icon to \i image.\
  60. \fi-6552 \pard \s10 \li100 \fi0 \ri1007 \ql \f0 \b \i0 \fs16 \
  61. \
  62. \
  63. \fs28 Manipulating NSActionCell Values \
  64. \fs16 \
  65. \fs28 \pard \s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (double)\b doubleValue\b0     Returns the NSActionCell\'27s contents as a \b double\b0 . \
  66. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (float)\b floatValue\b0     Returns the NSActionCell\'27s contents as a \b float\b0 . \
  67. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (int)\b intValue\b0     Returns the NSActionCell\'27s contents as an \b int\b0 . \
  68. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setStringValue:\b0 (NSString *)\i aString\i0     Sets the NSActionCell\'27s contents to a copy of \i aString\i0 . \
  69. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSString *)\b stringValue\b0     Returns the NSActionCell\'27s contents as a string.\
  70. \fi-6552 \pard \s10 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  71. \
  72. \
  73. \fs28 Displaying \
  74. \fs16 \
  75. \fs28 \pard \s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b drawWithFrame:\b0 (NSRect)\i cellFrame\i0     Draws the NSActionCell in the rectangle \i cellFrame\i0  of \
  76. \fi-6552 \s7 \li7030 \fi-6553 \fi-5796 \b inView:\b0 (NSView *)\i controlView\i0         \i controlView\i0 . \
  77. \s6 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (NSControl *)\b controlView\b0     Returns the control in which the NSActionCell was first drawn. \
  78. \fi-6552 \pard \s10 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  79. \
  80. \
  81. \fs28 Target and Action \
  82. \fs16 \
  83. \fs28 \pard \s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b setAction:\b0 (SEL)\i aSelector\i0     Sets the NSActionCell\'27s action method to \i aSelector\i0 . \
  84. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (SEL)\b action\b0     Returns the NSActionCell\'27s action method. \
  85. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b setTarget:\b0 (id)\i anObject\i0     Sets the NSActionCell\'27s target object to \i anObject\i0 . \
  86. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b target\b0     Returns the NSActionCell\'27s target object. \
  87. \fi-6552 \pard \s10 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
  88. \
  89. \
  90. \fs28 Assigning a Tag \
  91. \fs16 \
  92. \fs28 \pard \s6 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b setTag:\b0 (int)\i anInt\i0     Sets the NSActionCell\'27s tag to \i anInt\i0 . \
  93. \fi-6552 \fi-6552 \fi-6552 {\f3 -} (int)\b tag\b0     Returns the NSActionCell\'27s tag. \
  94. \fi-6552 \fi-6552 \fi-6552 \
  95. \fi-6552 \pard \s0 \li100 \fi0 \ri1007 \tx478 \tx856 \tx1234 \fs28 \fs16 \
  96. \
  97. \fs28 \
  98. \fs16 \
  99. \
  100. \fs28 \fs16 \fs28 \
  101. \fs16 \
  102. \
  103. \fs28 \pard \s0 \
  104. \li100 \fi0 \ri1007 \fs16 \
  105. \
  106. \fs28 \
  107. \fs16 \
  108. \
  109. \fs28 }
  110.