Method for keystroke delivery to descendants of inactive windows
AssigneeSun Microsystems, Inc.
InventorsHania Gajewska, David P. Mendenhall
Life of this patent
Estimating the term…
Abstract
A method for delivering keystrokes to descendants of an inactive window includes remembering a descendant of the inactive window as the next focus owner when the descendant receives a focus-in event, creating a focus proxy for the inactive window and issuing a request to set focus to the focus proxy, marking the next focus owner as the true focus owner when the focus proxy receives a focus-in event, and directing the focus-in event received by the focus proxy to the true focus owner.
Claims37
A method for delivering keystrokes to descendants of an undecorated inactive window within a Java™ environment, comprising:
- remembering a descendant of said undecorated inactive window as a next focus owner when the descendant receives a focus-in event;
- creating a focus proxy for said undecorated inactive window and issuing a request to set focus to the focus proxy;
- marking the next focus owner as the true focus owner when the focus proxy receives a focus-in event;
- directing the focus-in event received by the focus proxy to the true focus owner;
- and discarding a native focus-out event received by the descendant wherein the-native focus-out event is generated in response to the request to set focus to the focus proxy.
A method for delivering keystrokes to descendants of an undecorated inactive window within a Java™ environment, comprising:
- remembering a descendant of said undecorated inactive window as a next focus owner when the descendant receives a focus-in event;
- creating a focus proxy for said undecorated inactive window and issuing a request to set focus to the focus proxy;
- marking the next focus owner as the true focus owner when the focus proxy receives a focus-in event;
- directing the focus-in event received by the focus proxy to the true focus owner;
- and determining a component gaining focus when the focus proxy receives a focus-out event.
A method for delivering keystrokes to descendants of an undecorated inactive window within a Java™ environment, comprising:
- remembering a descendant of said undecorated inactive window as a next focus owner when the descendant receives a focus-in event;
- creating a focus proxy for said undecorated inactive window and issuing a request to set focus to the focus proxy;
- marking the next focus owner as the true focus owner when the focus proxy receives a focus-in event;
- directing the focus-in event received by the focus proxy to the true focus owner;
- directing the key event received by the focus proxy to the true focus owner;
- and discarding a native focus-out event received by the descendant wherein the-native focus-out event is generated in response to the request to set focus to the focus proxy.
A method for delivering keystrokes to descendants of an undecorated inactive window within a Java™ environment, comprising:
- creating a focus proxy for said undecorated inactive window and directing a key event received by the focus proxy to a descendant of said undecorated inactive window;
- and discarding a native focus-out event received by the descendant, wherein the native focus-out event is generated in response to the request to set focus to the focus proxy.
A computer-readable medium having stored thereon a program which is executable by a processor, the program comprising instructions for:
- creating a focus proxy for an undecorated inactive window within a Java™ environment and directing a key event received by the focus proxy to a selected descendant of said undecorated inactive window;
- and discarding a native focus-out event received by the descendant, wherein the native focus-out event is generated in response to the request to set focus to the focus proxy.
Dependencies are inferred from the claim text.