Class MessageSenderPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, FontChangeListener, PortStatusListener

public class MessageSenderPanel extends JPanel implements ActionListener, FontChangeListener, PortStatusListener
This panel contains the fields necessary to compose and send a APRS message to an arbitrary recipient.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • MessageSenderPanel

      public MessageSenderPanel()
      Create a MessageSenderPanel.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Handle button clicks for the MessageSenderPanel, which initiate transmitting an APRS text message,
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      e - ActionEvent identifying the clicked button (ignored)
    • isThisOneOfMyComponents

      public boolean isThisOneOfMyComponents(Object source)
      Test if the specified widget is on this MessageSenderPanel.
      Parameters:
      source - Component or model to be tested
      Returns:
      boolean true if the specified object is in the GUI hierarchy of this MessageSenderPanel
    • fontChanged

      public void fontChanged(String category, Font newFont)
      Report that the font choice for the specified category has changed.
      Specified by:
      fontChanged in interface FontChangeListener
      Parameters:
      category - String font family name (as defined by Font class)
      newFont - actual font instance
    • portClosed

      public void portClosed(PortConnector connector)
      The specified port has been closed.
      Specified by:
      portClosed in interface PortStatusListener
      Parameters:
      connector - PortConnector that was closed
    • portOpened

      public void portOpened(PortConnector connector)
      The specified port has been successfully opened.
      Specified by:
      portOpened in interface PortStatusListener
      Parameters:
      connector - PortConnector that was opened