Package org.ka2ddo.yaac.gui
Class DefaultSoundMaker
java.lang.Object
org.ka2ddo.yaac.gui.DefaultSoundMaker
- All Implemented Interfaces:
MsgEventListener
This class does default sounds for YAAC.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
msgEventHappened
(MsgEventType type, StationState ss, AX25Message msg, String text, Object otherParam) Make the sound appropriate for the specified event type.
-
Method Details
-
msgEventHappened
public void msgEventHappened(MsgEventType type, StationState ss, AX25Message msg, String text, Object otherParam) Make the sound appropriate for the specified event type. The message (if provided) may be queried for qualifying information.- Specified by:
msgEventHappened
in interfaceMsgEventListener
- Parameters:
type
- MsgEventType identifying the type of eventss
- StationState of the station reporting the event, or null if not related to a station or objectmsg
- AX25Message of a decoded packet if the event is associated with a packet, null otherwisetext
- String text associated with the event, or nullotherParam
- Object of some other type associated with the event, or null
-