Package VASSAL.chat.ui
Class SynchAction
java.lang.Object
javax.swing.AbstractAction
VASSAL.chat.ui.SynchAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class SynchAction extends AbstractAction
When invoked, will request synchronization info from another player
- Cannot Synch when in the default room
- Cannot Synch with a player in a different room
- Cannot Synch with yourself
- Cannot Synch with any player in the same room within 15 seconds of your last synch in this room
- See Also:
- Serialized Form
-
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
Constructors Constructor Description SynchAction(Player p, ChatServerConnection client)
-
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent evt)
static void
clearSynchRoom()
static PlayerActionFactory
factory(ChatServerConnection client)
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
SynchAction
-
-
Method Details
-
clearSynchRoom
public static void clearSynchRoom() -
actionPerformed
-
factory
-