Public Member Functions | |
(id) | - initWithFrame: [implementation] |
(CPRect) | - frame [implementation] |
(CGRect) | - visibleFrame [implementation] |
(CPRect) | - contentBounds [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 407 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 434 of file CPDOMWindowBridge.j.
- (CPRect) contentBounds | [implementation] |
Definition at line 223 of file CPDOMWindowBridge.j.
- (CPRect) frame | [implementation] |
Definition at line 201 of file CPDOMWindowBridge.j.
- (CPWindow) hitTest: | (CPPoint) | location | [implementation] |
Definition at line 318 of file CPDOMWindowBridge.j.
- (id) initWithFrame: | (CPRect) | aFrame | [implementation] |
Definition at line 87 of file CPDOMWindowBridge.j.
- (CPDOMWindowLayer) layerAtLevel: | (int) | aLevel | ||
create: | (BOOL) | aFlag | ||
[implementation] |
Definition at line 228 of file CPDOMWindowBridge.j.
- (void) order: | (CPWindowOrderingMode) | aPlace | ||
window: | (CPWindow) | aWindow | ||
relativeTo: | (CPWindow) | otherWindow | ||
[implementation] |
Definition at line 264 of file CPDOMWindowBridge.j.
- (void) preventCharacterKeyFromPropagating: | (CPString) | character | [implementation] |
character | a character to stop propagating keypresses to the browser. |
Definition at line 399 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 390 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 426 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 416 of file CPDOMWindowBridge.j.
+ (id) sharedDOMWindowBridge | [implementation] |
Returns the shared DOMWindowBridge.
Definition at line 79 of file CPDOMWindowBridge.j.
- (CGRect) visibleFrame | [implementation] |
Definition at line 206 of file CPDOMWindowBridge.j.