Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
This guide has been written in consultation with an event industry working group and with the co-operation of a great many people. All contributors, including the members of the working group, are listed at the back of the publication in the Acknowledgements section. I am grateful to them for the time, knowledge and expertise which was given freely and without which, this guide would not be possible. I would like to give particular thanks to Lorraine Miller-Patel, Senior Environmental Health Officer, London Borough of Haringey, who had the unenviable task of co-ordinating the work of this project. . | 21 java.awt.event Reference 21.1 ActionEvent Description Action events are fired off when the user performs an action on a component such as pushing a button double-clicking on a list item or selecting a menu item. There is only one action event type ACTION_PERFORMED. Class Definition public class java.awt.event.ActionEvent extends java.awt.AWTEvent Constants public final static int ACTION_FIRST public final static public final static public final static public final static public final static public final static int ACTION_LAST int ACTION_PERFORMED int ALT_MASK int CTRL_MASK int META_MASK int SHIFT_MASK Constructors public ActionEvent Object source int id String command public ActionEvent Object source int id String command int modifiers Instance Methods public String getActionCommand public int getModifiers 831 832 ActionEvent public String paramString Constants ACTION_FIRST public final static int ACTION_FIRST Specifies the beginning range of action event ID values. ACTION_LAST public final static int ACTION_LAST Specifies the ending range of action event ID values. ACTION_PERFORMED public final static int ACTION_PERFORMED The only action event type it indicates that the user has performed an action. ALT_MASK public final static int ALT_MASK a constant representing the alt key. ORed with other masks to form modifiers setting of an AWTEvent. CTRL_MASK public final static int CTRL_MASK A constant representing the control key. ORed with other masks to form modifiers setting of an AWTEvent. META_MASK public final static int META_MASK a constant representing the meta key. ORed with other masks to form modifiers setting of an AWTEvent. ActionEvent 833 SHIFT_MASK public final static int SHIFT_MASK a constant representing the Shift key. ORed with other masks to form modifiers setting of an AWTEvent. Constructors ActionEvent public ActionEvent Object source int id String command Parameters source The object that generated the event. id The type ID of the event. command .