CPPlatformWindow Class Reference

List of all members.

Public Member Functions

(CGRect) - contentBounds [implementation]
(CGRect) - contentRect [implementation]
(CGPoint) - convertBaseToScreen: [implementation]
(CGPoint) - convertScreenToBase: [implementation]
(void) - copyEvent: [implementation]
(void) - createDOMElements [implementation]
(void) - deminiaturize: [implementation]
(void) - dragEvent: [implementation]
(CPWindow- hitTest: [implementation]
(id) - init [implementation]
(id) - initWithContentRect: [implementation]
(BOOL) - isVisible [implementation]
(void) - keyEvent: [implementation]
(CPDOMWindowLayer- layerAtLevel:create: [implementation]
(void) - miniaturize: [implementation]
(void) - mouseEvent: [implementation]
(void) - moveWindow:fromLevel:toLevel: [implementation]
(CGRect) - nativeContentRect [implementation]
(void) - order:window:relativeTo: [implementation]
(void) - orderBack: [implementation]
(CPArray- orderedWindowsAtLevel: [implementation]
(void) - orderFront: [implementation]
(void) - orderOut: [implementation]
(void) - pasteEvent: [implementation]
(void) - registerDOMWindow [implementation]
(void) - resizeEvent: [implementation]
(void) - scrollEvent: [implementation]
(void) - setContentRect: [implementation]
(void) - setHasShadow: [implementation]
(void) - setLevel: [implementation]
(void) - setShadowStyle: [implementation]
(BOOL) - supportsFullPlatformWindows [implementation]
(void) - touchEvent: [implementation]
(void) - updateFromNativeContentRect [implementation]
(void) - updateNativeContentRect [implementation]
(CGRect) - usableContentFrame [implementation]
(CGRect) - visibleFrame [implementation]

Static Public Member Functions

(void) + clearCharacterKeysToPreventFromPropagating [implementation]
(void) + clearKeyCodesToPreventFromPropagating [implementation]
(void) + preventCharacterKeyFromPropagating: [implementation]
(void) + preventCharacterKeysFromPropagating: [implementation]
(void) + preventKeyCodeFromPropagating: [implementation]
(void) + preventKeyCodesFromPropagating: [implementation]
(CPPlatformWindow+ primaryPlatformWindow [implementation]
(void) + setPrimaryPlatformWindow: [implementation]
(CPSet+ visiblePlatformWindows [implementation]

Detailed Description

Definition at line 31 of file CPPlatformWindow.j.


Member Function Documentation

+ (void) clearCharacterKeysToPreventFromPropagating   [implementation]

Clear the list of characters for which we are not sending keypresses to the browser.

Definition at line 1299 of file CPPlatformWindow+DOM.j.

+ (void) clearKeyCodesToPreventFromPropagating   [implementation]

Clear the list of keyCodes for which we are not sending keypresses to the browser.

Definition at line 1326 of file CPPlatformWindow+DOM.j.

- (CGRect) contentBounds   [implementation]

Definition at line 114 of file CPPlatformWindow.j.

- (CGRect) contentRect   [implementation]

Definition at line 109 of file CPPlatformWindow.j.

- (CGPoint) convertBaseToScreen: (CGPoint)  aPoint   [implementation]

Definition at line 160 of file CPPlatformWindow.j.

- (CGPoint) convertScreenToBase: (CGPoint)  aPoint   [implementation]

Definition at line 167 of file CPPlatformWindow.j.

- (void) copyEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 721 of file CPPlatformWindow+DOM.j.

- (void) createDOMElements   [implementation]

Definition at line 231 of file CPPlatformWindow+DOM.j.

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

Definition at line 183 of file CPPlatformWindow.j.

- (void) dragEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 473 of file CPPlatformWindow+DOM.j.

- (CPWindow) hitTest: (CPPoint)  location   [implementation]

Definition at line 1248 of file CPPlatformWindow+DOM.j.

- (id) init   [implementation]

Definition at line 104 of file CPPlatformWindow.j.

- (id) initWithContentRect: (CGRect)  aRect   [implementation]

Definition at line 85 of file CPPlatformWindow.j.

- (BOOL) isVisible   [implementation]

Definition at line 174 of file CPPlatformWindow.j.

- (void) keyEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 566 of file CPPlatformWindow+DOM.j.

- (CPDOMWindowLayer) layerAtLevel: (int)  aLevel
create: (BOOL)  aFlag 
[implementation]

Definition at line 1117 of file CPPlatformWindow+DOM.j.

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

Definition at line 191 of file CPPlatformWindow.j.

- (void) mouseEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 984 of file CPPlatformWindow+DOM.j.

- (void) moveWindow: (CPWindow aWindow
fromLevel: (int)  fromLevel
toLevel: (int)  toLevel 
[implementation]

Definition at line 199 of file CPPlatformWindow.j.

- (CGRect) nativeContentRect   [implementation]

Definition at line 169 of file CPPlatformWindow+DOM.j.

- (void) order: (CPWindowOrderingMode)  aPlace
window: (CPWindow aWindow
relativeTo: (CPWindow otherWindow 
[implementation]

Definition at line 1157 of file CPPlatformWindow+DOM.j.

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

Definition at line 225 of file CPPlatformWindow+DOM.j.

- (CPArray) orderedWindowsAtLevel: (int)  aLevel   [implementation]

Definition at line 1107 of file CPPlatformWindow+DOM.j.

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

Definition at line 438 of file CPPlatformWindow+DOM.j.

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

Definition at line 465 of file CPPlatformWindow+DOM.j.

- (void) pasteEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 750 of file CPPlatformWindow+DOM.j.

+ (void) preventCharacterKeyFromPropagating: (CPString character   [implementation]
Parameters:
character a character to stop propagating keypresses to the browser.

Definition at line 1291 of file CPPlatformWindow+DOM.j.

+ (void) preventCharacterKeysFromPropagating: (CPArray characters   [implementation]

When using command (mac) or control (windows), keys are propagated to the browser by default. To prevent a character key from propagating (to prevent its default action, and instead use it in your own application), use these methods. These methods are additive -- the list builds until you clear it.

Parameters:
characters a list of characters to stop propagating keypresses to the browser.

Definition at line 1282 of file CPPlatformWindow+DOM.j.

+ (void) preventKeyCodeFromPropagating: (CPString keyCode   [implementation]

Prevent this keyCode from sending its key events to the browser.

Parameters:
keyCode a keycode to prevent propagation.

Definition at line 1318 of file CPPlatformWindow+DOM.j.

+ (void) preventKeyCodesFromPropagating: (CPArray keyCodes   [implementation]

Prevent these keyCodes from sending their keypresses to the browser.

Parameters:
keyCodes an array of keycodes to prevent propagation.

Definition at line 1308 of file CPPlatformWindow+DOM.j.

+ (CPPlatformWindow) primaryPlatformWindow   [implementation]

Definition at line 75 of file CPPlatformWindow.j.

- (void) registerDOMWindow   [implementation]

Definition at line 260 of file CPPlatformWindow+DOM.j.

- (void) resizeEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 907 of file CPPlatformWindow+DOM.j.

- (void) scrollEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 822 of file CPPlatformWindow+DOM.j.

- (void) setContentRect: (CGRect)  aRect   [implementation]

Definition at line 145 of file CPPlatformWindow.j.

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

Definition at line 223 of file CPPlatformWindow.j.

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

Definition at line 213 of file CPPlatformWindow.j.

+ (void) setPrimaryPlatformWindow: (CPPlatformWindow aPlatformWindow   [implementation]

Definition at line 80 of file CPPlatformWindow.j.

- (void) setShadowStyle: (int)  aStyle   [implementation]

Definition at line 233 of file CPPlatformWindow.j.

- (BOOL) supportsFullPlatformWindows   [implementation]

Definition at line 243 of file CPPlatformWindow.j.

- (void) touchEvent: (DOMEvent)  aDOMEvent   [implementation]

Definition at line 938 of file CPPlatformWindow+DOM.j.

- (void) updateFromNativeContentRect   [implementation]

Definition at line 155 of file CPPlatformWindow.j.

- (void) updateNativeContentRect   [implementation]

Definition at line 200 of file CPPlatformWindow+DOM.j.

- (CGRect) usableContentFrame   [implementation]

Definition at line 140 of file CPPlatformWindow.j.

- (CGRect) visibleFrame   [implementation]

Definition at line 123 of file CPPlatformWindow.j.

+ (CPSet) visiblePlatformWindows   [implementation]

Definition at line 70 of file CPPlatformWindow.j.


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

Generated on Fri Apr 9 11:04:21 2010 for Cappuccino API by  doxygen 1.6.1