|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
org.xnap.plugin.opennap.gui.OpenServerFileAction
public class OpenServerFileAction
This class handles the command to open a user-specified file containing a list of hosts. Once the user selects a file the ServerPanel.doLoadServersFile() method is called.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
OpenServerFileAction(javax.swing.JFileChooser chooser)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
|
static void |
openServerFile(OpenNapServerReader reader)
Invokes OpenNapServerManager#addFromFile(String,
boolean) in a thread. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenServerFileAction(javax.swing.JFileChooser chooser)
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent event)
public static void openServerFile(OpenNapServerReader reader)
OpenNapServerManager#addFromFile(String,
boolean) in a thread.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||