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

#import <CPCheckBox.h>

+ Inheritance diagram for CPCheckBox:

Instance Methods

(CPImage- alternateImage
 
(CPImage- image
 
(id) - initWithFrame:
 
(BOOL) - startTrackingAt:
 
(void) - takeStateFromKeyPath:ofObjects:
 
(void) - takeValueFromKeyPath:ofObjects:
 
- Instance Methods inherited from CPButton
(BOOL) - allowsMixedState
 
(CPString- alternateTitle
 
(CGRect) - bezelRectForBounds:
 
(unsigned) - bezelStyle
 
(CGRect) - contentRectForBounds:
 
(CPView- createEphemeralSubviewNamed:
 
(void) - encodeWithCoder:
 
(CPInteger) - highlightsBy
 
(BOOL) - imageDimsWhenDisabled
 
(float) - imageOffset
 
(id) - initWithCoder:
 
(void) - invalidateTimers
 
(BOOL) - isBordered
 
(CPString- keyEquivalent
 
(unsigned) - keyEquivalentModifierMask
 
(void) - layoutSubviews
 
(void) - mouseDown:
 
(CPInteger) - nextState
 
(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) - setObjectValue:
 
(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
 
(BOOL) - sendAction:to:
 
(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

(id) + checkBoxWithTitle:
 
(id) + checkBoxWithTitle:theme:
 
(CPString+ defaultThemeClass
 
- 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 CPCheckBox.h.

Method Documentation

- (CPImage) alternateImage
implementation

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

Reimplemented from CPButton.

Definition at line 101 of file CPCheckBox.j.

+ (id) checkBoxWithTitle: (CPString aTitle
implementation

Definition at line 36 of file CPCheckBox.j.

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

Definition at line 31 of file CPCheckBox.j.

+ (CPString) defaultThemeClass
implementation

Reimplemented from CPButton.

Definition at line 41 of file CPCheckBox.j.

- (CPImage) image
implementation

Reimplemented from CPButton.

Definition at line 96 of file CPCheckBox.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 54 of file CPCheckBox.j.

- (BOOL) startTrackingAt: (CGPoint)  aPoint
implementation

Reimplemented from CPButton.

Definition at line 106 of file CPCheckBox.j.

- (void) takeStateFromKeyPath: (CPString aKeyPath
ofObjects: (CPArray)  objects 
implementation

Definition at line 73 of file CPCheckBox.j.

- (void) takeValueFromKeyPath: (CPString aKeyPath
ofObjects: (CPArray)  objects 
implementation

Definition at line 91 of file CPCheckBox.j.


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