Public Member Functions | |
(BOOL _sendsActionOnEndEditing) | - accessors [implementation] |
(SEL) | - action [implementation] |
(id) | - alignment [implementation] |
(BOOL) | - continueTracking:at: [implementation] |
(double) | - doubleValue [implementation] |
(void) | - encodeWithCoder: [implementation] |
(float) | - floatValue [implementation] |
(id) | - font [implementation] |
(void) | - highlight: [implementation] |
(id) | - imagePosition [implementation] |
(id) | - imageScaling [implementation] |
(id) | - initWithCoder: [implementation] |
(id) | - initWithFrame: [implementation] |
(int) | - integerValue [implementation] |
(int) | - intValue [implementation] |
(BOOL) | - isContinuous [implementation] |
(BOOL) | - isEnabled [implementation] |
(BOOL) | - isHighlighted [implementation] |
(id) | - lineBreakMode [implementation] |
(void) | - mouseDown: [implementation] |
(unsigned) | - mouseDownFlags [implementation] |
(int) | - nextState [implementation] |
(id) | - objectValue [implementation] |
(void) | - performClick: [implementation] |
(void) | - sendAction:to: [implementation] |
(int) | - sendActionOn: [implementation] |
(void) | - setAction: [implementation] |
(void) | - setAlignment: [implementation] |
(void) | - setContinuous: [implementation] |
(void) | - setDoubleValue: [implementation] |
(void) | - setEnabled: [implementation] |
(void) | - setFloatValue: [implementation] |
(void) | - setFont: [implementation] |
(void) | - setHighlighted: [implementation] |
(void) | - setImagePosition: [implementation] |
(void) | - setImageScaling: [implementation] |
(void) | - setIntegerValue: [implementation] |
(void) | - setIntValue: [implementation] |
(void) | - setLineBreakMode: [implementation] |
(void) | - setObjectValue: [implementation] |
(void) | - setState: [implementation] |
(void) | - setStringValue: [implementation] |
(void) | - setTarget: [implementation] |
(void) | - setTextColor: [implementation] |
(void) | - setTextShadowColor: [implementation] |
(void) | - setTextShadowOffset: [implementation] |
(void) | - setVerticalAlignment: [implementation] |
(BOOL) | - startTrackingAt: [implementation] |
(void) | - stopTracking:at:mouseIsUp: [implementation] |
(CPString) | - stringValue [implementation] |
(void) | - takeDoubleValueFrom: [implementation] |
(void) | - takeFloatValueFrom: [implementation] |
(void) | - takeIntegerValueFrom: [implementation] |
(void) | - takeIntValueFrom: [implementation] |
(void) | - takeObjectValueFrom: [implementation] |
(void) | - takeStringValueFrom: [implementation] |
(id) | - target [implementation] |
(id) | - textColor [implementation] |
(void) | - textDidBeginEditing: [implementation] |
(void) | - textDidChange: [implementation] |
(void) | - textDidEndEditing: [implementation] |
(id) | - textShadowColor [implementation] |
(id) | - textShadowOffset [implementation] |
(void) | - trackMouse: [implementation] |
(BOOL) | - tracksMouseOutsideOfFrame [implementation] |
(void) | - unhighlightButtonTimerDidFinish: [implementation] |
(id) | - verticalAlignment [implementation] |
Static Public Member Functions | |
(CPDictionary) | + themeAttributes [implementation] |
CPControl is an abstract superclass used to implement user interface elements. As a subclass of CPView and CPResponder it has the ability to handle screen drawing and handling user input.
Definition at line 84 of file CPControl.j.
- (BOOL _sendsActionOnEndEditing) accessors | (property) | = sendsActionOnEndEditing |
[implementation] |
- (SEL) action | [implementation] |
Returns the receiver's target action
Definition at line 154 of file CPControl.j.
- (id) alignment | [implementation] |
Returns the current value for "alignment"
Definition at line 527 of file CPControl.j.
- (BOOL) continueTracking: | (CGPoint) | lastPoint | ||
at: | (CGPoint) | aPoint | ||
[implementation] |
Definition at line 327 of file CPControl.j.
- (double) doubleValue | [implementation] |
Returns the receiver's double value
Definition at line 384 of file CPControl.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 611 of file CPControl.j.
- (float) floatValue | [implementation] |
Returns the receiver's float value
Definition at line 367 of file CPControl.j.
- (id) font | [implementation] |
Returns the current value for "font"
Definition at line 531 of file CPControl.j.
- (void) highlight: | (BOOL) | shouldHighlight | [implementation] |
Definition at line 550 of file CPControl.j.
- (id) imagePosition | [implementation] |
Returns the current value for "image-position"
Definition at line 534 of file CPControl.j.
- (id) imageScaling | [implementation] |
Returns the current value for "image-scaling"
Definition at line 535 of file CPControl.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 589 of file CPControl.j.
- (id) initWithFrame: | (CGRect) | aFrame | [implementation] |
Definition at line 129 of file CPControl.j.
- (int) integerValue | [implementation] |
Returns the receiver's int value
Definition at line 418 of file CPControl.j.
- (int) intValue | [implementation] |
Returns the receiver's int value
Definition at line 401 of file CPControl.j.
- (BOOL) isContinuous | [implementation] |
Sets the tooltip for the receiver.
aToolTip | the tooltip |
Returns the receiver's tooltip
Returns whether the control can continuously send its action messages.
Definition at line 225 of file CPControl.j.
- (BOOL) isEnabled | [implementation] |
Definition at line 545 of file CPControl.j.
- (BOOL) isHighlighted | [implementation] |
Definition at line 563 of file CPControl.j.
- (id) lineBreakMode | [implementation] |
Returns the current value for "line-break-mode"
Definition at line 529 of file CPControl.j.
- (void) mouseDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 337 of file CPControl.j.
- (unsigned) mouseDownFlags | [implementation] |
Definition at line 315 of file CPControl.j.
- (int) nextState | [implementation] |
Definition at line 296 of file CPControl.j.
- (id) objectValue | [implementation] |
Returns the receiver's object value
Definition at line 348 of file CPControl.j.
- (void) performClick: | (id) | sender | [implementation] |
Definition at line 301 of file CPControl.j.
- (void) sendAction: | (SEL) | anAction | ||
to: | (id) | anObject | ||
[implementation] |
Causes anAction
to be sent to anObject
.
anAction | the action to send | |
anObject | the object to which the action will be sent |
Definition at line 181 of file CPControl.j.
- (int) sendActionOn: | (int) | mask | [implementation] |
Definition at line 186 of file CPControl.j.
- (void) setAction: | (SEL) | anAction | [implementation] |
Sets the receiver's target action
anAction | Sets the action message that gets sent to the target. |
Definition at line 146 of file CPControl.j.
- (void) setAlignment: | (id) | aValue | [implementation] |
Sets the value for "alignment"
Definition at line 527 of file CPControl.j.
- (void) setContinuous: | (BOOL) | flag | [implementation] |
Sets whether the cell can continuously send its action messages.
Definition at line 234 of file CPControl.j.
- (void) setDoubleValue: | (double) | anObject | [implementation] |
Set's the receiver's double value
Definition at line 393 of file CPControl.j.
- (void) setEnabled: | (BOOL) | isEnabled | [implementation] |
Definition at line 537 of file CPControl.j.
- (void) setFloatValue: | (float) | aValue | [implementation] |
Sets the receiver's float value
Definition at line 376 of file CPControl.j.
- (void) setFont: | (id) | aValue | [implementation] |
Sets the value for "font"
Definition at line 531 of file CPControl.j.
- (void) setHighlighted: | (BOOL) | isHighlighted | [implementation] |
Definition at line 555 of file CPControl.j.
- (void) setImagePosition: | (id) | aValue | [implementation] |
Sets the value for "image-position"
Definition at line 534 of file CPControl.j.
- (void) setImageScaling: | (id) | aValue | [implementation] |
Sets the value for "image-scaling"
Definition at line 535 of file CPControl.j.
- (void) setIntegerValue: | (int) | anObject | [implementation] |
Set's the receiver's int value
Definition at line 427 of file CPControl.j.
- (void) setIntValue: | (int) | anObject | [implementation] |
Set's the receiver's int value
Definition at line 410 of file CPControl.j.
- (void) setLineBreakMode: | (id) | aValue | [implementation] |
Sets the value for "line-break-mode"
Definition at line 529 of file CPControl.j.
- (void) setObjectValue: | (id) | anObject | [implementation] |
Set's the receiver's object value
Definition at line 356 of file CPControl.j.
- (void) setState: | (int) | state | [implementation] |
Definition at line 292 of file CPControl.j.
- (void) setStringValue: | (CPString) | anObject | [implementation] |
Set's the receiver's int value
Definition at line 443 of file CPControl.j.
- (void) setTarget: | (id) | aTarget | [implementation] |
Sets the receiver's target. The target receives action messages from the receiver.
aTarget | the object that will receive the message specified by action |
Definition at line 163 of file CPControl.j.
- (void) setTextColor: | (id) | aValue | [implementation] |
Sets the value for "text-color"
Definition at line 530 of file CPControl.j.
- (void) setTextShadowColor: | (id) | aValue | [implementation] |
Sets the value for "text-shadow-color"
Definition at line 532 of file CPControl.j.
- (void) setTextShadowOffset: | (id) | aValue | [implementation] |
Sets the value for "text-shadow-offset"
Definition at line 533 of file CPControl.j.
- (void) setVerticalAlignment: | (id) | aValue | [implementation] |
Sets the value for "vertical-alignment"
Definition at line 528 of file CPControl.j.
- (BOOL) startTrackingAt: | (CGPoint) | aPoint | [implementation] |
Definition at line 320 of file CPControl.j.
- (void) stopTracking: | (CGPoint) | lastPoint | ||
at: | (CGPoint) | aPoint | ||
mouseIsUp: | (BOOL) | mouseIsUp | ||
[implementation] |
Definition at line 332 of file CPControl.j.
- (CPString) stringValue | [implementation] |
Returns the receiver's int value
Definition at line 435 of file CPControl.j.
- (void) takeDoubleValueFrom: | (id) | sender | [implementation] |
Definition at line 448 of file CPControl.j.
- (void) takeFloatValueFrom: | (id) | sender | [implementation] |
Definition at line 455 of file CPControl.j.
- (void) takeIntegerValueFrom: | (id) | sender | [implementation] |
Definition at line 462 of file CPControl.j.
- (void) takeIntValueFrom: | (id) | sender | [implementation] |
Definition at line 469 of file CPControl.j.
- (void) takeObjectValueFrom: | (id) | sender | [implementation] |
Definition at line 476 of file CPControl.j.
- (void) takeStringValueFrom: | (id) | sender | [implementation] |
Definition at line 482 of file CPControl.j.
- (id) target | [implementation] |
Returns the receiver's target. The target receives action messages from the receiver.
Definition at line 171 of file CPControl.j.
- (id) textColor | [implementation] |
Returns the current value for "text-color"
Definition at line 530 of file CPControl.j.
- (void) textDidBeginEditing: | (CPNotification) | note | [implementation] |
Definition at line 488 of file CPControl.j.
- (void) textDidChange: | (CPNotification) | note | [implementation] |
Definition at line 497 of file CPControl.j.
- (void) textDidEndEditing: | (CPNotification) | note | [implementation] |
Definition at line 506 of file CPControl.j.
- (id) textShadowColor | [implementation] |
Returns the current value for "text-shadow-color"
Definition at line 532 of file CPControl.j.
- (id) textShadowOffset | [implementation] |
Returns the current value for "text-shadow-offset"
Definition at line 533 of file CPControl.j.
+ (CPDictionary) themeAttributes | [implementation] |
Definition at line 103 of file CPControl.j.
- (void) trackMouse: | (CPEvent) | anEvent | [implementation] |
Definition at line 248 of file CPControl.j.
- (BOOL) tracksMouseOutsideOfFrame | [implementation] |
Definition at line 243 of file CPControl.j.
- (void) unhighlightButtonTimerDidFinish: | (id) | sender | [implementation] |
Definition at line 310 of file CPControl.j.
- (id) verticalAlignment | [implementation] |
Returns the current value for "vertical-alignment"
Definition at line 528 of file CPControl.j.