#import <CPRadio.h>
List of all members.
Detailed Description
Definition at line 2 of file CPRadio.h.
Method Documentation
- (void) encodeWithCoder: |
|
(CPCoder) |
aCoder |
|
Archives this button into the provided coder.
- Parameters:
-
aCoder | the coder to which the button's instance data will be written. |
Reimplemented from CPButton.
Definition at line 174 of file CPRadio.j.
- (id) initWithCoder: |
|
(CPCoder) |
aCoder |
|
Initializes the button by unarchiving data from aCoder
.
- Parameters:
-
aCoder | the coder containing the archived CPButton. |
Reimplemented from CPButton.
Definition at line 164 of file CPRadio.j.
- (id) initWithFrame: |
|
(CGRect) |
aFrame |
|
Initializes and returns a newly allocated CPButton object with a specified frame rectangle.
- Parameters:
-
aFrame | The frame rectangle for the created button object. |
- Returns:
- An initialized CPView object or nil if the object couldn't be created.
Reimplemented from CPButton.
Definition at line 117 of file CPRadio.j.
- (id) initWithFrame: |
|
(CGRect) |
aFrame |
radioGroup: |
|
(CPRadioGroup) |
aRadioGroup |
|
|
| |
Returns the button's next state.
- Returns:
- The button's state. A button can have two or three states. If it has two, this value is either
CPOffState
(the normal or unpressed state) or CPOnState
(the alternate or pressed state). If it has three, this value can be CPOnState
(the feature is in effect everywhere), CPOffState
(the feature is in effect nowhere), or CPMixedState
(the feature is in effect somewhere).
Reimplemented from CPButton.
Definition at line 122 of file CPRadio.j.
+ (id) radioWithTitle: |
|
(CPString) |
aTitle |
|
- (void) sendAction: |
|
(SEL) |
anAction |
to: |
|
(id) |
anObject |
|
|
| |
Causes anAction
to be sent to anObject
.
- Parameters:
-
anAction | the action to send |
anObject | the object to which the action will be sent |
Reimplemented from CPControl.
Definition at line 150 of file CPRadio.j.
- (void) setObjectValue: |
|
(id) |
anObjectValue |
|
Sets the value of the button using an Objective-J object.
- Parameters:
-
anObjectValue | The value of the button interpreted as an Objective-J object. |
Reimplemented from CPButton.
Definition at line 142 of file CPRadio.j.
The documentation for this class was generated from the following files: