API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPControl Class Reference

#import <CPControl.h>

+ Inheritance diagram for CPControl:

Instance Methods

(SEL) - action
 
(CPTextAlignment) - alignment
 
(BOOL) - continueTracking:at:
 
(double) - doubleValue
 
(void) - encodeWithCoder:
 
(float) - floatValue
 
(CPFont- font
 
(CPFormatter- formatter
 
(void) - highlight:
 
(CPCellImagePosition) - imagePosition
 
(CPImageScaling) - imageScaling
 
(id) - initWithCoder:
 
(id) - initWithFrame:
 
(int) - integerValue
 
(int) - intValue
 
(BOOL) - isContinuous
 
(BOOL) - isEnabled
 
(BOOL) - isHighlighted
 
(CPLineBreakMode) - lineBreakMode
 
(void) - mouseDown:
 
(unsigned) - mouseDownFlags
 
(void) - mouseEntered:
 
(void) - mouseExited:
 
(int) - nextState
 
(id) - objectValue
 
(void) - performClick:
 
(BOOL) - sendAction:to:
 
(int) - sendActionOn:
 
(BOOL) - sendsActionOnEndEditing
 
(void) - setAction:
 
(void) - setAlignment:
 
(void) - setContinuous:
 
(void) - setDoubleValue:
 
(void) - setEnabled:
 
(void) - setFloatValue:
 
(void) - setFont:
 
(void) - setFormatter:
 
(void) - setHighlighted:
 
(void) - setImagePosition:
 
(void) - setImageScaling:
 
(void) - setIntegerValue:
 
(void) - setIntValue:
 
(void) - setLineBreakMode:
 
(void) - setObjectValue:
 
(void) - setSendsActionOnEndEditing:
 
(void) - setState:
 
(void) - setStringValue:
 
(void) - setTarget:
 
(void) - setTextColor:
 
(void) - setTextShadowColor:
 
(void) - setTextShadowOffset:
 
(void) - setVerticalAlignment:
 
(BOOL) - startTrackingAt:
 
(void) - stopTracking:at:mouseIsUp:
 
(CPString- stringValue
 
(void) - takeDoubleValueFrom:
 
(void) - takeFloatValueFrom:
 
(void) - takeIntegerValueFrom:
 
(void) - takeIntValueFrom:
 
(void) - takeObjectValueFrom:
 
(void) - takeStringValueFrom:
 
(id) - target
 
(CPColor- textColor
 
(void) - textDidBeginEditing:
 
(void) - textDidChange:
 
(void) - textDidEndEditing:
 
(CPColor- textShadowColor
 
(CGSize) - textShadowOffset
 
(void) - trackMouse:
 
(BOOL) - tracksMouseOutsideOfFrame
 
(void) - unhighlightButtonTimerDidFinish:
 
(CPTextVerticalAlignment) - verticalAlignment
 
- Instance Methods inherited from CPView
(BOOL) - acceptsFirstMouse:
 
(void) - addSubview:
 
(void) - addSubview:positioned:relativeTo:
 
(CGRect) - adjustScroll:
 
(float) - alphaValue
 
(BOOL) - autoresizesSubviews
 
(unsigned) - autoresizingMask
 
(BOOL) - autoscroll:
 
(CPColor- backgroundColor
 
(CGRect) - bounds
 
(CGPoint) - boundsOrigin
 
(CGSize) - boundsSize
 
(BOOL) - canBecomeKeyView
 
(CGPoint) - center
 
(BOOL) - clipsToBounds
 
(CGPoint) - convertPoint:fromView:
 
(CGPoint) - convertPoint:toView:
 
(CGPoint) - convertPointFromBase:
 
(CGPoint) - convertPointToBase:
 
(CGRect) - convertRect:fromView:
 
(CGRect) - convertRect:toView:
 
(CGRect) - convertRectFromBase:
 
(CGRect) - convertRectToBase:
 
(CGSize) - convertSize:fromView:
 
(CGSize) - convertSize:toView:
 
(CPView- createEphemeralSubviewNamed:
 
(id) - currentValueForThemeAttribute:
 
(void) - didAddSubview:
 
(void) - display
 
(void) - displayIfNeeded
 
(void) - displayIfNeededInRect:
 
(void) - displayRect:
 
(void) - displayRectIgnoringOpacity:inContext:
 
(void) - dragImage:at:offset:event:pasteboard:source:slideBack:
 
(void) - dragView:at:offset:event:pasteboard:source:slideBack:
 
(void) - drawRect:
 
(CPMenuItem- enclosingMenuItem
 
(CPScrollView- enclosingScrollView
 
(BOOL) - enterFullScreenMode
 
(BOOL) - enterFullScreenMode:withOptions:
 
(CPView- ephemeralSubviewNamed:
 
(void) - exitFullScreenMode
 
(void) - exitFullScreenModeWithOptions:
 
(CGRect) - frame
 
(CGPoint) - frameOrigin
 
(CGSize) - frameSize
 
(BOOL) - hasThemeAttribute:
 
(BOOL) - hasThemeState:
 
(CPView- hitTest:
 
(BOOL) - hitTests
 
(id) - init
 
(BOOL) - inLiveResize
 
(BOOL) - isDescendantOf:
 
(BOOL) - isFlipped
 
(BOOL) - isHidden
 
(BOOL) - isHiddenOrHasHiddenAncestor
 
(BOOL) - isInFullScreenMode
 
(BOOL) - isOpaque
 
(CALayer- layer
 
(CPView- layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:
 
(void) - layoutIfNeeded
 
(void) - layoutSubviews
 
(void) - lockFocus
 
(CPMenu- menuForEvent:
 
(BOOL) - mouseDownCanMoveWindow
 
(BOOL) - needsDisplay
 
(BOOL) - needsPanelToBecomeKey
 
(CPView- nextKeyView
 
(CPView- nextValidKeyView
 
(BOOL) - performKeyEquivalent:
 
(BOOL) - postsBoundsChangedNotifications
 
(BOOL) - postsFrameChangedNotifications
 
(CPView- previousKeyView
 
(CPView- previousValidKeyView
 
(CGRect) - rectForEphemeralSubviewNamed:
 
(void) - reflectScrolledClipView:
 
(CPArray- registeredDraggedTypes
 
(void) - registerForDraggedTypes:
 
(void) - registerThemeValues:
 
(void) - registerThemeValues:inherit:
 
(void) - removeFromSuperview
 
(void) - replaceSubview:with:
 
(void) - resizeSubviewsWithOldSize:
 
(void) - resizeWithOldSuperviewSize:
 
(void) - rightMouseDown:
 
(void) - scrollClipView:toPoint:
 
(void) - scrollPoint:
 
(void) - scrollRect:by:
 
(BOOL) - scrollRectToVisible:
 
(void) - setAlphaValue:
 
(void) - setAutoresizesSubviews:
 
(void) - setAutoresizingMask:
 
(void) - setBackgroundColor:
 
(void) - setBounds:
 
(void) - setBoundsOrigin:
 
(void) - setBoundsSize:
 
(void) - setCenter:
 
(void) - setClipsToBounds:
 
(void) - setFrame:
 
(void) - setFrameOrigin:
 
(void) - setFrameSize:
 
(void) - setHidden:
 
(void) - setHitTests:
 
(void) - setLayer:
 
(void) - setNeedsDisplay:
 
(void) - setNeedsDisplayInRect:
 
(void) - setNeedsLayout
 
(void) - setNextKeyView:
 
(void) - setPostsBoundsChangedNotifications:
 
(void) - setPostsFrameChangedNotifications:
 
(void) - setSubviews:
 
(void) - setTag:
 
(void) - setTheme:
 
(void) - setThemeClass:
 
(BOOL) - setThemeState:
 
(void) - setToolTip:
 
(void) - setValue:forThemeAttribute:
 
(void) - setValue:forThemeAttribute:inState:
 
(void) - setWantsLayer:
 
(CPArray- subviews
 
(CPView- superview
 
(CPInteger) - tag
 
(CPTheme- theme
 
(CPString- themeClass
 
(unsigned) - themeState
 
(CPString- toolTip
 
(void) - unlockFocus
 
(void) - unregisterDraggedTypes
 
(BOOL) - unsetThemeState:
 
(id) - valueForThemeAttribute:
 
(id) - valueForThemeAttribute:inState:
 
(void) - viewDidChangeTheme
 
(void) - viewDidEndLiveResize
 
(void) - viewDidHide
 
(void) - viewDidMoveToSuperview
 
(void) - viewDidMoveToWindow
 
(void) - viewDidUnhide
 
(void) - viewWillDraw
 
(void) - viewWillMoveToSuperview:
 
(void) - viewWillMoveToWindow:
 
(void) - viewWillStartLiveResize
 
(CPView- viewWithTag:
 
(CGRect) - visibleRect
 
(BOOL) - wantsLayer
 
(void) - willRemoveSubview:
 
(CPWindow- window
 
- Instance Methods inherited from CPResponder
(BOOL) - acceptsFirstResponder
 
(BOOL) - becomeFirstResponder
 
(void) - doCommandBySelector:
 
(void) - flagsChanged:
 
(void) - insertBackTab:
 
(void) - insertLineBreak:
 
(void) - insertNewline:
 
(void) - insertTab:
 
(void) - insertText:
 
(void) - interpretKeyEvents:
 
(void) - keyDown:
 
(void) - keyUp:
 
(CPMenu- menu
 
(void) - mouseDragged:
 
(void) - mouseMoved:
 
(void) - mouseUp:
 
(CPResponder- nextResponder
 
(void) - noResponderFor:
 
(BOOL) - resignFirstResponder
 
(void) - rightMouseUp:
 
(void) - scrollWheel:
 
(void) - setMenu:
 
(void) - setNextResponder:
 
(BOOL) - tryToPerform:with:
 
(CPUndoManager- undoManager
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Class Methods

(void) + initialize
 
(CPDictionary+ themeAttributes
 
- Class Methods inherited from CPView
(CPMenu+ defaultMenu
 
(CPString+ defaultThemeClass
 
(CPSet+ keyPathsForValuesAffectingBounds
 
(CPSet+ keyPathsForValuesAffectingFrame
 
- Class Methods inherited from CPObject
(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

- Instance Variables inherited from CPObject
Class isa
 

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 2 of file CPControl.h.

Method Documentation

- (SEL) action
implementation

Returns the receiver's target action.

Definition at line 200 of file CPControl.j.

- (CPTextAlignment) alignment
implementation

Returns the text alignment of the control.

Definition at line 641 of file CPControl.j.

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

Reimplemented in CPTableView, and CPSlider.

Definition at line 382 of file CPControl.j.

- (double) doubleValue
implementation

Returns the receiver's double value.

Definition at line 461 of file CPControl.j.

- (void) encodeWithCoder: (CPCoder aCoder
implementation

Archives the view to a coder.

Parameters
aCoderthe object into which the view's data will be archived.

Reimplemented from CPView.

Reimplemented in CPTokenField, CPRadio, CPTableView, CPOutlineView, CPTextField, CPButton, CPScroller, CPSearchField, CPLevelIndicator, CPBrowser, CPImageView, CPComboBox, CPSegmentedControl, CPColorWell, CPSlider, and CPStepper.

Provided by category CPControl(CPCoding).

Definition at line 909 of file CPControl.j.

- (float) floatValue
implementation

Returns the receiver's float value.

Definition at line 444 of file CPControl.j.

- (CPFont) font
implementation

Returns the font of the control.

Definition at line 756 of file CPControl.j.

- (CPFormatter) formatter
implementation

Synthesized accessor method.

Provided by category CPControl(CPSynthesizedAccessors).

Definition at line 1006 of file CPControl.j.

- (void) highlight: (BOOL)  shouldHighlight
implementation

Highlights the receiver.

Parameters
BOOL- YES if the receiver should be highlighted, otherwise NO.

Definition at line 837 of file CPControl.j.

- (CPCellImagePosition) imagePosition
implementation

Returns the image position of the receiver.

Definition at line 782 of file CPControl.j.

- (CPImageScaling) imageScaling
implementation

Returns the image scaling of the control.

Reimplemented in CPImageView.

Definition at line 805 of file CPControl.j.

+ (void) initialize
implementation

Reimplemented from CPView.

Reimplemented in CPSearchField, CPLevelIndicator, and CPImageView.

Definition at line 130 of file CPControl.j.

- (id) initWithCoder: (CPCoder aCoder
implementation

Initializes the view from an archive.

Parameters
aCoderthe coder from which to initialize
Returns
the initialized view

Reimplemented from CPView.

Reimplemented in CPTokenField, CPRadio, CPTableView, CPOutlineView, CPTextField, CPButton, CPScroller, CPSearchField, CPLevelIndicator, CPBrowser, CPImageView, CPComboBox, CPSegmentedControl, CPColorWell, CPSlider, CPStepper, and CPPopUpButton.

Provided by category CPControl(CPCoding).

Definition at line 884 of file CPControl.j.

- (id) initWithFrame: (CGRect)  aFrame
implementation

Initializes the receiver for usage with the specified bounding rectangle

Returns
the initialized view

Reimplemented from CPView.

Reimplemented in CPRadio, CPTableView, CPOutlineView, CPDisclosureButton, CPTextField, CPButton, CPScroller, CPSearchField, CPLevelIndicator, CPBrowser, CPImageView, CPComboBox, CPSegmentedControl, CPColorWell, CPSlider, CPStepper, CPPopUpButton, and CPCheckBox.

Definition at line 174 of file CPControl.j.

- (int) integerValue
implementation

Returns the receiver's int value.

Definition at line 495 of file CPControl.j.

- (int) intValue
implementation

Returns the receiver's int value.

Definition at line 478 of file CPControl.j.

- (BOOL) isContinuous
implementation

Returns whether the control can continuously send its action messages.

Reimplemented in CPSlider.

Definition at line 248 of file CPControl.j.

- (BOOL) isEnabled
implementation

Returns YES if the receiver is enabled, otherwise NO.

Definition at line 827 of file CPControl.j.

- (BOOL) isHighlighted
implementation

Returns YES if the control is highlighted, otherwise NO.

Definition at line 858 of file CPControl.j.

- (CPLineBreakMode) lineBreakMode
implementation

Returns the line break mode of the control.

Definition at line 688 of file CPControl.j.

- (void) mouseDown: (CPEvent anEvent
implementation

Notifies the receiver that the user has clicked the mouse down in its area.

Parameters
anEventcontains information about the click

Reimplemented from CPView.

Reimplemented in CPTextField, CPButton, CPScroller, CPTokenField, CPSearchField, CPLevelIndicator, CPImageView, CPSegmentedControl, and CPPopUpButton.

Definition at line 395 of file CPControl.j.

- (unsigned) mouseDownFlags
implementation

Returns the mask of modifier keys held down when the user clicked.

Definition at line 370 of file CPControl.j.

- (void) mouseEntered: (CPEvent anEvent
implementation

Reimplemented from CPResponder.

Reimplemented in CPScroller.

Definition at line 403 of file CPControl.j.

- (void) mouseExited: (CPEvent anEvent
implementation

Notifies the receiver that the mouse exited the receiver's area.

Parameters
anEventcontains information about the exit

Reimplemented from CPResponder.

Reimplemented in CPScroller.

Definition at line 411 of file CPControl.j.

- (int) nextState
implementation

Reimplemented in CPRadio, and CPButton.

Definition at line 326 of file CPControl.j.

- (id) objectValue
implementation

Returns the receiver's object value.

Reimplemented in CPTextField, CPTokenField, and CPPopUpButton.

Definition at line 425 of file CPControl.j.

- (void) performClick: (id)  sender
implementation

Perform a click on the receiver.

Parameters
sender- The sender object

Reimplemented in CPButton.

Definition at line 336 of file CPControl.j.

- (BOOL) sendAction: (SEL)  anAction
to: (id)  anObject 
implementation

Causes anAction to be sent to anObject.

Parameters
anActionthe action to send
anObjectthe object to which the action will be sent

Reimplemented in CPRadio, CPTokenField, CPSearchField, and CPComboBox.

Definition at line 229 of file CPControl.j.

- (int) sendActionOn: (int)  mask
implementation

Definition at line 236 of file CPControl.j.

- (BOOL) sendsActionOnEndEditing
implementation

Synthesized accessor method.

Provided by category CPControl(CPSynthesizedAccessors).

Definition at line 1022 of file CPControl.j.

- (void) setAction: (SEL)  anAction
implementation

Sets the receiver's target action.

Parameters
anActionSets the action message that gets sent to the target.

Definition at line 192 of file CPControl.j.

- (void) setAlignment: (CPTextAlignment)  alignment
implementation

Sets the text alignment of the control.

CPLeftTextAlignment
CPCenterTextAlignment
CPRightTextAlignment
CPJustifiedTextAlignment
CPNaturalTextAlignment

Reimplemented in CPComboBox.

Definition at line 633 of file CPControl.j.

- (void) setContinuous: (BOOL)  flag
implementation

Sets whether the cell can continuously send its action messages.

Reimplemented in CPSlider.

Definition at line 257 of file CPControl.j.

- (void) setDoubleValue: (double)  anObject
implementation

Sets the receiver's double value.

Definition at line 470 of file CPControl.j.

- (void) setEnabled: (BOOL)  isEnabled
implementation

Sets the enabled status of the control. Controls that are not enabled can not be used by the user and obtain the CPThemeStateDisabled theme state.

Parameters
BOOL- YES if the control should be enabled, otherwise NO.

Reimplemented in CPTextField, CPTokenField, and CPStepper.

Definition at line 816 of file CPControl.j.

- (void) setFloatValue: (float)  aValue
implementation

Sets the receiver's float value.

Definition at line 453 of file CPControl.j.

- (void) setFont: (CPFont aFont
implementation

Sets the font of the control.

Reimplemented in CPComboBox, and CPSegmentedControl.

Definition at line 748 of file CPControl.j.

- (void) setFormatter: (CPFormatter aValue
implementation

Synthesized accessor method.

Provided by category CPControl(CPSynthesizedAccessors).

Definition at line 1014 of file CPControl.j.

- (void) setHighlighted: (BOOL)  isHighlighted
implementation

Highlights the receiver.

Parameters
BOOL- YES if the receiver should be highlighted, otherwise NO.

Definition at line 847 of file CPControl.j.

- (void) setImagePosition: (CPCellImagePosition)  position
implementation

Sets the image position of the control.

CPNoImage
CPImageOnly
CPImageLeft
CPImageRight
CPImageBelow
CPImageAbove
CPImageOverlaps

Definition at line 774 of file CPControl.j.

- (void) setImageScaling: (CPImageScaling)  scaling
implementation

Sets the image scaling of the control.

CPImageScaleProportionallyDown
CPImageScaleAxesIndependently
CPImageScaleNone
CPImageScaleProportionallyUpOrDown

Reimplemented in CPImageView.

Definition at line 797 of file CPControl.j.

- (void) setIntegerValue: (int)  anObject
implementation

Sets the receiver's int value.

Definition at line 504 of file CPControl.j.

- (void) setIntValue: (int)  anObject
implementation

Sets the receiver's int value.

Definition at line 487 of file CPControl.j.

- (void) setLineBreakMode: (CPLineBreakMode)  mode
implementation

Sets the line break mode of the receiver.

CPLineBreakByWordWrapping
CPLineBreakByCharWrapping
CPLineBreakByClipping
CPLineBreakByTruncatingHead
CPLineBreakByTruncatingTail
CPLineBreakByTruncatingMiddle

Definition at line 680 of file CPControl.j.

- (void) setObjectValue: (id)  anObject
implementation

Sets the receiver's object value.

Reimplemented in CPRadio, CPTextField, CPButton, CPScroller, CPTokenField, CPComboBox, and CPSlider.

Definition at line 433 of file CPControl.j.

- (void) setSendsActionOnEndEditing: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPControl(CPSynthesizedAccessors).

Definition at line 1030 of file CPControl.j.

- (void) setState: (int)  state
implementation

Definition at line 322 of file CPControl.j.

- (void) setStringValue: (CPString aString
implementation

Sets the receiver's string value.

Definition at line 528 of file CPControl.j.

- (void) setTarget: (id)  aTarget
implementation

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

Parameters
aTargetthe object that will receive the message specified by action

Definition at line 210 of file CPControl.j.

- (void) setTextColor: (CPColor aColor
implementation

Sets the text color of the receiver.

Parameters
aColor- A CPColor object.

Definition at line 698 of file CPControl.j.

- (void) setTextShadowColor: (CPColor aColor
implementation

Sets the shadow color of the text for the receiver.

Definition at line 714 of file CPControl.j.

- (void) setTextShadowOffset: (CGSize)  offset
implementation

Sets the shadow offset for the text.

Parameters
offset- a CGSize with the x and y offsets.

Definition at line 732 of file CPControl.j.

- (void) setVerticalAlignment: (CPTextVerticalAlignment)  alignment
implementation

Set the vertical text alignment of the control.

CPTopVerticalTextAlignment
CPCenterVerticalTextAlignment
CPBottomVerticalTextAlignment

Definition at line 655 of file CPControl.j.

- (BOOL) startTrackingAt: (CGPoint)  aPoint
implementation

Reimplemented in CPRadio, CPTableView, CPButton, CPSlider, and CPCheckBox.

Definition at line 375 of file CPControl.j.

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

Reimplemented in CPTableView, CPButton, CPColorWell, and CPSlider.

Definition at line 387 of file CPControl.j.

- (CPString) stringValue
implementation

Returns the receiver's string value.

Reimplemented in CPTokenField.

Definition at line 512 of file CPControl.j.

- (void) takeDoubleValueFrom: (id)  sender
implementation

Definition at line 556 of file CPControl.j.

- (void) takeFloatValueFrom: (id)  sender
implementation

Definition at line 563 of file CPControl.j.

- (void) takeIntegerValueFrom: (id)  sender
implementation

Definition at line 569 of file CPControl.j.

- (void) takeIntValueFrom: (id)  sender
implementation

Definition at line 575 of file CPControl.j.

- (void) takeObjectValueFrom: (id)  sender
implementation

Definition at line 581 of file CPControl.j.

- (void) takeStringValueFrom: (id)  sender
implementation

Definition at line 587 of file CPControl.j.

- (id) target
implementation

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

Definition at line 218 of file CPControl.j.

- (CPColor) textColor
implementation

Returns the text color of the receiver.

Definition at line 706 of file CPControl.j.

- (void) textDidBeginEditing: (CPNotification note
implementation

Definition at line 593 of file CPControl.j.

- (void) textDidChange: (CPNotification note
implementation

Reimplemented in CPTextField, CPTokenField, and CPComboBox.

Definition at line 602 of file CPControl.j.

- (void) textDidEndEditing: (CPNotification note
implementation

Definition at line 611 of file CPControl.j.

- (CPColor) textShadowColor
implementation

Returns the shadow color of the text for the control.

Definition at line 722 of file CPControl.j.

- (CGSize) textShadowOffset
implementation

Returns the text shadow offset of the receiver.

Definition at line 740 of file CPControl.j.

+ (CPDictionary) themeAttributes
implementation

Reimplemented from CPView.

Reimplemented in CPTableView, CPTextField, CPButton, CPScroller, CPTokenField, CPComboBox, CPSegmentedControl, CPColorWell, CPSlider, and CPStepper.

Definition at line 104 of file CPControl.j.

- (void) trackMouse: (CPEvent anEvent
implementation

Reimplemented in CPTableView, and CPBrowser.

Definition at line 274 of file CPControl.j.

- (BOOL) tracksMouseOutsideOfFrame
implementation

Returns YES if the receiver tracks the mouse outside the frame, otherwise NO.

Reimplemented in CPTableView, and CPSlider.

Definition at line 269 of file CPControl.j.

- (void) unhighlightButtonTimerDidFinish: (id)  sender
implementation

Fired when the button timer finished, usually after the user hits enter.

Definition at line 362 of file CPControl.j.

- (CPTextVerticalAlignment) verticalAlignment
implementation

Returns the vertical text alignment of the receiver.

Definition at line 663 of file CPControl.j.


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