## Uses of Class
java.awt.event.ActionEvent

- Packages that use ActionEvent
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
  java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
  javax.swing.text.html | Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.
  javax.swing.tree | Provides classes and interfaces for dealing with `javax.swing.JTree`.

- - ### Uses of ActionEvent in java.awt

    Methods in java.awt with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | List.AccessibleAWTList.`actionPerformed(ActionEvent event)`
    `void` | AWTEventMulticaster.`actionPerformed(ActionEvent e)` Handles the actionPerformed event by invoking the actionPerformed methods on listener-a and listener-b.
    `protected void` | TextField.`processActionEvent(ActionEvent e)` Processes action events occurring on this text field by dispatching them to any registered `ActionListener` objects.
    `protected void` | MenuItem.`processActionEvent(ActionEvent e)` Processes action events occurring on this menu item, by dispatching them to any registered `ActionListener` objects.
    `protected void` | List.`processActionEvent(ActionEvent e)` Processes action events occurring on this component by dispatching them to any registered `ActionListener` objects.
    `protected void` | Button.`processActionEvent(ActionEvent e)` Processes action events occurring on this button by dispatching them to any registered `ActionListener` objects.

  - ### Uses of ActionEvent in java.awt.dnd

    Methods in java.awt.dnd with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | DropTarget.DropTargetAutoScroller.`actionPerformed(ActionEvent e)` cause autoscroll to occur

  - ### Uses of ActionEvent in java.awt.event

    Methods in java.awt.event with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ActionListener.`actionPerformed(ActionEvent e)` Invoked when an action occurs.

  - ### Uses of ActionEvent in javax.swing

    Methods in javax.swing with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ToolTipManager.insideTimerAction.`actionPerformed(ActionEvent e)`
    `void` | ToolTipManager.outsideTimerAction.`actionPerformed(ActionEvent e)`
    `void` | ToolTipManager.stillInsideTimerAction.`actionPerformed(ActionEvent e)`
    `void` | JComboBox.`actionPerformed(ActionEvent e)` This method is public as an implementation side effect.
    `void` | DefaultCellEditor.EditorDelegate.`actionPerformed(ActionEvent e)` When an action is performed, editing is ended.
    `protected void` | Timer.`fireActionPerformed(ActionEvent e)` Notifies all listeners that have registered interest for notification on this event type.
    `protected void` | DefaultButtonModel.`fireActionPerformed(ActionEvent e)` Notifies all listeners that have registered interest for notification on this event type.
    `protected void` | AbstractButton.`fireActionPerformed(ActionEvent event)` Notifies all listeners that have registered interest for notification on this event type.

  - ### Uses of ActionEvent in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicTreeUI.ComponentHandler.`actionPerformed(ActionEvent ae)` Public as a result of Timer.
    `void` | BasicTreeUI.TreeTraverseAction.`actionPerformed(ActionEvent e)`
    `void` | BasicTreeUI.TreePageAction.`actionPerformed(ActionEvent e)`
    `void` | BasicTreeUI.TreeIncrementAction.`actionPerformed(ActionEvent e)`
    `void` | BasicTreeUI.TreeHomeAction.`actionPerformed(ActionEvent e)`
    `void` | BasicTreeUI.TreeToggleAction.`actionPerformed(ActionEvent e)`
    `void` | BasicTreeUI.TreeCancelEditingAction.`actionPerformed(ActionEvent e)`
    `void` | BasicSplitPaneUI.KeyboardUpLeftHandler.`actionPerformed(ActionEvent ev)`
    `void` | BasicSplitPaneUI.KeyboardDownRightHandler.`actionPerformed(ActionEvent ev)`
    `void` | BasicSplitPaneUI.KeyboardHomeHandler.`actionPerformed(ActionEvent ev)`
    `void` | BasicSplitPaneUI.KeyboardEndHandler.`actionPerformed(ActionEvent ev)`
    `void` | BasicSplitPaneUI.KeyboardResizeToggleHandler.`actionPerformed(ActionEvent ev)`
    `void` | BasicSliderUI.ScrollListener.`actionPerformed(ActionEvent e)`
    `void` | BasicSliderUI.ActionScroller.`actionPerformed(ActionEvent e)`
    `void` | BasicScrollBarUI.ScrollListener.`actionPerformed(ActionEvent e)`
    `void` | BasicOptionPaneUI.ButtonActionListener.`actionPerformed(ActionEvent e)`
    `void` | BasicInternalFrameTitlePane.CloseAction.`actionPerformed(ActionEvent e)`
    `void` | BasicInternalFrameTitlePane.MaximizeAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicInternalFrameTitlePane.IconifyAction.`actionPerformed(ActionEvent e)`
    `void` | BasicInternalFrameTitlePane.RestoreAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicInternalFrameTitlePane.MoveAction.`actionPerformed(ActionEvent e)`
    `void` | BasicInternalFrameTitlePane.SizeAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.NewFolderAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.GoHomeAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.ChangeToParentDirectoryAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.ApproveSelectionAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.CancelSelectionAction.`actionPerformed(ActionEvent e)`
    `void` | BasicFileChooserUI.UpdateAction.`actionPerformed(ActionEvent e)`
    `void` | BasicDesktopPaneUI.OpenAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicDesktopPaneUI.CloseAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicDesktopPaneUI.MinimizeAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicDesktopPaneUI.MaximizeAction.`actionPerformed(ActionEvent evt)`
    `void` | BasicDesktopPaneUI.NavigateAction.`actionPerformed(ActionEvent evt)`

  - ### Uses of ActionEvent in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | MetalFileChooserUI.DirectoryComboBoxAction.`actionPerformed(ActionEvent e)`

  - ### Uses of ActionEvent in javax.swing.text

    Methods in javax.swing.text with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | StyledEditorKit.FontFamilyAction.`actionPerformed(ActionEvent e)` Sets the font family.
    `void` | StyledEditorKit.FontSizeAction.`actionPerformed(ActionEvent e)` Sets the font size.
    `void` | StyledEditorKit.ForegroundAction.`actionPerformed(ActionEvent e)` Sets the foreground color.
    `void` | StyledEditorKit.AlignmentAction.`actionPerformed(ActionEvent e)` Sets the alignment.
    `void` | StyledEditorKit.BoldAction.`actionPerformed(ActionEvent e)` Toggles the bold attribute.
    `void` | StyledEditorKit.ItalicAction.`actionPerformed(ActionEvent e)` Toggles the italic attribute.
    `void` | StyledEditorKit.UnderlineAction.`actionPerformed(ActionEvent e)` Toggles the Underline attribute.
    `void` | DefaultEditorKit.DefaultKeyTypedAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.InsertContentAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.InsertBreakAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.InsertTabAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.CutAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.CopyAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.PasteAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `void` | DefaultEditorKit.BeepAction.`actionPerformed(ActionEvent e)` The operation to perform when this action is triggered.
    `protected JEditorPane` | StyledEditorKit.StyledTextAction.`getEditor(ActionEvent e)` Gets the target editor for an action.
    `protected JTextComponent` | TextAction.`getTextComponent(ActionEvent e)` Determines the component to use for the action.

  - ### Uses of ActionEvent in javax.swing.text.html

    Methods in javax.swing.text.html with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | HTMLEditorKit.InsertHTMLTextAction.`actionPerformed(ActionEvent ae)` Inserts the HTML into the document.
    `void` | FormView.`actionPerformed(ActionEvent evt)` Responsible for processeing the ActionEvent.

  - ### Uses of ActionEvent in javax.swing.tree

    Methods in javax.swing.tree with parameters of type ActionEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultTreeCellEditor.`actionPerformed(ActionEvent e)` Messaged when the timer fires, this will start the editing session.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.