Class CPThemeFrame

CPObject
    extended byCPResponder
        extended byCPView
            extended byCPThemeFrame

@implementation CPThemeFrame : CPView


Method Summary
-(id)initWithFrame:(CGRect)aFrame
          Initializes the receiver for usage with the specified bounding rectangle.
-(id)initWithFrame:(CPRect)aFrame forStyleMask:(unsigned)aStyleMask
-(BOOL)acceptsFirstMouse:(CPEvent)anEvent
          Returns whether the receiver should be sent a mouseDown: message for anEvent.
-(void)mouseDown:(CPEvent)anEvent
          Notifies the receiver that the user has clicked the mouse down in its area.
-(void)setShowsResizeIndicator:(BOOL)shouldShowResizeIndicator
-(void)setTitle:(CPString)aTitle
-(void)setTitle:(CPString)title
-(CPImage)showsResizeIndicator
-(CPString)title
-(CPString)title
-(void)windowDidChangeDocumentEdited
-(void)windowDidChangeDocumentSaving

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass

Methods inherited from class CPResponder
acceptsFirstResponder, becomeFirstResponder, deleteBackward, doCommandBySelector, insertLineBreak, insertText, interpretKeyEvents, keyDown, keyUp, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, performKeyEquivalent, resignFirstResponder, scrollWheel, setMenu, setNextResponder, tryToPerform, undoManager

Methods inherited from class CPView
initWithFrame, acceptsFirstMouse, addSubview, addSubview, adjustScroll, alphaValue, autoresizesSubviews, autoresizingMask, autoscroll, backgroundColor, bounds, convertPoint, convertPoint, convertRect, convertRect, convertSize, convertSize, didAddSubview, display, displayIfNeeded, displayRect, dragImage, dragView, drawRect, enclosingMenuItem, enclosingScrollView, enterFullScreenMode, exitFullScreenModeWithOptions, frame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isInFullScreenMode, isOpaque, lockFocus, mouseDown, mouseDownCanMoveWindow, postsBoundsChangedNotifications, postsFrameChangedNotifications, reflectScrolledClipView, registerForDraggedTypes, registeredDraggedTypes, removeFromSuperview, replaceSubview, resizeSubviewsWithOldSize, resizeWithOldSuperviewSize, scrollClipView, scrollPoint, scrollRectToVisible, scrollRect, setAlphaValue, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setBoundsOrigin, setBoundsSize, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setPostsBoundsChangedNotifications, setPostsFrameChangedNotifications, subviews, superview, unlockFocus, unregisterDraggedTypes, viewDidMoveToSuperview, viewDidMoveToWindow, viewWillMoveToSuperview, viewWillMoveToWindow, visibleRect, willRemoveSubview, window


Method Detail

initWithFrame

-(id)initWithFrame:(CGRect)aFrame
Initializes the receiver for usage with the specified bounding rectangle
Parameters:
aFrame
Returns:
the initialized view

initWithFrame

-(id)initWithFrame:(CPRect)aFrame forStyleMask:(unsigned)aStyleMask
Parameters:
aFrame
aStyleMask

acceptsFirstMouse

-(BOOL)acceptsFirstMouse:(CPEvent)anEvent
Returns whether the receiver should be sent a mouseDown: message for anEvent.
FIXME the default implementation should return NO
Parameters:
anEvent
Returns:
YES, if the view object accepts first mouse-down event. NO, otherwise.

mouseDown

-(void)mouseDown:(CPEvent)anEvent
Notifies the receiver that the user has clicked the mouse down in its area.
Parameters:
anEvent - contains information about the click

setShowsResizeIndicator

-(void)setShowsResizeIndicator:(BOOL)shouldShowResizeIndicator
Parameters:
shouldShowResizeIndicator

setTitle

-(void)setTitle:(CPString)aTitle
Parameters:
aTitle

setTitle

-(void)setTitle:(CPString)title
Parameters:
title

showsResizeIndicator

-(CPImage)showsResizeIndicator

title

-(CPString)title

title

-(CPString)title

windowDidChangeDocumentEdited

-(void)windowDidChangeDocumentEdited

windowDidChangeDocumentSaving

-(void)windowDidChangeDocumentSaving

Created on Thu Sep 04 07:27:02 PDT 2008