Table 1
Events and supporting components.
EVENT | SUPPORTING COMPONENTS |
ActionEvent | Button, List, TextField, MenuItem and its derivatives, including CheckboxMenuItem, Menu, and PopupMenu |
AdjustmentEvent | Scrollbar and anything you create that implements Adjustable |
ComponentEvent | Component and its derivatives, including Button, Canvas, Checkbox, Choice, Container, Panel, Applet, ScrollPane, Window, Dialog, FileDialog, Frame, Label, List, Scrollbar, TextArea, and TextField |
ContainerEvent | Container and its derivatives, including Panel, Applet, ScrollPane, Window, Dialog, FileDialog, and Frame |
FocusEvent | Component and its derivatives, including Button, Canvas, Checkbox, Choice, Container, Panel, Applet, ScrollPane, Window, Dialog, FileDialog, Frame, Label, List, Scrollbar, TextArea, and TextField |
KeyEvent | Component and its derivatives, including Button, Canvas, Checkbox, Choice, Container, Panel, Applet, ScrollPane, Window, Dialog, FileDialog, Frame, Label, List, Scrollbar, TextArea, and TextField, MouseEvent (for both clicks and motion) |
MouseListener | Component and its derivatives, including Button, Canvas, Checkbox, Choice, Container, Panel, Applet, ScrollPane, Window, Dialog, FileDialog, Frame, Label, List, Scrollbar, TextArea, and TextField |
MouseEvent (for both clicks and motion) | Component and its derivatives, including Button, Canvas, Checkbox, Choice, Container, Panel, Applet, ScrollPane, Window, Dialog, FileDialog, Frame, Label, List, Scrollbar, TextArea, and TextField |
WindowEvent | Window and its derivatives, including Dialog, FileDialog, and Frame |
ItemEvent | Checkbox, CheckboxMenuItem, Choice, List , and anything that implements ItemSelectable |
TextEvent | Anything derived from TextComponent, including TextArea and TextField |