CPWindow Class Reference
[AppKit]

List of all members.

Public Member Functions

(id) - initWithContentRect:styleMask: [implementation]
(id) - initWithContentRect:styleMask:bridge: [implementation]
(void) - awakeFromCib [implementation]
(void) - setFullBridge: [implementation]
(BOOL) - isFullBridge [implementation]
(unsigned) - styleMask [implementation]
(CGRect) - contentRectForFrameRect: [implementation]
(CGRect) - frameRectForContentRect: [implementation]
(CGRect) - frame [implementation]
(void) - setFrame:display:animate: [implementation]
(void) - setFrame: [implementation]
(void) - setFrameOrigin: [implementation]
(void) - setFrameSize: [implementation]
(void) - orderFront: [implementation]
(void) - orderBack: [implementation]
(void) - orderOut: [implementation]
(void) - orderWindow:relativeTo: [implementation]
(void) - setLevel: [implementation]
(int) - level [implementation]
(BOOL) - isVisible [implementation]
(BOOL) - showsResizeIndicator [implementation]
(void) - setShowsResizeIndicator: [implementation]
(CGSize) - resizeIndicatorOffset [implementation]
(void) - setResizeIndicatorOffset: [implementation]
(void) - setContentView: [implementation]
(CPView- contentView [implementation]
(void) - setBackgroundColor: [implementation]
(CPColor) - backgroundColor [implementation]
(void) - setMinSize: [implementation]
(CGSize) - minSize [implementation]
(void) - setMaxSize: [implementation]
(CGSize) - maxSize [implementation]
(BOOL) - hasShadow [implementation]
(void) - setHasShadow: [implementation]
(void) - setDelegate: [implementation]
(id) - delegate [implementation]
(void) - setWindowController: [implementation]
(CPWindowController- windowController [implementation]
(void) - doCommandBySelector: [implementation]
(BOOL) - acceptsFirstResponder [implementation]
(void) - makeFirstResponder: [implementation]
(CPResponder- firstResponder [implementation]
(BOOL) - acceptsMouseMovedEvents [implementation]
(void) - setAcceptsMouseMovedEvents: [implementation]
(BOOL) - ignoresMouseEvents [implementation]
(void) - setIgnoresMouseEvents: [implementation]
(CPString- title [implementation]
(void) - setTitle: [implementation]
(void) - setTitleWithRepresentedFilename: [implementation]
(void) - setRepresentedFilename: [implementation]
(CPString- representedFilename [implementation]
(void) - setRepresentedURL: [implementation]
(CPURL) - representedURL [implementation]
(void) - setMovableByWindowBackground: [implementation]
(BOOL) - isMovableByWindowBackground [implementation]
(void) - center [implementation]
(void) - sendEvent: [implementation]
(int) - windowNumber [implementation]
(void) - becomeKeyWindow [implementation]
(BOOL) - canBecomeKeyWindow [implementation]
(BOOL) - isKeyWindow [implementation]
(void) - makeKeyAndOrderFront: [implementation]
(void) - makeKeyWindow [implementation]
(void) - resignKeyWindow [implementation]
(void) - dragImage:at:offset:event:pasteboard:source:slideBack: [implementation]
(void) - dragView:at:offset:event:pasteboard:source:slideBack: [implementation]
(void) - registerForDraggedTypes: [implementation]
(CPArray- registeredDraggedTypes [implementation]
(void) - unregisterDraggedTypes [implementation]
(void) - setDocumentEdited: [implementation]
(BOOL) - isDocumentEdited [implementation]
(void) - setDocumentSaving: [implementation]
(BOOL) - isDocumentSaving [implementation]
(void) - performClose: [implementation]
(void) - close [implementation]
(BOOL) - isMainWindow [implementation]
(BOOL) - canBecomeMainWindow [implementation]
(void) - makeMainWindow [implementation]
(void) - becomeMainWindow [implementation]
(void) - resignMainWindow [implementation]
(CPToolbar- toolbar [implementation]
(void) - setToolbar: [implementation]
(void) - toggleToolbarShown: [implementation]
(CPWindow- attachedSheet [implementation]
(BOOL) - isSheet [implementation]
(BOOL) - becomesKeyOnlyIfNeeded [implementation]
(BOOL) - worksWhenModal [implementation]
(void) - keyDown: [implementation]
(void) - insertNewline: [implementation]
(void) - insertTab: [implementation]
(void) - recalculateKeyViewLoop [implementation]
(void) - setAutorecalculatesKeyViewLoop: [implementation]
(BOOL) - autorecalculatesKeyViewLoop [implementation]
(void) - selectNextKeyView: [implementation]
(void) - selectPreviousKeyView: [implementation]
(void) - selectKeyViewFollowingView: [implementation]
(void) - selectKeyViewPrecedingView: [implementation]
(void) - setDefaultButtonCell: [implementation]
(CPButton- defaultButtonCell [implementation]
(void) - setDefaultButton: [implementation]
(CPButton- defaultButton [implementation]
(void) - enableKeyEquivalentForDefaultButton [implementation]
(void) - enableKeyEquivalentForDefaultButtonCell [implementation]
(void) - disableKeyEquivalentForDefaultButton [implementation]
(void) - disableKeyEquivalentForDefaultButtonCell [implementation]

Static Public Member Functions

(void) + initialize [implementation]
(CGRect) + frameRectForContentRect:styleMask: [implementation]


Detailed Description

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.

Delegate Methods
-(void)windowDidResize:(CPNotification)notification; Sent from the notification center when the window has been resized.
Parameters:
notification contains information about the resize event
-(CPUndoManager)windowWillReturnUndoManager:(CPWindow)window; Called to obtain the undo manager for a window
Parameters:
window the window for which to return the undo manager
Returns:
the window's undo manager
-(void)windowDidBecomeMain:(CPNotification)notification; Sent from the notification center when the delegate's window becomes the main window.
Parameters:
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.
Parameters:
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.
Parameters:
notification contains information about the event
-(BOOL)windowShouldClose:(id)window; Called when the user tries to close the window.
Parameters:
window the window to close
Returns:
YES allows the window to close. NO vetoes the close operation and leaves the window open.

Definition at line 236 of file CPWindow.j.


Member Function Documentation

- (BOOL) acceptsFirstResponder   [implementation]

Definition at line 1007 of file CPWindow.j.

- (BOOL) acceptsMouseMovedEvents   [implementation]

Definition at line 1047 of file CPWindow.j.

- (CPWindow) attachedSheet   [implementation]

Returns the window's attached sheet.

Definition at line 1683 of file CPWindow.j.

- (BOOL) autorecalculatesKeyViewLoop   [implementation]

Definition at line 1789 of file CPWindow.j.

- (void) awakeFromCib   [implementation]

Definition at line 440 of file CPWindow.j.

- (CPColor) backgroundColor   [implementation]

Returns the window's background color.

Definition at line 792 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 1247 of file CPWindow.j.

- (void) becomeMainWindow   [implementation]

Called to tell the receiver that it has become the main window.

Definition at line 1543 of file CPWindow.j.

- (BOOL) becomesKeyOnlyIfNeeded   [implementation]

Definition at line 1701 of file CPWindow.j.

- (BOOL) canBecomeKeyWindow   [implementation]

Determines if the window can become the key window.

Returns:
YES means the window can become the key window.

Definition at line 1257 of file CPWindow.j.

- (BOOL) canBecomeMainWindow   [implementation]

Returns YES if the window can become the main window.

Definition at line 1516 of file CPWindow.j.

- (void) center   [implementation]

Sets the window location to be the center of the screen

Definition at line 1153 of file CPWindow.j.

- (void) close   [implementation]

Closes the window. Posts a CPWindowWillCloseNotification to the notification center before closing the window.

Definition at line 1497 of file CPWindow.j.

- (CGRect) contentRectForFrameRect: (CGRect)  aFrame   [implementation]

Returns the receiver's content rectangle. A content rectangle does not include toolbars.

Parameters:
aFrame the window's frame rectangle

Definition at line 550 of file CPWindow.j.

- (CPView) contentView   [implementation]

Returns the window's current content view.

Definition at line 775 of file CPWindow.j.

- (CPButton) defaultButton   [implementation]

Definition at line 1841 of file CPWindow.j.

- (CPButton) defaultButtonCell   [implementation]

Definition at line 1827 of file CPWindow.j.

- (id) delegate   [implementation]

Returns window's delegate

Definition at line 977 of file CPWindow.j.

- (void) disableKeyEquivalentForDefaultButton   [implementation]

Definition at line 1856 of file CPWindow.j.

- (void) disableKeyEquivalentForDefaultButtonCell   [implementation]

Definition at line 1861 of file CPWindow.j.

- (void) doCommandBySelector: (SEL)  aSelector   [implementation]

Definition at line 999 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.

Parameters:
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 1319 of file CPWindow.j.

- (void) dragView: (CPView aView
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.

Parameters:
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 1356 of file CPWindow.j.

- (void) enableKeyEquivalentForDefaultButton   [implementation]

Definition at line 1846 of file CPWindow.j.

- (void) enableKeyEquivalentForDefaultButtonCell   [implementation]

Definition at line 1851 of file CPWindow.j.

- (CPResponder) firstResponder   [implementation]

Returns the window's current first responder.

Definition at line 1042 of file CPWindow.j.

- (CGRect) frame   [implementation]

Returns the window's frame rectangle

Definition at line 568 of file CPWindow.j.

- (CGRect) frameRectForContentRect: (CGRect)  aContentRect   [implementation]

Retrieves the frame rectangle for this window.

Parameters:
aContentRect the window's content rectangle
Returns:
the window's frame rectangle

Definition at line 560 of file CPWindow.j.

+ (CGRect) frameRectForContentRect: (CGRect)  aContentRect
styleMask: (unsigned)  aStyleMask 
[implementation]

Returns the frame rectangle used by a window.

Parameters:
aContentRect the content rectangle of the window
aStyleMask the style mask of the window
Returns:
the matching window's frame rectangle

Definition at line 541 of file CPWindow.j.

- (BOOL) hasShadow   [implementation]

Returns YES if the window has a drop shadow. NO otherwise.

Definition at line 879 of file CPWindow.j.

- (BOOL) ignoresMouseEvents   [implementation]

Definition at line 1057 of file CPWindow.j.

+ (void) initialize   [implementation]

Definition at line 305 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
Parameters:
aContentRect the size and location of the window in screen space
aStyleMask a style mask
Returns:
the initialized window

Definition at line 330 of file CPWindow.j.

- (id) initWithContentRect: (CGRect)  aContentRect
styleMask: (unsigned int)  aStyleMask
bridge: (CPDOMWindowBridge aBridge 
[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
Parameters:
aContentRect the size and location of the window in screen space
aStyleMask a style mask
aBridge a DOM-Window bridge object
Returns:
the initialized window

Definition at line 356 of file CPWindow.j.

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

Definition at line 1721 of file CPWindow.j.

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

Definition at line 1727 of file CPWindow.j.

- (BOOL) isDocumentEdited   [implementation]

Returns YES if the document has been edited.

Definition at line 1419 of file CPWindow.j.

- (BOOL) isDocumentSaving   [implementation]

Definition at line 1436 of file CPWindow.j.

- (BOOL) isFullBridge   [implementation]

Definition at line 522 of file CPWindow.j.

- (BOOL) isKeyWindow   [implementation]

Returns YES if the window is the key window.

Definition at line 1265 of file CPWindow.j.

- (BOOL) isMainWindow   [implementation]

Returns YES if this the main window.

Definition at line 1508 of file CPWindow.j.

- (BOOL) isMovableByWindowBackground   [implementation]

Returns YES if the window can be moved by dragging its background.

Definition at line 1145 of file CPWindow.j.

- (BOOL) isSheet   [implementation]

Returns YES if the window has ever run as a sheet.

Definition at line 1691 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 714 of file CPWindow.j.

- (void) keyDown: (CPEvent event   [implementation]

Definition at line 1715 of file CPWindow.j.

- (int) level   [implementation]

Returns the window's current level

Definition at line 706 of file CPWindow.j.

- (void) 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.

Returns:
YES if the attempt was successful. NO otherwise.

Definition at line 1019 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.

Parameters:
aSender the object requesting this

Definition at line 1274 of file CPWindow.j.

- (void) makeKeyWindow   [implementation]

Makes this window the key window.

Definition at line 1285 of file CPWindow.j.

- (void) makeMainWindow   [implementation]

Makes the receiver the main window.

Definition at line 1528 of file CPWindow.j.

- (CGSize) maxSize   [implementation]

Returns the window's maximum size.

Definition at line 871 of file CPWindow.j.

- (CGSize) minSize   [implementation]

Returns the windows minimum size.

Definition at line 831 of file CPWindow.j.

- (void) orderBack: (id)  aSender   [implementation]

Definition at line 660 of file CPWindow.j.

- (void) orderFront: (id)  aSender   [implementation]

Makes the receiver the front most window in the screen ordering.

Parameters:
aSender the object that requested this

Definition at line 650 of file CPWindow.j.

- (void) orderOut: (id)  aSender   [implementation]

Hides the window.

Parameters:
the object that requested this

Definition at line 669 of file CPWindow.j.

- (void) orderWindow: (CPWindowOrderingMode)  aPlace
relativeTo: (int)  otherWindowNumber 
[implementation]

Relocates the window in the screen list.

Parameters:
aPlace the positioning relative to otherWindowNumber
otherWindowNumber the window relative to which the receiver should be placed

Definition at line 689 of file CPWindow.j.

- (void) performClose: (id)  aSender   [implementation]

Simulates the user closing the window, then closes the window.

Parameters:
aSender the object making this request

Definition at line 1477 of file CPWindow.j.

- (void) recalculateKeyViewLoop   [implementation]

Definition at line 1753 of file CPWindow.j.

- (CPArray) registeredDraggedTypes   [implementation]

Returns an array of all types the receiver accepts for dragging operations.

Returns:
an array of CPPasteBoards

Definition at line 1381 of file CPWindow.j.

- (void) registerForDraggedTypes: (CPArray pasteboardTypes   [implementation]

Sets the receiver's list of acceptable data types for a dragging operation.

Parameters:
pasteboardTypes an array of CPPasteboards

Definition at line 1365 of file CPWindow.j.

- (CPString) representedFilename   [implementation]

Returns the path to the file the receiver represents

Definition at line 1110 of file CPWindow.j.

- (CPURL) representedURL   [implementation]

Returns the URL that the receiver represents

Definition at line 1126 of file CPWindow.j.

- (void) resignKeyWindow   [implementation]

Causes the window to resign it's key window status.

Definition at line 1300 of file CPWindow.j.

- (void) resignMainWindow   [implementation]

Called when the window resigns main window status.

Definition at line 1556 of file CPWindow.j.

- (CGSize) resizeIndicatorOffset   [implementation]

Returns the offset of the window's resize indicator.

Definition at line 739 of file CPWindow.j.

- (void) selectKeyViewFollowingView: (CPView aView   [implementation]

Definition at line 1806 of file CPWindow.j.

- (void) selectKeyViewPrecedingView: (CPView aView   [implementation]

Definition at line 1814 of file CPWindow.j.

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

Definition at line 1794 of file CPWindow.j.

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

Definition at line 1800 of file CPWindow.j.

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

Dispatches events that are sent to it from CPApplication.

Parameters:
anEvent the event to be dispatched

Definition at line 1165 of file CPWindow.j.

- (void) setAcceptsMouseMovedEvents: (BOOL)  shouldAcceptMouseMovedEvents   [implementation]

Definition at line 1052 of file CPWindow.j.

- (void) setAutorecalculatesKeyViewLoop: (BOOL)  shouldRecalculate   [implementation]

Definition at line 1779 of file CPWindow.j.

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

Sets the window's background color.

Parameters:
aColor the new color for the background

Definition at line 784 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.

Parameters:
aView the new content view for the receiver

Definition at line 758 of file CPWindow.j.

- (void) setDefaultButton: (CPButton aButton   [implementation]

Definition at line 1832 of file CPWindow.j.

- (void) setDefaultButtonCell: (CPButton aButton   [implementation]

Definition at line 1822 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.

Parameters:
aDelegate an object to respond to the various delegate methods of CPWindow

Definition at line 942 of file CPWindow.j.

- (void) setDocumentEdited: (BOOL)  isDocumentEdited   [implementation]

Sets whether the document has been edited.

Parameters:
isDocumentEdited YES if the document has been edited.

Definition at line 1406 of file CPWindow.j.

- (void) setDocumentSaving: (BOOL)  isDocumentSaving   [implementation]

Definition at line 1424 of file CPWindow.j.

- (void) setFrame: (CGRect)  aFrame   [implementation]

Sets the window's frame rectangle

Definition at line 598 of file CPWindow.j.

- (void) setFrame: (CGRect)  aFrame
display: (BOOL)  shouldDisplay
animate: (BOOL)  shouldAnimate 
[implementation]

Sets the window's frame rectangle. Also tells the window whether it should animate the resize operation, and redraw itself if necessary.

Parameters:
aFrame the new size and location for the window
shouldDisplay whether the window should redraw its views
shouldAnimate whether the window resize should be animated

Definition at line 580 of file CPWindow.j.

- (void) setFrameOrigin: (CGPoint)  anOrigin   [implementation]

Sets the window's location.

Parameters:
anOrigin the new location for the window

Definition at line 607 of file CPWindow.j.

- (void) setFrameSize: (CGSize)  aSize   [implementation]

Sets the window's size.

Parameters:
aSize the new size for the window

Definition at line 628 of file CPWindow.j.

- (void) setFullBridge: (BOOL)  shouldBeFullBridge   [implementation]

Definition at line 485 of file CPWindow.j.

- (void) setHasShadow: (BOOL)  shouldHaveShadow   [implementation]

Sets whether the window should have a drop shadow.

Parameters:
shouldHaveShadow YES to have a drop shadow.

Definition at line 888 of file CPWindow.j.

- (void) setIgnoresMouseEvents: (BOOL)  shouldIgnoreMouseEvents   [implementation]

Definition at line 1062 of file CPWindow.j.

- (void) setLevel: (int)  aLevel   [implementation]

Sets the window's level

Parameters:
the window's new level

Definition at line 698 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.

Parameters:
aSize the new maximum size

Definition at line 842 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 802 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.

Parameters:
shouldBeMovableByWindowBackground YES makes the window move from a background drag.

Definition at line 1137 of file CPWindow.j.

- (void) setRepresentedFilename: (CPString aFilePath   [implementation]

Sets the path to the file the receiver represents

Definition at line 1101 of file CPWindow.j.

- (void) setRepresentedURL: (CPURL)  aURL   [implementation]

Sets the URL that the receiver represents

Definition at line 1118 of file CPWindow.j.

- (void) setResizeIndicatorOffset: (CGSize)  anOffset   [implementation]

Sets the offset of the window's resize indicator.

Parameters:
aSize the offset for the resize indicator

Definition at line 748 of file CPWindow.j.

- (void) setShowsResizeIndicator: (BOOL)  shouldShowResizeIndicator   [implementation]

Sets the window's resize indicator.

Parameters:
shouldShowResizeIndicator YES sets the window to show its resize indicator.

Definition at line 731 of file CPWindow.j.

- (void) setTitle: (CPString aTitle   [implementation]

Sets the window's title bar string

Definition at line 1080 of file CPWindow.j.

- (void) setTitleWithRepresentedFilename: (CPString aFilePath   [implementation]

Sets the title bar to represent a file path

Definition at line 1092 of file CPWindow.j.

- (void) setToolbar: (CPToolbar aToolbar   [implementation]

Sets the window's toolbar.

Parameters:
aToolbar the window's new toolbar

Definition at line 1576 of file CPWindow.j.

- (void) setWindowController: (CPWindowController aWindowController   [implementation]

Sets the window's controller

Parameters:
aWindowController a window controller

Definition at line 986 of file CPWindow.j.

- (BOOL) showsResizeIndicator   [implementation]

Returns YES if the window's resize indicator is showing. NO otherwise.

Definition at line 722 of file CPWindow.j.

- (unsigned) styleMask   [implementation]

Returns the window's style mask.

Definition at line 530 of file CPWindow.j.

- (CPString) title   [implementation]

Returns the window's title bar string

Definition at line 1072 of file CPWindow.j.

- (void) toggleToolbarShown: (id)  aSender   [implementation]

Definition at line 1595 of file CPWindow.j.

- (CPToolbar) toolbar   [implementation]

Return's the window's toolbar

Definition at line 1567 of file CPWindow.j.

- (void) unregisterDraggedTypes   [implementation]

Resets the array of acceptable data types for a dragging operation.

Definition at line 1392 of file CPWindow.j.

- (CPWindowController) windowController   [implementation]

Returns the window's controller.

Definition at line 994 of file CPWindow.j.

- (int) windowNumber   [implementation]

Returns the window's number in the desktop's screen list

Definition at line 1238 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 1710 of file CPWindow.j.


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

Generated on Wed May 20 12:44:02 2009 for Cappuccino by  doxygen 1.5.8