Sunday, July 16, 2023

Main Event Classes in java.awt.event

 

Event ClassDescription
ActionEventGenerated when a button is pressed, a list item is double-clicked, or a menu item is selected.
AdjustmentEventGenerated when a scroll bar is manipulated.
ComponentEventGenerated when a component is hidden, moved, resized, or becomes visible.
ContainerEventGenerated when a component is added to or removed from a container.
FocusEventGenerated when a component gains or loses keyboard focus.
InputEvent Abstract superclass for all component input event classes.
ItemEventGenerated when a check box or list item is clicked; also occurs when a choice selection is made or a checkable menu item is selected or deselected.
KeyEventGenerated when input is received from the keyboard.
MouseEventGenerated when the mouse is dragged, moved, clicked, pressed, or released; also generated when the mouse enters or exits a component.
MouseWheelEventGenerated when the mouse wheel is moved
TextEventGenerated when the value of a text area or text field is changed.
WindowEventGenerated when a window is activated, closed, deactivated, deiconified, iconified, opened, or quit.

No comments:

Post a Comment