Method and apparatus for operating a virtual keyboard
First Claim
1. A computer implemented method of operating a platform independent virtual keyboard allowing input to a plurality of open Java™
- applications running under one instance of a Java™
Virtual Machine comprising the steps of;
(a) launching an embedded desktop comprising a core, and at least a service vendor plug-in and a user interface plug-in, wherein said embedded desktop communicates with said plurality of open Java™
applications and said Java™
Virtual Machine;
(b) generating input means for presentation on a touch sensitive display screen and presenting the user interface of said open Java™
applications to said touch sensitive display screen;
(c) invoking a virtual keyboard manager which communicates with said virtual keyboard and said embedded desktop;
(d) adding said virtual keyboard manager as a focus listener to all active components and a container listener to all active containers;
(e) upon selection of a first component by a user, updating said virtual keyboard manager with a focus gained event;
(f) referencing said virtual keyboard to said selected first component;
(g) communicating a simulated key event to said referenced component for each key on said virtual keyboard selected by a user;
(h) upon selection of a second component by said user, updating said virtual keyboard manager with a focus lost event associated with said first component and updating said virtual keyboard manager with a focus gained event associated with said second component;
(i) referencing said virtual keyboard to said selected second component;
(j) upon the removal of a container or its children, updating said virtual keyboard manager; and
(k) upon the addition of a container or its children, updating said virtual keyboard manager.
3 Assignments
0 Petitions
Accused Products
Abstract
In a Java™ environment, a virtual keyboard is provided which is platform independent and which operates without modification to the Java™ applications with which it interacts. The virtual keyboard is integral to an embedded desktop which communicates between the Java™ Virtual Machine and any Java™ applications running on the system. The virtual keyboard comprises a simulated keyboard which is presented to a user on a touch screen and a virtual keyboard manager. The virtual keyboard manager acts as a focus listener for all components generated by the user interface of the applications running on the system. As a user engages components, focus events are tracked by the virtual keyboard manager, so that that the simulated keyboard will always reference the component selected by the user. The virtual keyboard manager also acts as a container listener, adding and removing containers (and their children) as applications are opened and closed or as the user interface of an application changes dynamically during use. The tracking of containers serves to facilitate garbage collection of Java™ objects.
73 Citations
19 Claims
-
1. A computer implemented method of operating a platform independent virtual keyboard allowing input to a plurality of open Java™
- applications running under one instance of a Java™
Virtual Machine comprising the steps of;(a) launching an embedded desktop comprising a core, and at least a service vendor plug-in and a user interface plug-in, wherein said embedded desktop communicates with said plurality of open Java™
applications and said Java™
Virtual Machine;
(b) generating input means for presentation on a touch sensitive display screen and presenting the user interface of said open Java™
applications to said touch sensitive display screen;
(c) invoking a virtual keyboard manager which communicates with said virtual keyboard and said embedded desktop;
(d) adding said virtual keyboard manager as a focus listener to all active components and a container listener to all active containers;
(e) upon selection of a first component by a user, updating said virtual keyboard manager with a focus gained event;
(f) referencing said virtual keyboard to said selected first component;
(g) communicating a simulated key event to said referenced component for each key on said virtual keyboard selected by a user;
(h) upon selection of a second component by said user, updating said virtual keyboard manager with a focus lost event associated with said first component and updating said virtual keyboard manager with a focus gained event associated with said second component;
(i) referencing said virtual keyboard to said selected second component;
(j) upon the removal of a container or its children, updating said virtual keyboard manager; and
(k) upon the addition of a container or its children, updating said virtual keyboard manager. - View Dependent Claims (3, 4, 5, 6, 7, 8)
- applications running under one instance of a Java™
-
2. A computer implemented method of operating a platform independent virtual keyboard allowing input to an open Java™
- application running on top of a Java™
Virtual Machine comprising the steps of;(a) generating input means for presentation on a touch sensitive display screen and presenting the user interface of said open Java™
application to said touch sensitive display screen;
(b) invoking a virtual keyboard manager which communicates with said virtual keyboard and said open Java™
application;
(c) adding said virtual keyboard manager as a focus listener to all active components, and a container listener to all active containers;
(d) upon selection of a first component by a user, updating said virtual keyboard manager with a focus gained event;
(e) referencing said virtual keyboard to said selected first component;
(f) communicating a simulated key event to said referenced component for each key on said virtual keyboard selected by a user;
(g) upon selection of a second component by said user, updating said virtual keyboard manager with a focus lost event associated with said first component and updating said virtual keyboard manager with a focus gained event associated with said second component;
(h) referencing said virtual keyboard to said selected second component;
(i) upon removal of a container or its children, updating said virtual keyboard manager; and
(j) upon addition of a container or its children, updating said virtual keyboard manager.
- application running on top of a Java™
-
9. In a computer comprising storage means, a central processing unit, an operating system, a Java™
- Virtual Machine, an embedded desktop running a plurality of Java™
applications under one instance of a Java™
Virtual Machine, said embedded desktop stored in said storage means and comprising at least a core, a service vendor plug-in and a user interface plug-in, a virtual keyboard comprising;(a) input means; and
(b) a virtual keyboard manager communicating with said input means and said embedded desktop;
wherein said embedded desktop communicates with said plurality of Java™
applications and said Java™
Virtual Machine;
and wherein said input means and the user interface of said Java™
applications are presented to a touch sensitive display screen when said embedded desktop and said plurality of Java™
applications are opened;
and wherein said virtual keyboard manager is added as a focus listener for all active components, and a container listener for all active containers;
and wherein said virtual keyboard manager is updated with a focus gained event upon selection of a first component by a user;
and wherein said virtual keyboard is referenced to said selected first component;
and wherein a simulated key event is communicated to said referenced component for each key on said virtual keyboard selected by a user;
and wherein said virtual keyboard manager is updated with a focus lost event associated with said first component and said virtual keyboard manager is updated with a focus gained event associated with said second component;
and wherein said virtual keyboard is referenced to said selected second component;
and wherein said virtual keyboard manager is updated upon the removal of a container or its children;
and wherein said virtual keyboard manager is updated upon the addition of a container or its children. - View Dependent Claims (11, 12, 13, 14)
- Virtual Machine, an embedded desktop running a plurality of Java™
-
10. In a computer comprising storage means, a central processing unit, an operating system, a Java™
- Virtual Machine, and a Java™
application running on top of said Java™
Virtual Machine, a virtual keyboard comprising;(c) input means; and
(d) a virtual keyboard manager communicating with said input means and said Java application;
and wherein said input means and the user interface of said Java™
applications are presented to a touch sensitive display screen when said Java™
application is opened;
and wherein said virtual keyboard manager is added as a focus listener for all active components, and a container listener for all active containers;
and wherein said virtual keyboard manager is updated with a focus gained event upon selection of a first component by a user;
and wherein said virtual keyboard is referenced to said selected first component;
and wherein a simulated key event is communicated to said referenced component for each key on said virtual keyboard selected by a user;
and wherein said virtual keyboard manager is updated with a focus lost event associated with said first component and said virtual keyboard manager is updated with a focus gained event associated with said second component;
and wherein said virtual keyboard is referenced to said selected second component;
and wherein said virtual keyboard manager is updated upon the removal of a container or its children;
and wherein said virtual keyboard manager is updated upon the addition of a container or its children.
- Virtual Machine, and a Java™
-
15. A computer-readable medium having stored thereon, computer-executable instructions which, when executed by a processor, cause the processor to perform the steps of:
-
(a) launching an embedded desktop comprising a core and at least a service vendor plug-in and a user interface plug-in, wherein said embedded desktop communicates with a plurality of open Java™
applications and a Java™
Virtual Machine;
(b) generating a virtual keyboard for presentation on a touch sensitive display screen and presenting the user interface of said open Java™
applications to said touch sensitive display screen;
(c) invoking a virtual keyboard manager which communicates with said virtual keyboard;
(d) adding said virtual keyboard manager as a focus listener to all active components and as a container listener to all active containers;
(e) upon selection of a first component by a user, updating said virtual keyboard manager with a focus gained event;
(f) referencing said virtual keyboard to said selected first component;
(g) communicating a simulated key event to said referenced component for each key on said virtual keyboard selected by a user;
(h) upon selection of a second component by said user, updating said virtual keyboard manager with a focus lost event associated with said first component and updating said virtual keyboard manager with a focus gained event associated with said second component;
(i) referencing said virtual keyboard to said selected second component;
(j) updating said virtual keyboard manager upon the removal of a container; and
(k) updating said virtual keyboard manager upon the addition of a container. - View Dependent Claims (16, 17, 18, 19)
-
Specification