API 0.9.5
CPSlider Class Reference

#import <CPSlider.h>

Inheritance diagram for CPSlider:

List of all members.

Instance Methods

(float) - altIncrementValue
(BOOL) - continueTracking:at:
(CPView- createEphemeralSubviewNamed:
(void) - encodeWithCoder:
(id) - initWithCoder:
(id) - initWithFrame:
(BOOL) - isContinuous
(int) - isVertical
(CGRect) - knobRectForBounds:
(void) - layoutSubviews
(float) - maxValue
(float) - minValue
(CGRect) - rectForEphemeralSubviewNamed:
(void) - setAltIncrementValue:
(void) - setContinuous:
(void) - setFrameSize:
(void) - setMaxValue:
(void) - setMinValue:
(void) - setObjectValue:
(void) - setSliderType:
(void) - setValue:
(CPSliderType) - sliderType
(BOOL) - startTrackingAt:
(void) - stopTracking:at:mouseIsUp:
(void) - takeValueFromKeyPath:ofObjects:
(CGRect) - trackRectForBounds:
(BOOL) - tracksMouseOutsideOfFrame
(id) - value

Class Methods

(CPString+ defaultThemeClass
(id) + themeAttributes

Detailed Description

Definition at line 2 of file CPSlider.h.


Method Documentation

- (float) altIncrementValue

Definition at line 240 of file CPSlider.j.

- (BOOL) continueTracking: (CGPoint)  lastPoint
at: (CGPoint)  aPoint 

Reimplemented from CPControl.

Definition at line 366 of file CPSlider.j.

- (CPView) createEphemeralSubviewNamed: (CPString aName

Reimplemented from CPView.

Definition at line 221 of file CPSlider.j.

+ (CPString) defaultThemeClass

Reimplemented from CPView.

Definition at line 43 of file CPSlider.j.

- (void) encodeWithCoder: (CPCoder aCoder

Archives the view to a coder.

Parameters:
aCoderthe object into which the view's data will be archived.

Reimplemented from CPControl.

Definition at line 441 of file CPSlider.j.

- (id) initWithCoder: (CPCoder aCoder

Initializes the view from an archive.

Parameters:
aCoderthe coder from which to initialize
Returns:
the initialized view

Reimplemented from CPControl.

Definition at line 421 of file CPSlider.j.

- (id) initWithFrame: (CGRect)  aFrame

Initializes the receiver for usage with the specified bounding rectangle

Returns:
the initialized view

Reimplemented from CPControl.

Definition at line 54 of file CPSlider.j.

- (BOOL) isContinuous

Returns whether the control can continuously send its action messages.

Reimplemented from CPControl.

Definition at line 384 of file CPSlider.j.

- (int) isVertical

Definition at line 266 of file CPSlider.j.

- (CGRect) knobRectForBounds: (CGRect)  bounds

Definition at line 174 of file CPSlider.j.

- (void) layoutSubviews

Reimplemented from CPView.

Definition at line 271 of file CPSlider.j.

- (float) maxValue

Definition at line 112 of file CPSlider.j.

- (float) minValue

Definition at line 90 of file CPSlider.j.

- (CGRect) rectForEphemeralSubviewNamed: (CPString aName

Reimplemented from CPView.

Definition at line 210 of file CPSlider.j.

- (void) setAltIncrementValue: (float)  anAltIncrementValue

Definition at line 235 of file CPSlider.j.

- (void) setContinuous: (BOOL)  flag

should we have _continuous?

Reimplemented from CPControl.

Definition at line 393 of file CPSlider.j.

- (void) setFrameSize: (CGSize)  aSize

Sets the receiver's frame size. If aSize is the same as the frame's current dimensions, this method simply returns. The method posts a CPViewFrameDidChangeNotification to the default notification center if the receiver is configured to do so.

Parameters:
aSizethe new size for the frame

Reimplemented from CPView.

Definition at line 245 of file CPSlider.j.

- (void) setMaxValue: (float)  aMaximumValue

Definition at line 95 of file CPSlider.j.

- (void) setMinValue: (float)  aMinimumValue

Definition at line 73 of file CPSlider.j.

- (void) setObjectValue: (id)  anObject

Sets the receiver's object value.

Reimplemented from CPControl.

Definition at line 117 of file CPSlider.j.

- (void) setSliderType: (CPSliderType)  aSliderType

Definition at line 125 of file CPSlider.j.

- (void) setValue: (id)  aValue

Definition at line 461 of file CPSlider.j.

- (CPSliderType) sliderType

Definition at line 133 of file CPSlider.j.

- (BOOL) startTrackingAt: (CGPoint)  aPoint

Reimplemented from CPControl.

Definition at line 336 of file CPSlider.j.

- (void) stopTracking: (CGPoint)  lastPoint
at: (CGPoint)  aPoint
mouseIsUp: (BOOL)  mouseIsUp 

Reimplemented from CPControl.

Definition at line 373 of file CPSlider.j.

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

Definition at line 401 of file CPSlider.j.

+ (id) themeAttributes

Reimplemented from CPControl.

Definition at line 48 of file CPSlider.j.

- (CGRect) trackRectForBounds: (CGRect)  bounds

Definition at line 138 of file CPSlider.j.

- (BOOL) tracksMouseOutsideOfFrame

Returns YES if the receiver tracks the mouse outside the frame, otherwise NO.

Reimplemented from CPControl.

Definition at line 288 of file CPSlider.j.

- (id) value

Definition at line 454 of file CPSlider.j.


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