Package VASSAL.launch
Class LoadModuleAction
java.lang.Object
javax.swing.AbstractAction
VASSAL.launch.GameModuleAction
VASSAL.launch.LoadModuleAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Direct Known Subclasses:
EditExtensionAction
,EditModuleAction
public class LoadModuleAction extends GameModuleAction
Loads a module in play mode
- Author:
- rodneykinney
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected FileChooser
fc
Fields inherited from class VASSAL.launch.GameModuleAction
actionCancelled, actions, comp
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 LoadModuleAction(Component comp)
LoadModuleAction(File moduleFile)
-
Method Summary
Modifier and Type Method Description protected void
loadModule(File f)
void
performAction(ActionEvent e)
Methods inherited from class VASSAL.launch.GameModuleAction
actionPerformed, addAction, getMessage, reportError, runActions
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
fc
-
-
Constructor Details
-
LoadModuleAction
-
LoadModuleAction
-
-
Method Details
-
performAction
- Specified by:
performAction
in classGameModuleAction
- Throws:
IOException
-
loadModule
- Throws:
IOException
-