API 0.9.5
CPRadio Class Reference

#import <CPRadio.h>

Inheritance diagram for CPRadio:

List of all members.

Instance Methods

(void) - encodeWithCoder:
(id) - initWithCoder:
(id) - initWithFrame:
(id) - initWithFrame:radioGroup:
(CPInteger) - nextState
(CPRadioGroup- radioGroup
(void) - sendAction:to:
(void) - setObjectValue:
(void) - setRadioGroup:

Class Methods

(CPString+ defaultThemeClass
(id) + radioWithTitle:
(id) + radioWithTitle:theme:
(CPButton+ standardButtonWithTitle:

Detailed Description

Definition at line 2 of file CPRadio.h.


Method Documentation

+ (CPString) defaultThemeClass

Reimplemented from CPButton.

Definition at line 90 of file CPRadio.j.

- (void) encodeWithCoder: (CPCoder aCoder

Archives this button into the provided coder.

Parameters:
aCoderthe 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:
aCoderthe 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:
aFrameThe 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 

Definition at line 96 of file CPRadio.j.

- (CPInteger) nextState

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.

- (CPRadioGroup) radioGroup

Definition at line 137 of file CPRadio.j.

+ (id) radioWithTitle: (CPString aTitle

Definition at line 76 of file CPRadio.j.

+ (id) radioWithTitle: (CPString aTitle
theme: (CPTheme aTheme 

Definition at line 71 of file CPRadio.j.

- (void) sendAction: (SEL)  anAction
to: (id)  anObject 

Causes anAction to be sent to anObject.

Parameters:
anActionthe action to send
anObjectthe 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:
anObjectValueThe value of the button interpreted as an Objective-J object.

Reimplemented from CPButton.

Definition at line 142 of file CPRadio.j.

- (void) setRadioGroup: (CPRadioGroup aRadioGroup

Definition at line 127 of file CPRadio.j.

+ (CPButton) standardButtonWithTitle: (CPString aTitle

Definition at line 81 of file CPRadio.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines