CPObjectCPResponder
CPView
_CPWindowView
@implementation _CPWindowView : 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. |
-(CGSize) | resizeIndicatorOffset |
-(void) | setResizeIndicatorOffset:(CGSize)anOffset |
-(void) | setShowsResizeIndicator:(BOOL)shouldShowResizeIndicator |
-(void) | setTitle:(CPString)aTitle |
-(void) | setTitle:(CPString)title |
-(CPImage) | showsResizeIndicator |
-(CPString) | title |
-(CPString) | title |
-(void) | windowDidChangeDocumentEdited |
-(void) | windowDidChangeDocumentSaving |
Method Detail |
---|
-(id)initWithFrame:(CGRect)aFrame
aFrame
-(id)initWithFrame:(CPRect)aFrame forStyleMask:(unsigned)aStyleMask
aFrame
aStyleMask
-(BOOL)acceptsFirstMouse:(CPEvent)anEvent
mouseDown:
message for anEvent
.YES
by default.anEvent
YES
, if the view object accepts first mouse-down event. NO
, otherwise.
-(void)mouseDown:(CPEvent)anEvent
anEvent
- contains information about the click-(CGSize)resizeIndicatorOffset
-(void)setResizeIndicatorOffset:(CGSize)anOffset
anOffset
-(void)setShowsResizeIndicator:(BOOL)shouldShowResizeIndicator
shouldShowResizeIndicator
-(void)setTitle:(CPString)aTitle
aTitle
-(void)setTitle:(CPString)title
title
-(CPImage)showsResizeIndicator
-(CPString)title
-(CPString)title
-(void)windowDidChangeDocumentEdited
-(void)windowDidChangeDocumentSaving
Created on Sat Sep 13 14:15:43 PDT 2008