Public Member Functions | |
(id) | - initWithFrame: [implementation] |
(CPRect) | - frame [implementation] |
(CGRect) | - visibleFrame [implementation] |
(CPRect) | - contentBounds [implementation] |
(CPArray) | - orderedWindowsAtLevel: [implementation] |
(CPDOMWindowLayer) | - layerAtLevel:create: [implementation] |
(void) | - order:window:relativeTo: [implementation] |
(CPWindow) | - hitTest: [implementation] |
(void) | - preventCharacterKeysFromPropagating: [implementation] |
(void) | - preventCharacterKeyFromPropagating: [implementation] |
(void) | - clearCharacterKeysToPreventFromPropagating [implementation] |
(void) | - preventKeyCodesFromPropagating: [implementation] |
(void) | - preventKeyCodeFromPropagating: [implementation] |
(void) | - clearKeyCodesToPreventFromPropagating [implementation] |
Static Public Member Functions | |
(id) | + sharedDOMWindowBridge [implementation] |
Definition at line 43 of file CPDOMWindowBridge.j.
- (void) clearCharacterKeysToPreventFromPropagating | [implementation] |
Clear the list of characters for which we are not sending keypresses to the browser.
Definition at line 427 of file CPDOMWindowBridge.j.
- (void) clearKeyCodesToPreventFromPropagating | [implementation] |
Clear the list of keyCodes for which we are not sending keypresses to the browser.
Definition at line 454 of file CPDOMWindowBridge.j.
- (CPRect) contentBounds | [implementation] |
Definition at line 234 of file CPDOMWindowBridge.j.
- (CPRect) frame | [implementation] |
Definition at line 212 of file CPDOMWindowBridge.j.
- (CPWindow) hitTest: | (CPPoint) | location | [implementation] |
Definition at line 334 of file CPDOMWindowBridge.j.
- (id) initWithFrame: | (CPRect) | aFrame | [implementation] |
Definition at line 85 of file CPDOMWindowBridge.j.
- (CPDOMWindowLayer) layerAtLevel: | (int) | aLevel | ||
create: | (BOOL) | aFlag | ||
[implementation] |
Definition at line 249 of file CPDOMWindowBridge.j.
- (void) order: | (CPWindowOrderingMode) | aPlace | ||
window: | (CPWindow) | aWindow | ||
relativeTo: | (CPWindow) | otherWindow | ||
[implementation] |
Definition at line 285 of file CPDOMWindowBridge.j.
- (CPArray) orderedWindowsAtLevel: | (int) | aLevel | [implementation] |
Definition at line 239 of file CPDOMWindowBridge.j.
- (void) preventCharacterKeyFromPropagating: | (CPString) | character | [implementation] |
character | a character to stop propagating keypresses to the browser. |
Definition at line 419 of file CPDOMWindowBridge.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.
characters | a list of characters to stop propagating keypresses to the browser. |
Definition at line 410 of file CPDOMWindowBridge.j.
- (void) preventKeyCodeFromPropagating: | (CPString) | keyCode | [implementation] |
Prevent this keyCode from sending its key events to the browser.
keyCode | a keycode to prevent propagation. |
Definition at line 446 of file CPDOMWindowBridge.j.
- (void) preventKeyCodesFromPropagating: | (CPArray) | keyCodes | [implementation] |
Prevent these keyCodes from sending their keypresses to the browser.
keyCodes | an array of keycodes to prevent propagation. |
Definition at line 436 of file CPDOMWindowBridge.j.
+ (id) sharedDOMWindowBridge | [implementation] |
Returns the shared DOMWindowBridge.
Definition at line 77 of file CPDOMWindowBridge.j.
- (CGRect) visibleFrame | [implementation] |
Definition at line 217 of file CPDOMWindowBridge.j.