API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPRadio Class Reference

#import <CPRadio.h>

+ Inheritance diagram for CPRadio:

Instance Methods

(CPImage- alternateImage
 
(void) - encodeWithCoder:
 
(CPImage- image
 
(id) - initWithCoder:
 
(id) - initWithFrame:
 
(id) - initWithFrame:radioGroup:
 
(CPInteger) - nextState
 
(CPRadioGroup- radioGroup
 
(BOOL) - sendAction:to:
 
(void) - setObjectValue:
 
(void) - setRadioGroup:
 
(BOOL) - startTrackingAt:
 
- Instance Methods inherited from CPButton
(BOOL) - allowsMixedState
 
(CPString- alternateTitle
 
(CGRect) - bezelRectForBounds:
 
(unsigned) - bezelStyle
 
(CGRect) - contentRectForBounds:
 
(CPView- createEphemeralSubviewNamed:
 
(CPInteger) - highlightsBy
 
(BOOL) - imageDimsWhenDisabled
 
(float) - imageOffset
 
(void) - invalidateTimers
 
(BOOL) - isBordered
 
(CPString- keyEquivalent
 
(unsigned) - keyEquivalentModifierMask
 
(void) - layoutSubviews
 
(void) - mouseDown:
 
(void) - onContinousEvent:
 
(void) - performClick:
 
(BOOL) - performKeyEquivalent:
 
(CGRect) - rectForEphemeralSubviewNamed:
 
(void) - setAllowsMixedState:
 
(void) - setAlternateImage:
 
(void) - setAlternateTitle:
 
(void) - setBezelStyle:
 
(void) - setBordered:
 
(void) - setButtonType:
 
(void) - setHighlightsBy:
 
(void) - setImage:
 
(void) - setImageDimsWhenDisabled:
 
(void) - setImageOffset:
 
(void) - setKeyEquivalent:
 
(void) - setKeyEquivalentModifierMask:
 
(void) - setNextState
 
(void) - setPeriodicDelay:interval:
 
(void) - setShowsStateBy:
 
(void) - setState:
 
(void) - setTitle:
 
(CPInteger) - showsStateBy
 
(void) - sizeToFit
 
(CPInteger) - state
 
(void) - stopTracking:at:mouseIsUp:
 
(CPString- title
 
(void) - viewWillMoveToWindow:
 
- Instance Methods inherited from CPControl
(BOOL) - acceptsFirstMouse:
 
(SEL) - action
 
(CPTextAlignment) - alignment
 
(BOOL) - continueTracking:at:
 
(double) - doubleValue
 
(float) - floatValue
 
(CPFont- font
 
(CPFormatter- formatter
 
(void) - highlight:
 
(CPCellImagePosition) - imagePosition
 
(CPUInteger) - imageScaling
 
(int) - integerValue
 
(int) - intValue
 
(BOOL) - isContinuous
 
(BOOL) - isEnabled
 
(BOOL) - isHighlighted
 
(CPLineBreakMode) - lineBreakMode
 
(unsigned) - mouseDownFlags
 
(void) - mouseEntered:
 
(void) - mouseExited:
 
(id) - objectValue
 
(int) - sendActionOn:
 
(BOOL) - sendsActionOnEndEditing
 
(void) - setAction:
 
(void) - setAlignment:
 
(void) - setContinuous:
 
(void) - setDoubleValue:
 
(void) - setEnabled:
 
(void) - setFloatValue:
 
(void) - setFont:
 
(void) - setFormatter:
 
(void) - setHighlighted:
 
(void) - setImagePosition:
 
(void) - setImageScaling:
 
(void) - setIntegerValue:
 
(void) - setIntValue:
 
(void) - setLineBreakMode:
 
(void) - setSendsActionOnEndEditing:
 
(void) - setStringValue:
 
(void) - setTarget:
 
(void) - setTextColor:
 
(void) - setTextShadowColor:
 
(void) - setTextShadowOffset:
 
(void) - setVerticalAlignment:
 
(CPString- stringValue
 
(void) - takeDoubleValueFrom:
 
(void) - takeFloatValueFrom:
 
(void) - takeIntegerValueFrom:
 
(void) - takeIntValueFrom:
 
(void) - takeObjectValueFrom:
 
(void) - takeStringValueFrom:
 
(id) - target
 
(CPColor- textColor
 
(void) - textDidBeginEditing:
 
(void) - textDidChange:
 
(void) - textDidEndEditing:
 
(CPColor- textShadowColor
 
(CGSize) - textShadowOffset
 
(void) - trackMouse:
 
(BOOL) - tracksMouseOutsideOfFrame
 
(void) - unhighlightButtonTimerDidFinish:
 
(CPTextVerticalAlignment) - verticalAlignment
 

Class Methods

(CPString+ defaultThemeClass
 
(id) + radioWithTitle:
 
(id) + radioWithTitle:theme:
 
(CPButton+ standardButtonWithTitle:
 
- Class Methods inherited from CPButton
(id) + buttonWithTitle:
 
(id) + buttonWithTitle:theme:
 
(CPDictionary+ themeAttributes
 
- Class Methods inherited from CPControl
(void) + initialize
 

Detailed Description

Definition at line 2 of file CPRadio.h.

Method Documentation

- (CPImage) alternateImage
implementation

Returns the image used when the button is in an alternate state.

Reimplemented from CPButton.

Provided by category CPRadio(CPCoding).

Definition at line 188 of file CPRadio.j.

+ (CPString) defaultThemeClass
implementation

Reimplemented from CPButton.

Definition at line 92 of file CPRadio.j.

- (void) encodeWithCoder: (CPCoder aCoder
implementation

Archives this button into the provided coder.

Parameters
aCoderthe coder to which the button's instance data will be written.

Reimplemented from CPButton.

Provided by category CPRadio(CPCoding).

Definition at line 176 of file CPRadio.j.

- (CPImage) image
implementation

Reimplemented from CPButton.

Provided by category CPRadio(CPCoding).

Definition at line 183 of file CPRadio.j.

- (id) initWithCoder: (CPCoder aCoder
implementation

Initializes the button by unarchiving data from aCoder.

Parameters
aCoderthe coder containing the archived CPButton.

Reimplemented from CPButton.

Provided by category CPRadio(CPCoding).

Definition at line 166 of file CPRadio.j.

- (id) initWithFrame: (CGRect)  aFrame
implementation

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 119 of file CPRadio.j.

- (id) initWithFrame: (CGRect)  aFrame
radioGroup: (CPRadioGroup aRadioGroup 
implementation

Definition at line 98 of file CPRadio.j.

- (CPInteger) nextState
implementation

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 124 of file CPRadio.j.

- (CPRadioGroup) radioGroup
implementation

Definition at line 139 of file CPRadio.j.

+ (id) radioWithTitle: (CPString aTitle
implementation

Definition at line 78 of file CPRadio.j.

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

Definition at line 73 of file CPRadio.j.

- (BOOL) sendAction: (SEL)  anAction
to: (id)  anObject 
implementation

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 152 of file CPRadio.j.

- (void) setObjectValue: (id)  anObjectValue
implementation

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 144 of file CPRadio.j.

- (void) setRadioGroup: (CPRadioGroup aRadioGroup
implementation

Definition at line 129 of file CPRadio.j.

+ (CPButton) standardButtonWithTitle: (CPString aTitle
implementation

Definition at line 83 of file CPRadio.j.

- (BOOL) startTrackingAt: (CGPoint)  aPoint
implementation

Reimplemented from CPButton.

Provided by category CPRadio(CPCoding).

Definition at line 193 of file CPRadio.j.


The documentation for this class was generated from the following files: