CPControl Class Reference
[AppKit]

List of all members.

Public Member Functions

(id) - initWithFrame: [implementation]
(void) - setAction: [implementation]
(SEL) - action [implementation]
(void) - setTarget: [implementation]
(id) - target [implementation]
(void) - sendAction:to: [implementation]
(int) - sendActionOn: [implementation]
(BOOL) - isContinuous [implementation]
(void) - setContinuous: [implementation]
(BOOL) - tracksMouseOutsideOfFrame [implementation]
(void) - trackMouse: [implementation]
(void) - performClick: [implementation]
(unsigned) - mouseDownFlags [implementation]
(BOOL) - startTrackingAt: [implementation]
(BOOL) - continueTracking:at: [implementation]
(void) - stopTracking:at:mouseIsUp: [implementation]
(void) - mouseDown: [implementation]
(id) - objectValue [implementation]
(void) - setObjectValue: [implementation]
(float) - floatValue [implementation]
(void) - setFloatValue: [implementation]
(double) - doubleValue [implementation]
(void) - setDoubleValue: [implementation]
(int) - intValue [implementation]
(void) - setIntValue: [implementation]
(int) - integerValue [implementation]
(void) - setIntegerValue: [implementation]
(CPString- stringValue [implementation]
(void) - setStringValue: [implementation]
(void) - takeDoubleValueFrom: [implementation]
(void) - takeFloatValueFrom: [implementation]
(void) - takeIntegerValueFrom: [implementation]
(void) - takeIntValueFrom: [implementation]
(void) - takeObjectValueFrom: [implementation]
(void) - takeStringValueFrom: [implementation]
(void) - textDidBeginEditing: [implementation]
(void) - textDidChange: [implementation]
(void) - textDidEndEditing: [implementation]
(void) - setEnabled: [implementation]
(BOOL) - isEnabled [implementation]
(void) - highlight: [implementation]
(void) - setHighlighted: [implementation]
(BOOL) - isHighlighted [implementation]
(CPView- createEphemeralSubviewNamed: [implementation]
(CGRect) - rectForEphemeralSubviewNamed: [implementation]
(CPView- layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed: [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]

Static Public Member Functions

(CPDictionary+ themeAttributes [implementation]


Detailed Description

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 89 of file CPControl.j.


Member Function Documentation

- (SEL) action   [implementation]

Returns the receiver's target action

Definition at line 161 of file CPControl.j.

- (BOOL) continueTracking: (CGPoint)  lastPoint
at: (CGPoint)  aPoint 
[implementation]

Definition at line 319 of file CPControl.j.

- (CPView) createEphemeralSubviewNamed: (CPString aViewName   [implementation]

Definition at line 558 of file CPControl.j.

- (double) doubleValue   [implementation]

Returns the receiver's double value

Definition at line 376 of file CPControl.j.

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

Definition at line 646 of file CPControl.j.

- (float) floatValue   [implementation]

Returns the receiver's float value

Definition at line 359 of file CPControl.j.

- (void) highlight: (BOOL)  shouldHighlight   [implementation]

Definition at line 540 of file CPControl.j.

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

Definition at line 625 of file CPControl.j.

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

Definition at line 136 of file CPControl.j.

- (int) integerValue   [implementation]

Returns the receiver's int value

Definition at line 410 of file CPControl.j.

- (int) intValue   [implementation]

Returns the receiver's int value

Definition at line 393 of file CPControl.j.

- (BOOL) isContinuous   [implementation]

Sets the tooltip for the receiver.

Parameters:
aToolTip the tooltip
Returns the receiver's tooltip

Returns whether the control can continuously send its action messages.

Definition at line 232 of file CPControl.j.

- (BOOL) isEnabled   [implementation]

Definition at line 535 of file CPControl.j.

- (BOOL) isHighlighted   [implementation]

Definition at line 553 of file CPControl.j.

- (CPView) layoutEphemeralSubviewNamed: (CPString aViewName
positioned: (CPWindowOrderingMode)  anOrderingMode
relativeToEphemeralSubviewNamed: (CPString relativeToViewName 
[implementation]

Definition at line 568 of file CPControl.j.

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

Definition at line 329 of file CPControl.j.

- (unsigned) mouseDownFlags   [implementation]

Definition at line 307 of file CPControl.j.

- (id) objectValue   [implementation]

Returns the receiver's object value

Definition at line 340 of file CPControl.j.

- (void) performClick: (id)  sender   [implementation]

Definition at line 299 of file CPControl.j.

- (CGRect) rectForEphemeralSubviewNamed: (CPString aViewName   [implementation]

Definition at line 563 of file CPControl.j.

- (void) sendAction: (SEL)  anAction
to: (id)  anObject 
[implementation]

Causes anAction to be sent to anObject.

Parameters:
anAction the action to send
anObject the object to which the action will be sent

Definition at line 188 of file CPControl.j.

- (int) sendActionOn: (int)  mask   [implementation]

Definition at line 193 of file CPControl.j.

- (void) setAction: (SEL)  anAction   [implementation]

Sets the receiver's target action

Parameters:
anAction Sets the action message that gets sent to the target.

Definition at line 153 of file CPControl.j.

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

Sets whether the cell can continuously send its action messages.

Definition at line 241 of file CPControl.j.

- (void) setDoubleValue: (double)  anObject   [implementation]

Set's the receiver's double value

Definition at line 385 of file CPControl.j.

- (void) setEnabled: (BOOL)  isEnabled   [implementation]

Definition at line 527 of file CPControl.j.

- (void) setFloatValue: (float)  aValue   [implementation]

Sets the receiver's float value

Definition at line 368 of file CPControl.j.

- (void) setHighlighted: (BOOL)  isHighlighted   [implementation]

Definition at line 545 of file CPControl.j.

- (void) setIntegerValue: (int)  anObject   [implementation]

Set's the receiver's int value

Definition at line 419 of file CPControl.j.

- (void) setIntValue: (int)  anObject   [implementation]

Set's the receiver's int value

Definition at line 402 of file CPControl.j.

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

Set's the receiver's object value

Definition at line 348 of file CPControl.j.

- (void) setStringValue: (CPString anObject   [implementation]

Set's the receiver's int value

Definition at line 435 of file CPControl.j.

- (void) setTarget: (id)  aTarget   [implementation]

Sets the receiver's target. The target receives action messages from the receiver.

Parameters:
aTarget the object that will receive the message specified by action

Definition at line 170 of file CPControl.j.

- (BOOL) startTrackingAt: (CGPoint)  aPoint   [implementation]

Definition at line 312 of file CPControl.j.

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

Definition at line 324 of file CPControl.j.

- (CPString) stringValue   [implementation]

Returns the receiver's int value

Definition at line 427 of file CPControl.j.

- (void) takeDoubleValueFrom: (id)  sender   [implementation]

Definition at line 440 of file CPControl.j.

- (void) takeFloatValueFrom: (id)  sender   [implementation]

Definition at line 447 of file CPControl.j.

- (void) takeIntegerValueFrom: (id)  sender   [implementation]

Definition at line 454 of file CPControl.j.

- (void) takeIntValueFrom: (id)  sender   [implementation]

Definition at line 461 of file CPControl.j.

- (void) takeObjectValueFrom: (id)  sender   [implementation]

Definition at line 468 of file CPControl.j.

- (void) takeStringValueFrom: (id)  sender   [implementation]

Definition at line 474 of file CPControl.j.

- (id) target   [implementation]

Returns the receiver's target. The target receives action messages from the receiver.

Definition at line 178 of file CPControl.j.

- (void) textDidBeginEditing: (CPNotification note   [implementation]

Definition at line 480 of file CPControl.j.

- (void) textDidChange: (CPNotification note   [implementation]

Definition at line 489 of file CPControl.j.

- (void) textDidEndEditing: (CPNotification note   [implementation]

Definition at line 498 of file CPControl.j.

+ (CPDictionary) themeAttributes   [implementation]

Definition at line 110 of file CPControl.j.

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

Definition at line 255 of file CPControl.j.

- (BOOL) tracksMouseOutsideOfFrame   [implementation]

Definition at line 250 of file CPControl.j.


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

Generated on Wed May 20 12:44:00 2009 for Cappuccino by  doxygen 1.5.8