|
28 | 28 | }
|
29 | 29 |
|
30 | 30 | /*!
|
31 |
| - @brief An internal variable, generally NSOnState, |
32 |
| - NSOffState or NSMixedState. |
| 31 | + @brief An internal variable, generally NSControlStateValueOn, |
| 32 | + NSControlStateValueOff or NSControlStateValueMixed. |
33 | 33 |
|
34 | 34 | @details This is KVO-compliant and is also exposed as a binding.
|
35 | 35 | */
|
36 | 36 | @property (assign) NSInteger value ;
|
37 | 37 |
|
38 | 38 | /*!
|
39 | 39 | @brief The image that will be displayed when the receiver's value is
|
40 |
| - NSOnState. |
| 40 | + NSControlStateValueOn. |
41 | 41 | */
|
42 | 42 | @property (retain) NSImage* onImage ;
|
43 | 43 |
|
44 | 44 | /*!
|
45 | 45 | @brief The image that will be displayed when the receiver's value is
|
46 |
| - NSOnState. |
| 46 | + NSControlStateValueOn. |
47 | 47 | */
|
48 | 48 | @property (retain) NSImage* offImage ;
|
49 | 49 |
|
50 | 50 | /*!
|
51 | 51 | @brief The image that will be displayed when the receiver's value is
|
52 |
| - NSMixedState. |
| 52 | + NSControlStateValueMixed. |
53 | 53 | */
|
54 | 54 | @property (retain) NSImage* disImage ;
|
55 | 55 |
|
|
61 | 61 |
|
62 | 62 | /*!
|
63 | 63 | @brief The string that will be displayed under the button
|
64 |
| - when the receiver's value is set to NSOnState. This value |
| 64 | + when the receiver's value is set to NSControlStateValueOn. This value |
65 | 65 | defaults to nil, and if it is nil when the receiver's value
|
66 | 66 | is changed to this state, the label does not change. Thus,
|
67 | 67 | for a fixed, constant label, use super's -setLabel:
|
|
70 | 70 |
|
71 | 71 | /*!
|
72 | 72 | @brief The string that will be displayed under the button
|
73 |
| - when the receiver's value is set to NSOnState. This value |
| 73 | + when the receiver's value is set to NSControlStateValueOn. This value |
74 | 74 | defaults to nil, and if it is nil when the receiver's value
|
75 | 75 | is changed to this state, the label does not change. Thus,
|
76 | 76 | for a fixed, constant label, use super's -setLabel:
|
|
80 | 80 |
|
81 | 81 | /*!
|
82 | 82 | @brief The string that will be displayed under the button
|
83 |
| - when the receiver's value is set to NSMixedState. This value |
| 83 | + when the receiver's value is set to NSControlStateValueMixed. This value |
84 | 84 | defaults to nil, and if it is nil when the receiver's value
|
85 | 85 | is changed to this state, the label does not change. Thus,
|
86 | 86 | for a fixed, constant label, use super's -setLabel:
|
|
90 | 90 |
|
91 | 91 | /*!
|
92 | 92 | @brief The receiver's toolTip
|
93 |
| - when the receiver's value is set to NSOnState. This value |
| 93 | + when the receiver's value is set to NSControlStateValueOn. This value |
94 | 94 | defaults to nil, and if it is nil when the receiver's value
|
95 | 95 | is changed to this state, the label does not change. Thus,
|
96 | 96 | for a fixed, constant toolTip, use super's -setToolTip:
|
|
99 | 99 |
|
100 | 100 | /*!
|
101 | 101 | @brief The receiver's toolTip
|
102 |
| - when the receiver's value is set to NSOnState. This value |
| 102 | + when the receiver's value is set to NSControlStateValueOn. This value |
103 | 103 | defaults to nil, and if it is nil when the receiver's value
|
104 | 104 | is changed to this state, the label does not change. Thus,
|
105 | 105 | for a fixed, constant toolTip, use super's -setToolTip:
|
|
108 | 108 |
|
109 | 109 | /*!
|
110 | 110 | @brief The receiver's toolTip
|
111 |
| - when the receiver's value is set to NSMixedState. This value |
| 111 | + when the receiver's value is set to NSControlStateValueMixed. This value |
112 | 112 | defaults to nil, and if it is nil when the receiver's value
|
113 | 113 | is changed to this state, the label does not change. Thus,
|
114 | 114 | for a fixed, constant toolTip, use super's -setToolTip:
|
|
0 commit comments