CPControl Class Reference

List of all members.

Public Member Functions

(id) - initWithFrame: [implementation]
(void) - setEnabled: [implementation]
(BOOL) - isEnabled [implementation]
(void) - setTextColor: [implementation]
(CPColor) - textColor [implementation]
(CPTextAlignment) - alignment [implementation]
(void) - setAlignment: [implementation]
(void) - setFont: [implementation]
(CPFont- font [implementation]
(void) - setTextShadow: [implementation]
(CPShadow- textShadow [implementation]
(SEL) - action [implementation]
(void) - setAction: [implementation]
(id) - target [implementation]
(void) - setTarget: [implementation]
(void) - mouseUp: [implementation]
(void) - sendAction:to: [implementation]
(int) - sendActionOn: [implementation]
(BOOL) - isContinuous [implementation]
(void) - setContinuous: [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) - setBackgroundColor: [implementation]
(void) - setBackgroundColor:forName: [implementation]
(CPColor) - backgroundColorForName: [implementation]
(void) - setBackgroundColorWithName: [implementation]
(void) - textDidBeginEditing: [implementation]
(void) - textDidChange: [implementation]
(void) - textDidEndEditing: [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [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 87 of file CPControl.j.


Member Function Documentation

- (SEL) action   [implementation]

Returns the receiver's target action

Definition at line 226 of file CPControl.j.

- (CPTextAlignment) alignment   [implementation]

Returns the receiver's alignment

Definition at line 168 of file CPControl.j.

- (CPColor) backgroundColorForName: (CPString aName   [implementation]

Definition at line 468 of file CPControl.j.

- (double) doubleValue   [implementation]

Returns the receiver's double value

Definition at line 341 of file CPControl.j.

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

Definition at line 570 of file CPControl.j.

- (float) floatValue   [implementation]

Returns the receiver's float value

Definition at line 324 of file CPControl.j.

- (CPFont) font   [implementation]

Returns the receiver's font

Definition at line 201 of file CPControl.j.

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

Definition at line 544 of file CPControl.j.

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

Definition at line 106 of file CPControl.j.

- (int) integerValue   [implementation]

Returns the receiver's int value

Definition at line 376 of file CPControl.j.

- (int) intValue   [implementation]

Returns the receiver's int value

Definition at line 358 of file CPControl.j.

- (BOOL) isContinuous   [implementation]

Returns whether the control can continuously send its action messages.

Definition at line 287 of file CPControl.j.

- (BOOL) isEnabled   [implementation]

Returns YES if the receiver responds to mouse events.

Definition at line 136 of file CPControl.j.

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

Definition at line 257 of file CPControl.j.

- (id) objectValue   [implementation]

Returns the receiver's object value

Definition at line 308 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 270 of file CPControl.j.

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

Definition at line 275 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 235 of file CPControl.j.

- (void) setAlignment: (CPTextAlignment)  anAlignment   [implementation]

Sets the receiver's alignment

Parameters:
anAlignment the receiver's alignment

Definition at line 177 of file CPControl.j.

- (void) setBackgroundColor: (CPColor)  aColor   [implementation]

Definition at line 448 of file CPControl.j.

- (void) setBackgroundColor: (CPColor)  aColor
forName: (CPString aName 
[implementation]

Definition at line 457 of file CPControl.j.

- (void) setBackgroundColorWithName: (CPString aName   [implementation]

Definition at line 478 of file CPControl.j.

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

Sets whether the cell can continuously send its action messages.

Definition at line 296 of file CPControl.j.

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

Set's the receiver's double value

Definition at line 350 of file CPControl.j.

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

Sets whether the receiver responds to mouse events.

Parameters:
isEnabled whether the receiver will respond to mouse events

Definition at line 128 of file CPControl.j.

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

Sets the receiver's float value

Definition at line 333 of file CPControl.j.

- (void) setFont: (CPFont aFont   [implementation]

Sets the receiver's font

Parameters:
aFont the font for the receiver

Definition at line 186 of file CPControl.j.

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

Set's the receiver's int value

Definition at line 385 of file CPControl.j.

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

Set's the receiver's int value

Definition at line 367 of file CPControl.j.

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

Set's the receiver's object value

Definition at line 316 of file CPControl.j.

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

Set's the receiver's int value

Definition at line 401 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 252 of file CPControl.j.

- (void) setTextColor: (CPColor)  aColor   [implementation]

Sets the color of the receiver's text.

Definition at line 145 of file CPControl.j.

- (void) setTextShadow: (CPShadow aTextShadow   [implementation]

Sets the shadow for the receiver's text.

Parameters:
aTextShadow the text shadow

Definition at line 210 of file CPControl.j.

- (CPString) stringValue   [implementation]

Returns the receiver's int value

Definition at line 393 of file CPControl.j.

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

Definition at line 407 of file CPControl.j.

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

Definition at line 414 of file CPControl.j.

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

Definition at line 421 of file CPControl.j.

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

Definition at line 428 of file CPControl.j.

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

Definition at line 435 of file CPControl.j.

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

Definition at line 441 of file CPControl.j.

- (id) target   [implementation]

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

Definition at line 243 of file CPControl.j.

- (CPColor) textColor   [implementation]

Returns the color of the receiver's text

Definition at line 160 of file CPControl.j.

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

Definition at line 485 of file CPControl.j.

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

Definition at line 494 of file CPControl.j.

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

Definition at line 503 of file CPControl.j.

- (CPShadow) textShadow   [implementation]

Returns the receiver's text shadow

Definition at line 218 of file CPControl.j.


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

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