![]() |
API
0.9.6
|
#import <CPStepper.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(CPStepper) | + stepper |
(CPStepper) | + stepperWithInitialValue:minValue:maxValue: |
(id) | + themeAttributes |
![]() | |
(void) | + initialize |
![]() | |
(CPMenu) | + defaultMenu |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
CPStepper is an implementation of Cocoa NSStepper.
This control displays a two part button that can be used to increase or decrease a value with a given interval.
Definition at line 2 of file CPStepper.h.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 346 of file CPStepper.j.
|
implementation |
Reimplemented from CPView.
Definition at line 252 of file CPStepper.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPControl.
Provided by category CPStepper(CPCoding).
Definition at line 307 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 354 of file CPStepper.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPControl.
Provided by category CPStepper(CPCoding).
Definition at line 291 of file CPStepper.j.
|
implementation |
Initializes a CPStepper.
aFrame | the frame of the control |
Reimplemented from CPControl.
Definition at line 97 of file CPStepper.j.
|
implementation |
Reimplemented from CPView.
Definition at line 166 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 370 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 386 of file CPStepper.j.
|
implementation |
Perform a programatic click on down button.
aSender | sender of the action |
Definition at line 243 of file CPStepper.j.
|
implementation |
Perform a programatic click on up button.
aSender | sender of the action |
Definition at line 234 of file CPStepper.j.
|
implementation |
Set if CPStepper should autorepeat.
shouldAutoRepeat | if YES, the first mouse down does one increment (decrement) and, after each delay of 0.5 seconds |
Definition at line 188 of file CPStepper.j.
|
implementation |
Set the current value of the stepper.
aValue | a float containing the value |
Definition at line 203 of file CPStepper.j.
|
implementation |
Set if the CPStepper is enabled or not.
shouldEnabled | BOOL that define if stepper is enabled or not. |
Reimplemented from CPControl.
Definition at line 144 of file CPStepper.j.
|
implementation |
Sets the frame size of the receiver to the dimensions and origin of the provided rectangle in the coordinate system of the superview. The method also posts a CPViewFrameDidChangeNotification to the notification center if the receiver is configured to do so. If the frame is the same as the current frame, the method simply returns (and no notification is posted).
aFrame | the rectangle specifying the new origin and size of the receiver |
Reimplemented from CPView.
Definition at line 153 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 362 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 378 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 394 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 338 of file CPStepper.j.
|
implementation |
Initializes a CPStepper with default values:
Definition at line 71 of file CPStepper.j.
|
implementation |
Initializes a CPStepper with given values.
aValue | the initial value of the CPStepper |
minValue | the minimal acceptable value of the stepper |
maxValue | the maximal acceptable value of the stepper |
Definition at line 53 of file CPStepper.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 257 of file CPStepper.j.
|
implementation |
Synthesized accessor method.
Provided by category CPStepper(CPSynthesizedAccessors).
Definition at line 330 of file CPStepper.j.