Class SendSoundAction
java.lang.Object
javax.swing.AbstractAction
VASSAL.chat.ui.SendSoundAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
Send a wake-up sound to another player
- Can't wake-up oneself
- No wake-ups in the default room
- No wake-ups to people in different rooms
- No wake-up to the same person in the same room until at least 5 seconds has passed.
- See Also:
-
Field Summary
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
ConstructorDescriptionSendSoundAction
(String name, ChatServerConnection client, String soundKey, Player target) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static PlayerActionFactory
factory
(ChatServerConnection client, String name, String soundKey, String defaultSoundFile) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
SendSoundAction
-
-
Method Details
-
actionPerformed
-
factory
public static PlayerActionFactory factory(ChatServerConnection client, String name, String soundKey, String defaultSoundFile)
-