Class AboutAction

java.lang.Object
javax.swing.AbstractAction
org.opentcs.guing.application.action.app.AboutAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class AboutAction
extends javax.swing.AbstractAction
Displays a dialog showing information about the application.
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String ID
    This action's ID.

    Fields inherited from class javax.swing.AbstractAction

    changeSupport, enabled

    Fields inherited from interface javax.swing.Action

    ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
  • Constructor Summary

    Constructors 
    Constructor Description
    AboutAction​(org.opentcs.guing.application.ApplicationState appState, org.opentcs.access.SharedKernelServicePortalProvider portalProvider, java.awt.Component dialogParent)
    Creates a new instance.
  • Method Summary

    Modifier and Type Method Description
    void actionPerformed​(java.awt.event.ActionEvent evt)  

    Methods inherited from class javax.swing.AbstractAction

    addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.swing.Action

    accept
  • Field Details

  • Constructor Details

    • AboutAction

      @Inject public AboutAction​(org.opentcs.guing.application.ApplicationState appState, org.opentcs.access.SharedKernelServicePortalProvider portalProvider, java.awt.Component dialogParent)
      Creates a new instance.
      Parameters:
      appState - Stores the application's current state.
      portalProvider - Provides access to a portal.
      dialogParent - The parent component for dialogs shown by this action.
  • Method Details

    • actionPerformed

      public void actionPerformed​(java.awt.event.ActionEvent evt)