Public Member Functions | |
(BOOL) | - acceptsFirstResponder [implementation] |
(BOOL) | - acceptsMouseMovedEvents [implementation] |
(void) | - animationDidEnd: [implementation] |
(CPWindow) | - attachedSheet [implementation] |
(BOOL) | - autorecalculatesKeyViewLoop [implementation] |
(void) | - awakeFromCib [implementation] |
(CPColor) | - backgroundColor [implementation] |
(void) | - becomeKeyWindow [implementation] |
(void) | - becomeMainWindow [implementation] |
(BOOL) | - becomesKeyOnlyIfNeeded [implementation] |
(BOOL) | - canBecomeKeyWindow [implementation] |
(BOOL) | - canBecomeMainWindow [implementation] |
(void) | - center [implementation] |
(void) | - close [implementation] |
(CGRect) | - contentRectForFrameRect: [implementation] |
(CPView) | - contentView [implementation] |
(CPButton) | - defaultButton [implementation] |
(CPButton) | - defaultButtonCell [implementation] |
(id) | - delegate [implementation] |
(void) | - deminiaturize: [implementation] |
(void) | - disableKeyEquivalentForDefaultButton [implementation] |
(void) | - disableKeyEquivalentForDefaultButtonCell [implementation] |
(void) | - doCommandBySelector: [implementation] |
(void) | - dragImage:at:offset:event:pasteboard:source:slideBack: [implementation] |
(void) | - dragView:at:offset:event:pasteboard:source:slideBack: [implementation] |
(void) | - enableKeyEquivalentForDefaultButton [implementation] |
(void) | - enableKeyEquivalentForDefaultButtonCell [implementation] |
(CPResponder) | - firstResponder [implementation] |
(CGRect) | - frame [implementation] |
(CGRect) | - frameRectForContentRect: [implementation] |
(BOOL) | - hasShadow [implementation] |
(BOOL) | - ignoresMouseEvents [implementation] |
(id) | - init [implementation] |
(id) | - initWithContentRect:styleMask: [implementation] |
(void) | - insertNewline: [implementation] |
(void) | - insertTab: [implementation] |
(BOOL) | - isDocumentEdited [implementation] |
(BOOL) | - isDocumentSaving [implementation] |
(BOOL) | - isFullPlatformWindow [implementation] |
(BOOL) | - isKeyWindow [implementation] |
(BOOL) | - isMainWindow [implementation] |
(void) | - isMiniaturized [implementation] |
(BOOL) | - isMovableByWindowBackground [implementation] |
(BOOL) | - isSheet [implementation] |
(BOOL) | - isVisible [implementation] |
(void) | - keyDown: [implementation] |
(int) | - level [implementation] |
(BOOL) | - makeFirstResponder: [implementation] |
(void) | - makeKeyAndOrderFront: [implementation] |
(void) | - makeKeyWindow [implementation] |
(void) | - makeMainWindow [implementation] |
(CGSize) | - maxSize [implementation] |
(void) | - miniaturize: [implementation] |
(CGSize) | - minSize [implementation] |
(void) | - orderBack: [implementation] |
(void) | - orderFront: [implementation] |
(void) | - orderOut: [implementation] |
(void) | - orderWindow:relativeTo: [implementation] |
(void) | - performClose: [implementation] |
(void) | - performKeyEquivalent: [implementation] |
(void) | - performMiniaturize: [implementation] |
(CPPlatformWindow) | - platformWindow [implementation] |
(void) | - recalculateKeyViewLoop [implementation] |
(CPArray) | - registeredDraggedTypes [implementation] |
(void) | - registerForDraggedTypes: [implementation] |
(CPString) | - representedFilename [implementation] |
(CPURL) | - representedURL [implementation] |
(void) | - resignKeyWindow [implementation] |
(void) | - resignMainWindow [implementation] |
(CGSize) | - resizeIndicatorOffset [implementation] |
(CPScreen) | - screen [implementation] |
(void) | - selectKeyViewFollowingView: [implementation] |
(void) | - selectKeyViewPrecedingView: [implementation] |
(void) | - selectNextKeyView: [implementation] |
(void) | - selectPreviousKeyView: [implementation] |
(void) | - sendEvent: [implementation] |
(void) | - setAcceptsMouseMovedEvents: [implementation] |
(void) | - setAutorecalculatesKeyViewLoop: [implementation] |
(void) | - setBackgroundColor: [implementation] |
(void) | - setContentView: [implementation] |
(void) | - setDefaultButton: [implementation] |
(void) | - setDefaultButtonCell: [implementation] |
(void) | - setDelegate: [implementation] |
(void) | - setDocumentEdited: [implementation] |
(void) | - setDocumentSaving: [implementation] |
(void) | - setFrame: [implementation] |
(void) | - setFrame:display: [implementation] |
(void) | - setFrame:display:animate: [implementation] |
(void) | - setFrameOrigin: [implementation] |
(void) | - setFrameSize: [implementation] |
(void) | - setFullPlatformWindow: [implementation] |
(void) | - setHasShadow: [implementation] |
(void) | - setIgnoresMouseEvents: [implementation] |
(void) | - setLevel: [implementation] |
(void) | - setMaxSize: [implementation] |
(void) | - setMinSize: [implementation] |
(void) | - setMovableByWindowBackground: [implementation] |
(void) | - setPlatformWindow: [implementation] |
(void) | - setRepresentedFilename: [implementation] |
(void) | - setRepresentedURL: [implementation] |
(void) | - setResizeIndicatorOffset: [implementation] |
(void) | - setShadowStyle: [implementation] |
(void) | - setShowsResizeIndicator: [implementation] |
(void) | - setTitle: [implementation] |
(void) | - setTitleWithRepresentedFilename: [implementation] |
(void) | - setToolbar: [implementation] |
(void) | - setWindowController: [implementation] |
(BOOL) | - showsResizeIndicator [implementation] |
(unsigned) | - styleMask [implementation] |
(CPString) | - title [implementation] |
(void) | - toggleToolbarShown: [implementation] |
(CPToolbar) | - toolbar [implementation] |
(void) | - unregisterDraggedTypes [implementation] |
(CPWindowController) | - windowController [implementation] |
(int) | - windowNumber [implementation] |
(BOOL) | - worksWhenModal [implementation] |
Static Public Member Functions | |
(CGRect) | + frameRectForContentRect:styleMask: [implementation] |
(void) | + initialize [implementation] |
An CPWindow instance represents a window, panel or menu on the screen.
Each window has a style, which determines how the window is decorated; whether it has a border, a title bar, a resize bar, minimise and close buttons.
A window has a frame. This is the frame of the entire window on the screen, including all decorations and borders. The origin of the frame represents its bottom left corner and the frame is expressed in screen coordinates.
A window always contains a content view which is the highest level view available for public (application) use. This view fills the area of the window inside any decoration/border. This is the only part of the window that application programmers are allowed to draw in directly.
You can convert between view coordinates and window base coordinates using the [CPView -convertPoint:fromView:], [CPView -convertPoint:toView:], [CPView -convertRect:fromView:], and [CPView -convertRect:toView:] methods with a nil view argument.
-(void)windowDidResize:(CPNotification)notification; Sent from the notification center when the window has been resized.
notification | contains information about the resize event |
-(CPUndoManager)windowWillReturnUndoManager:(CPWindow)window; Called to obtain the undo manager for a window
window | the window for which to return the undo manager |
-(void)windowDidBecomeMain:(CPNotification)notification; Sent from the notification center when the delegate's window becomes the main window.
notification | contains information about the event |
-(void)windowDidResignMain:(CPNotification)notification; Sent from the notification center when the delegate's window has resigned main window status.
notification | contains information about the event |
-(void)windowDidResignKey:(CPNotification)notification; Sent from the notification center when the delegate's window has resigned key window status.
notification | contains information about the event |
-(BOOL)windowShouldClose:(id)window; Called when the user tries to close the window.
window | the window to close |
YES
allows the window to close. NO
vetoes the close operation and leaves the window open. Definition at line 419 of file CPDragServer.j.
- (BOOL) acceptsFirstResponder | [implementation] |
Definition at line 1159 of file CPWindow.j.
- (BOOL) acceptsMouseMovedEvents | [implementation] |
Definition at line 1199 of file CPWindow.j.
- (void) animationDidEnd: | (id) | anim | [implementation] |
Definition at line 2071 of file CPWindow.j.
- (CPWindow) attachedSheet | [implementation] |
Returns the window's attached sheet.
Definition at line 2140 of file CPWindow.j.
- (BOOL) autorecalculatesKeyViewLoop | [implementation] |
Definition at line 2261 of file CPWindow.j.
- (void) awakeFromCib | [implementation] |
Definition at line 473 of file CPWindow.j.
- (CPColor) backgroundColor | [implementation] |
Returns the window's background color.
Definition at line 892 of file CPWindow.j.
- (void) becomeKeyWindow | [implementation] |
Called when the receiver should become the key window. It also sends the -becomeKeyWindow
message to the first responder.
Definition at line 1439 of file CPWindow.j.
- (void) becomeMainWindow | [implementation] |
Called to tell the receiver that it has become the main window.
Definition at line 1841 of file CPWindow.j.
- (BOOL) becomesKeyOnlyIfNeeded | [implementation] |
Definition at line 2161 of file CPWindow.j.
- (BOOL) canBecomeKeyWindow | [implementation] |
Determines if the window can become the key window.
YES
means the window can become the key window. Definition at line 1455 of file CPWindow.j.
- (BOOL) canBecomeMainWindow | [implementation] |
Returns YES
if the window can become the main window.
Definition at line 1817 of file CPWindow.j.
- (void) center | [implementation] |
Sets the window location to be the center of the screen
Definition at line 1310 of file CPWindow.j.
- (void) close | [implementation] |
Closes the window. Posts a CPWindowWillCloseNotification
to the notification center before closing the window.
Definition at line 1798 of file CPWindow.j.
- (CGRect) contentRectForFrameRect: | (CGRect) | aFrame | [implementation] |
Returns the receiver's content rectangle. A content rectangle does not include toolbars.
aFrame | the window's frame rectangle |
Definition at line 589 of file CPWindow.j.
- (CPView) contentView | [implementation] |
Returns the window's current content view.
Definition at line 875 of file CPWindow.j.
- (CPButton) defaultButton | [implementation] |
Definition at line 2313 of file CPWindow.j.
- (CPButton) defaultButtonCell | [implementation] |
Definition at line 2299 of file CPWindow.j.
- (id) delegate | [implementation] |
Returns window's delegate
Definition at line 1129 of file CPWindow.j.
- (void) deminiaturize: | (id) | sender | [implementation] |
Restores a mimized window to it's original size.
Definition at line 1704 of file CPWindow.j.
- (void) disableKeyEquivalentForDefaultButton | [implementation] |
Definition at line 2328 of file CPWindow.j.
- (void) disableKeyEquivalentForDefaultButtonCell | [implementation] |
Definition at line 2333 of file CPWindow.j.
- (void) doCommandBySelector: | (SEL) | aSelector | [implementation] |
Definition at line 1151 of file CPWindow.j.
- (void) dragImage: | (CPImage) | anImage | ||
at: | (CGPoint) | imageLocation | ||
offset: | (CGSize) | mouseOffset | ||
event: | (CPEvent) | anEvent | ||
pasteboard: | (CPPasteboard) | aPasteboard | ||
source: | (id) | aSourceObject | ||
slideBack: | (BOOL) | slideBack | ||
[implementation] |
Initiates a drag operation from the receiver to another view that accepts dragged data.
anImage | the image to be dragged | |
aLocation | the lower-left corner coordinate of anImage | |
mouseOffset | the distance from the -mouseDown : location and the current location | |
anEvent | the -mouseDown : that triggered the drag | |
aPastebaord | the pasteboard that holds the drag data | |
aSourceObject | the drag operation controller | |
slideBack | Whether the image should 'slide back' if the drag is rejected |
Definition at line 1518 of file CPWindow.j.
- (void) dragView: | (CPView) | aView | ||
at: | (CGPoint) | viewLocation | ||
offset: | (CGSize) | mouseOffset | ||
event: | (CPEvent) | anEvent | ||
pasteboard: | (CPPasteboard) | aPasteboard | ||
source: | (id) | aSourceObject | ||
slideBack: | (BOOL) | slideBack | ||
[implementation] |
Initiates a drag operation from the receiver to another view that accepts dragged data.
aView | the view to be dragged | |
aLocation | the lower-left corner coordinate of aView | |
mouseOffset | the distance from the -mouseDown : location and the current location | |
anEvent | the -mouseDown : that triggered the drag | |
aPastebaord | the pasteboard that holds the drag data | |
aSourceObject | the drag operation controller | |
slideBack | Whether the view should 'slide back' if the drag is rejected |
Definition at line 1555 of file CPWindow.j.
- (void) enableKeyEquivalentForDefaultButton | [implementation] |
Definition at line 2318 of file CPWindow.j.
- (void) enableKeyEquivalentForDefaultButtonCell | [implementation] |
Definition at line 2323 of file CPWindow.j.
- (CPResponder) firstResponder | [implementation] |
Returns the window's current first responder.
Definition at line 1194 of file CPWindow.j.
- (CGRect) frame | [implementation] |
Returns the window's frame rectangle
Definition at line 607 of file CPWindow.j.
- (CGRect) frameRectForContentRect: | (CGRect) | aContentRect | [implementation] |
Retrieves the frame rectangle for this window.
aContentRect | the window's content rectangle |
Definition at line 599 of file CPWindow.j.
+ (CGRect) frameRectForContentRect: | (CGRect) | aContentRect | ||
styleMask: | (unsigned) | aStyleMask | ||
[implementation] |
Returns the frame rectangle used by a window.
aContentRect | the content rectangle of the window | |
aStyleMask | the style mask of the window |
Definition at line 580 of file CPWindow.j.
- (BOOL) hasShadow | [implementation] |
Returns YES
if the window has a drop shadow. NO
otherwise.
Definition at line 979 of file CPWindow.j.
- (BOOL) ignoresMouseEvents | [implementation] |
Definition at line 1209 of file CPWindow.j.
- (id) init | [implementation] |
Definition at line 339 of file CPWindow.j.
+ (void) initialize | [implementation] |
Definition at line 329 of file CPWindow.j.
- (id) initWithContentRect: | (CGRect) | aContentRect | ||
styleMask: | (unsigned int) | aStyleMask | ||
[implementation] |
Initializes the window. The method also takes a style bit mask made up of any of the following values:
CPBorderlessWindowMask CPTitledWindowMask CPClosableWindowMask CPMiniaturizableWindowMask CPResizableWindowMask CPTexturedBackgroundWindowMask
aContentRect | the size and location of the window in screen space | |
aStyleMask | a style mask |
Definition at line 359 of file CPWindow.j.
- (void) insertNewline: | (id) | sender | [implementation] |
Definition at line 2190 of file CPWindow.j.
- (void) insertTab: | (id) | sender | [implementation] |
Definition at line 2196 of file CPWindow.j.
- (BOOL) isDocumentEdited | [implementation] |
Returns YES
if the document has been edited.
Definition at line 1620 of file CPWindow.j.
- (BOOL) isDocumentSaving | [implementation] |
Definition at line 1637 of file CPWindow.j.
- (BOOL) isFullPlatformWindow | [implementation] |
Definition at line 561 of file CPWindow.j.
- (BOOL) isKeyWindow | [implementation] |
Returns YES
if the window is the key window.
Definition at line 1463 of file CPWindow.j.
- (BOOL) isMainWindow | [implementation] |
Returns YES
if this the main window.
Definition at line 1809 of file CPWindow.j.
- (void) isMiniaturized | [implementation] |
Returns YES if the window is minimized.
Definition at line 1716 of file CPWindow.j.
- (BOOL) isMovableByWindowBackground | [implementation] |
Returns YES
if the window can be moved by dragging its background.
Definition at line 1302 of file CPWindow.j.
- (BOOL) isSheet | [implementation] |
Returns YES
if the window has ever run as a sheet.
Definition at line 2151 of file CPWindow.j.
- (BOOL) isVisible | [implementation] |
Returns YES
if the window is visible. It does not mean that the window is not obscured by other windows.
Definition at line 808 of file CPWindow.j.
- (void) keyDown: | (CPEvent) | anEvent | [implementation] |
Definition at line 2182 of file CPWindow.j.
- (int) level | [implementation] |
Returns the window's current level
Definition at line 800 of file CPWindow.j.
- (BOOL) makeFirstResponder: | (CPResponder) | aResponder | [implementation] |
Attempts to make the aResponder
the first responder. Before trying to make it the first responder, the receiver will ask the current first responder to resign its first responder status. If it resigns, it will ask aResponder
accept first responder, then finally tell it to become first responder.
YES
if the attempt was successful. NO
otherwise. Definition at line 1171 of file CPWindow.j.
- (void) makeKeyAndOrderFront: | (id) | aSender | [implementation] |
Makes the window the key window and brings it to the front of the screen list.
aSender | the object requesting this |
Definition at line 1472 of file CPWindow.j.
- (void) makeKeyWindow | [implementation] |
Makes this window the key window.
Definition at line 1483 of file CPWindow.j.
- (void) makeMainWindow | [implementation] |
Makes the receiver the main window.
Definition at line 1829 of file CPWindow.j.
- (CGSize) maxSize | [implementation] |
Returns the window's maximum size.
Definition at line 971 of file CPWindow.j.
- (void) miniaturize: | (id) | sender | [implementation] |
Minimizes the window. Posts a CPWindowWillMiniaturizeNotification
to the notification center before minimizing the window.
Definition at line 1688 of file CPWindow.j.
- (CGSize) minSize | [implementation] |
Returns the windows minimum size.
Definition at line 931 of file CPWindow.j.
- (void) orderBack: | (id) | aSender | [implementation] |
Definition at line 748 of file CPWindow.j.
- (void) orderFront: | (id) | aSender | [implementation] |
Makes the receiver the front most window in the screen ordering.
aSender | the object that requested this |
Definition at line 737 of file CPWindow.j.
- (void) orderOut: | (id) | aSender | [implementation] |
Hides the window.
the | object that requested this |
Definition at line 757 of file CPWindow.j.
- (void) orderWindow: | (CPWindowOrderingMode) | aPlace | ||
relativeTo: | (int) | otherWindowNumber | ||
[implementation] |
Relocates the window in the screen list.
aPlace | the positioning relative to otherWindowNumber | |
otherWindowNumber | the window relative to which the receiver should be placed |
Definition at line 775 of file CPWindow.j.
- (void) performClose: | (id) | aSender | [implementation] |
Simulates the user closing the window, then closes the window.
aSender | the object making this request |
Definition at line 1727 of file CPWindow.j.
- (void) performKeyEquivalent: | (CPEvent) | anEvent | [implementation] |
Definition at line 2175 of file CPWindow.j.
- (void) performMiniaturize: | (id) | aSender | [implementation] |
Simulates the user minimizing the window, then minimizes the window.
aSender | the object making this request |
Definition at line 1678 of file CPWindow.j.
- (CPPlatformWindow) platformWindow | [implementation] |
Definition at line 440 of file CPWindow.j.
- (void) recalculateKeyViewLoop | [implementation] |
Definition at line 2222 of file CPWindow.j.
- (CPArray) registeredDraggedTypes | [implementation] |
Returns an array of all types the receiver accepts for dragging operations.
Definition at line 1580 of file CPWindow.j.
- (void) registerForDraggedTypes: | (CPArray) | pasteboardTypes | [implementation] |
Sets the receiver's list of acceptable data types for a dragging operation.
pasteboardTypes | an array of CPPasteboards |
Definition at line 1564 of file CPWindow.j.
- (CPString) representedFilename | [implementation] |
Returns the path to the file the receiver represents
Definition at line 1262 of file CPWindow.j.
- (CPURL) representedURL | [implementation] |
Returns the URL that the receiver represents
Definition at line 1278 of file CPWindow.j.
- (void) resignKeyWindow | [implementation] |
Causes the window to resign it's key window status.
Definition at line 1495 of file CPWindow.j.
- (void) resignMainWindow | [implementation] |
Called when the window resigns main window status.
Definition at line 1856 of file CPWindow.j.
- (CGSize) resizeIndicatorOffset | [implementation] |
Returns the offset of the window's resize indicator.
Definition at line 839 of file CPWindow.j.
- (CPScreen) screen | [implementation] |
Definition at line 1283 of file CPWindow.j.
- (void) selectKeyViewFollowingView: | (CPView) | aView | [implementation] |
Definition at line 2278 of file CPWindow.j.
- (void) selectKeyViewPrecedingView: | (CPView) | aView | [implementation] |
Definition at line 2286 of file CPWindow.j.
- (void) selectNextKeyView: | (id) | sender | [implementation] |
Definition at line 2266 of file CPWindow.j.
- (void) selectPreviousKeyView: | (id) | sender | [implementation] |
Definition at line 2272 of file CPWindow.j.
- (void) sendEvent: | (CPEvent) | anEvent | [implementation] |
Dispatches events that are sent to it from CPApplication.
anEvent | the event to be dispatched |
Definition at line 1322 of file CPWindow.j.
- (void) setAcceptsMouseMovedEvents: | (BOOL) | shouldAcceptMouseMovedEvents | [implementation] |
Definition at line 1204 of file CPWindow.j.
- (void) setAutorecalculatesKeyViewLoop: | (BOOL) | shouldRecalculate | [implementation] |
Definition at line 2248 of file CPWindow.j.
- (void) setBackgroundColor: | (CPColor) | aColor | [implementation] |
Sets the window's background color.
aColor | the new color for the background |
Definition at line 884 of file CPWindow.j.
- (void) setContentView: | (CPView) | aView | [implementation] |
Sets the window's content view. The new view will be resized to fit inside the content rectangle of the window.
aView | the new content view for the receiver |
Definition at line 858 of file CPWindow.j.
- (void) setDefaultButton: | (CPButton) | aButton | [implementation] |
Definition at line 2304 of file CPWindow.j.
- (void) setDefaultButtonCell: | (CPButton) | aButton | [implementation] |
Definition at line 2294 of file CPWindow.j.
- (void) setDelegate: | (id) | aDelegate | [implementation] |
Sets the delegate for the window. Passing nil
will just remove the window's current delegate.
aDelegate | an object to respond to the various delegate methods of CPWindow |
Definition at line 1069 of file CPWindow.j.
- (void) setDocumentEdited: | (BOOL) | isDocumentEdited | [implementation] |
Sets whether the document has been edited.
isDocumentEdited | YES if the document has been edited. |
Definition at line 1605 of file CPWindow.j.
- (void) setDocumentSaving: | (BOOL) | isDocumentSaving | [implementation] |
Definition at line 1625 of file CPWindow.j.
- (void) setFrame: | (CGRect) | aFrame | [implementation] |
Sets the window's frame rectangle
Definition at line 710 of file CPWindow.j.
- (void) setFrame: | (CGRect) | aFrame | ||
display: | (BOOL) | shouldDisplay | ||
[implementation] |
Definition at line 702 of file CPWindow.j.
- (void) setFrame: | (CGRect) | aFrame | ||
display: | (BOOL) | shouldDisplay | ||
animate: | (BOOL) | shouldAnimate | ||
[implementation] |
Definition at line 626 of file CPWindow.j.
- (void) setFrameOrigin: | (CGPoint) | anOrigin | [implementation] |
Sets the window's location.
anOrigin | the new location for the window |
Definition at line 719 of file CPWindow.j.
- (void) setFrameSize: | (CGSize) | aSize | [implementation] |
Sets the window's size.
aSize | the new size for the window |
Definition at line 728 of file CPWindow.j.
- (void) setFullPlatformWindow: | (BOOL) | shouldBeFullPlatformWindow | [implementation] |
Definition at line 521 of file CPWindow.j.
- (void) setHasShadow: | (BOOL) | shouldHaveShadow | [implementation] |
Sets whether the window should have a drop shadow.
shouldHaveShadow | YES to have a drop shadow. |
Definition at line 1048 of file CPWindow.j.
- (void) setIgnoresMouseEvents: | (BOOL) | shouldIgnoreMouseEvents | [implementation] |
Definition at line 1214 of file CPWindow.j.
- (void) setLevel: | (int) | aLevel | [implementation] |
Sets the window's level
the | window's new level |
Definition at line 784 of file CPWindow.j.
- (void) setMaxSize: | (CGSize) | aSize | [implementation] |
Sets the window's maximum size. If the provided size is the same as the current maximum size, the method simply returns.
aSize | the new maximum size |
Definition at line 942 of file CPWindow.j.
- (void) setMinSize: | (CGSize) | aSize | [implementation] |
Sets the window's minimum size. If the provided size is the same as the current minimum size, the method simply returns. the new minimum size for the window
Definition at line 902 of file CPWindow.j.
- (void) setMovableByWindowBackground: | (BOOL) | shouldBeMovableByWindowBackground | [implementation] |
Sets whether the window can be moved by dragging its background. The default is based on the window style.
shouldBeMovableByWindowBackground | YES makes the window move from a background drag. |
Definition at line 1294 of file CPWindow.j.
- (void) setPlatformWindow: | (CPPlatformWindow) | aPlatformWindow | [implementation] |
Definition at line 445 of file CPWindow.j.
- (void) setRepresentedFilename: | (CPString) | aFilePath | [implementation] |
Sets the path to the file the receiver represents
Definition at line 1253 of file CPWindow.j.
- (void) setRepresentedURL: | (CPURL) | aURL | [implementation] |
Sets the URL that the receiver represents
Definition at line 1270 of file CPWindow.j.
- (void) setResizeIndicatorOffset: | (CGSize) | anOffset | [implementation] |
Sets the offset of the window's resize indicator.
aSize | the offset for the resize indicator |
Definition at line 848 of file CPWindow.j.
- (void) setShadowStyle: | (unsigned) | aStyle | [implementation] |
Definition at line 1058 of file CPWindow.j.
- (void) setShowsResizeIndicator: | (BOOL) | shouldShowResizeIndicator | [implementation] |
Sets the window's resize indicator.
shouldShowResizeIndicator | YES sets the window to show its resize indicator. |
Definition at line 825 of file CPWindow.j.
- (void) setTitle: | (CPString) | aTitle | [implementation] |
Sets the window's title bar string
Definition at line 1232 of file CPWindow.j.
- (void) setTitleWithRepresentedFilename: | (CPString) | aFilePath | [implementation] |
Sets the title bar to represent a file path
Definition at line 1244 of file CPWindow.j.
- (void) setToolbar: | (CPToolbar) | aToolbar | [implementation] |
Sets the window's toolbar.
aToolbar | the window's new toolbar |
Definition at line 1938 of file CPWindow.j.
- (void) setWindowController: | (CPWindowController) | aWindowController | [implementation] |
Sets the window's controller
aWindowController | a window controller |
Definition at line 1138 of file CPWindow.j.
- (BOOL) showsResizeIndicator | [implementation] |
Returns YES
if the window's resize indicator is showing. NO
otherwise.
Definition at line 816 of file CPWindow.j.
- (unsigned) styleMask | [implementation] |
Returns the window's style mask.
Definition at line 569 of file CPWindow.j.
- (CPString) title | [implementation] |
Returns the window's title bar string
Definition at line 1224 of file CPWindow.j.
- (void) toggleToolbarShown: | (id) | aSender | [implementation] |
Definition at line 1957 of file CPWindow.j.
- (CPToolbar) toolbar | [implementation] |
Return's the window's toolbar
Definition at line 1929 of file CPWindow.j.
- (void) unregisterDraggedTypes | [implementation] |
Resets the array of acceptable data types for a dragging operation.
Definition at line 1591 of file CPWindow.j.
- (CPWindowController) windowController | [implementation] |
Returns the window's controller.
Definition at line 1146 of file CPWindow.j.
- (int) windowNumber | [implementation] |
Returns the window's number in the desktop's screen list
Definition at line 1430 of file CPWindow.j.
- (BOOL) worksWhenModal | [implementation] |
Returns YES
if the receiver is able to receive input events even when a modal session is active.
Definition at line 2170 of file CPWindow.j.