Patent ID: 6930695

Claim:
In a computer system, a method of detecting input device support of a screen element of a graphical user interface, comprising: examining program code associated with a screen element of a graphical user interface to detect an ability to process an input device event, wherein the examining is performed upon execution of the graphical user interface; automatically identifying the screen element as supporting the input device when input device-handling program code is detected within the program code is associated with the screen element, the input device-handling program code signifying the ability to process the input device event; marking the screen element in response to automatically identifying the screen element as supporting the input device; automatically identifying the screen element as not supporting the input device when input device-handling program code is not detected within the program code associated with the screen element; and examining program code associated with a preceding superclass of the screen element to detect the ability to process the input device event, wherein examining the program code associated with the preceding superclass is performed in response to automatically identifying the screen element as not supporting the input device.