Class TestSerialPortAction

java.lang.Object
javax.swing.AbstractAction
org.ka2ddo.yaac.gui.io.TestSerialPortAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class TestSerialPortAction extends AbstractAction
Provide the generic infrastructure for opening a test port (terminal window) on a SerialPort device.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • TestSerialPortAction

      public TestSerialPortAction(JComponent uiWidget, PortConfig config, AncestorListener ancestorListener, String typeDisplayNameTag)
      Create an Action for backing up a JButton that will launch a test window for manually exercising a serial port.
      Parameters:
      uiWidget - the JComponent that contains the launch button, used for parenting the dialog box
      config - PortConfig of the serial port being test
      ancestorListener - any AncestorListener that needs to be notified to flush config editing widget values into the PortConfig
      typeDisplayNameTag - String tag into resource bundles for the localized name of this port type
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      DO NOT CALL. Callback to trigger this TestSerialPortAction.
      Parameters:
      e - ActionEvent for the triggering condition