正在加载图片...
Event Information o An event object contains whatever properties are pertinent to the event You can identify the source object of the event using the getsourcen instance method in the eventobiect class o The subclasses of Eventobject deal with special types of events such as button actions window events component events, mouse movements, and keystrokes. Table 12.1 lists external user actions, source objects, and event types generated Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 6 Event Information ⚫An event object contains whatever properties are pertinent to the event. ⚫You can identify the source object of the event using the getSource() instance method in the EventObject class. ⚫The subclasses of EventObject deal with special types of events, such as button actions, window events, component events, mouse movements, and keystrokes. Table 12.1 lists external user actions, source objects, and event types generated
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有