|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunbbayes.gui.UnBBayesFrame.OpenFileUsingModulesActionListener
public class UnBBayesFrame.OpenFileUsingModulesActionListener
A listener for opening an existing file using plugins/modules. Can be used in 2 ways: 1 - a file is not specified (in this case a file chooser will be shown to user); 2 - a file is specified (in this case the listener will just open the file)
Constructor Summary | |
---|---|
UnBBayesFrame.OpenFileUsingModulesActionListener(File file)
Create a listener in order to open a file treating modules' conflicts. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent ae)
If a file is specified, opens it using an appropriate UnBBayesModule. |
File |
showFileChooser()
Shows a file chooser to the user, using filters provided by plugins/modules. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnBBayesFrame.OpenFileUsingModulesActionListener(File file)
file
- : if set to null, a file chooser will be opened to select
a new file.Method Detail |
---|
public File showFileChooser()
JFileChooser.showOpenDialog(java.awt.Component)
public void actionPerformed(ActionEvent ae)
actionPerformed
in interface ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |