The JDK 1.02 Event Class

In the JDK 1.02 inheritance model, the Event class encapsulates all Windows event processing. The Event class defines the entire list of events that is handled by window programs using class constants. These constants are used to identify the events that are passed to event-handling methods. You can review the Java API description of the Event class to familiarize yourself with these constants.

The Event class provides three constructors for creating events, but you probably won't need to use these constructors because the Java runtime system internally generates events in response to user interface actions. The Event class also provides methods for determining whether the Ctrl, Shift, or Meta (Alt) keys are pressed during the generation of an event.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.96.247