CPSlider Class Reference

List of all members.

Public Member Functions

(id) - initWithFrame: [implementation]
(void) - setFrameSize: [implementation]
(double) - altIncrementValue [implementation]
(void) - setAltIncrementValue: [implementation]
(BOOL) - isContinuous [implementation]
(void) - setContinuous: [implementation]
(float) - knobThickness [implementation]
(CPImage- leftTrackImage [implementation]
(CPImage- rightTrackImage [implementation]
(CPImage- centerTrackImage [implementation]
(CPImage- knobImage [implementation]
(CPImage- pushedKnobImage [implementation]
(CPView- knob [implementation]
(CPView- bar [implementation]
(BOOL) - isVertical [implementation]
(double) - maxValue [implementation]
(double) - minValue [implementation]
(void) - setMaxValue: [implementation]
(void) - setMinValue: [implementation]
(void) - setValue: [implementation]
(double) - value [implementation]
(void) - setObjectValue: [implementation]
(CGPoint) - knobPosition [implementation]
(float) - valueForKnobPosition: [implementation]
(CGPoint) - constrainKnobPosition: [implementation]
(void) - mouseUp: [implementation]
(void) - mouseDown: [implementation]
(void) - mouseDragged: [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]

Static Public Member Functions

(void) + initialize [implementation]


Detailed Description

An CPSlider displays, and allows control of, some value in the application. It represents a continuous stream of values of type float, which can be retrieved by the method floatValue and set by the method setFloatValue:.

Definition at line 35 of file CPSlider.j.


Member Function Documentation

- (double) altIncrementValue   [implementation]

Returns the value by which the slider will be incremented if the user holds down the ALTs key.

Definition at line 126 of file CPSlider.j.

- (CPView) bar   [implementation]

Returns the slider's bar.

Definition at line 228 of file CPSlider.j.

- (CPImage) centerTrackImage   [implementation]

Definition at line 186 of file CPSlider.j.

- (CGPoint) constrainKnobPosition: (CGPoint)  aPoint   [implementation]

Definition at line 352 of file CPSlider.j.

- (void) encodeWithCoder: (CPCoder aCoder   [implementation]

Writes out the slider's instance information to a coder.

Parameters:
aCoder the coder to which to write the data

Definition at line 438 of file CPSlider.j.

+ (void) initialize   [implementation]

Definition at line 53 of file CPSlider.j.

- (id) initWithCoder: (CPCoder aCoder   [implementation]

Initializes the slider from the data in a coder.

Parameters:
aCoder the coder from which to read the data
Returns:
the initialized slider

Definition at line 409 of file CPSlider.j.

- (id) initWithFrame: (CGRect)  aFrame   [implementation]

Definition at line 67 of file CPSlider.j.

- (BOOL) isContinuous   [implementation]

Returns whether the control can continuously send its action messages.

Definition at line 142 of file CPSlider.j.

- (BOOL) isVertical   [implementation]

Returns YES if the slider is vertical.

Definition at line 256 of file CPSlider.j.

- (CPView) knob   [implementation]

Returns the slider's knob.

Definition at line 210 of file CPSlider.j.

- (CPImage) knobImage   [implementation]

Definition at line 194 of file CPSlider.j.

- (CGPoint) knobPosition   [implementation]

Definition at line 331 of file CPSlider.j.

- (float) knobThickness   [implementation]

Returns the thickness of the slider's knob. This value is in pixels, and is the size of the knob along the slider's track.

Definition at line 162 of file CPSlider.j.

- (CPImage) leftTrackImage   [implementation]

Definition at line 170 of file CPSlider.j.

- (double) maxValue   [implementation]

Returns the slider's maximum value

Definition at line 269 of file CPSlider.j.

- (double) minValue   [implementation]

Returns the slider's minimum value

Definition at line 277 of file CPSlider.j.

- (void) mouseDown: (CPEvent anEvent   [implementation]

Definition at line 371 of file CPSlider.j.

- (void) mouseDragged: (CPEvent anEvent   [implementation]

Definition at line 384 of file CPSlider.j.

- (void) mouseUp: (CPEvent anEvent   [implementation]

Definition at line 359 of file CPSlider.j.

- (CPImage) pushedKnobImage   [implementation]

Definition at line 202 of file CPSlider.j.

- (CPImage) rightTrackImage   [implementation]

Definition at line 178 of file CPSlider.j.

- (void) setAltIncrementValue: (double)  anIncrementValue   [implementation]

Sets the value the slider will be incremented if the user holds the ALT key.

Definition at line 134 of file CPSlider.j.

- (void) setContinuous: (BOOL)  flag   [implementation]

Sets whether the cell can continuously send its action messages.

Definition at line 150 of file CPSlider.j.

- (void) setFrameSize: (CGSize)  aSize   [implementation]

Definition at line 93 of file CPSlider.j.

- (void) setMaxValue: (double)  aMaxValue   [implementation]

Sets the slider's maximum value

Parameters:
aMaxValue the new maximum value

Definition at line 286 of file CPSlider.j.

- (void) setMinValue: (double)  aMinValue   [implementation]

Sets the slider's minimum value

Parameters:
aMinValue the new minimum value

Definition at line 295 of file CPSlider.j.

- (void) setObjectValue: (id)  anObject   [implementation]

Definition at line 319 of file CPSlider.j.

- (void) setValue: (double)  aValue   [implementation]

Sets the slider's value

Parameters:
aValue the new slider value
Deprecated:
Use setFloatValue, setObjectValue, etc

Definition at line 305 of file CPSlider.j.

- (double) value   [implementation]

Returns the slider's value

Deprecated:
Use floatValue, objectValue, etc

Definition at line 314 of file CPSlider.j.

- (float) valueForKnobPosition: (CGPoint)  aPoint   [implementation]

Definition at line 344 of file CPSlider.j.


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

Generated on Thu Dec 11 01:55:51 2008 for Cappuccino by  doxygen 1.5.7.1