|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.mgh.purcell.gPLINK2.OpenHapDialog.myActionListener
private class OpenHapDialog.myActionListener
Create a generic ActionListener for a browse button that launches a local file browse.
Field Summary | |
---|---|
private GCFileChooser |
chooser
A GCFileChooser that selects the file |
private java.lang.String |
disc
A String that is a discription of the suffex's |
private java.lang.String[] |
suffix
A String array that holds the suffix of the files we are looking for |
private javax.swing.JTextField |
text
A JTextField that holds the file name and is the target of the GCFileChooser |
Constructor Summary | |
---|---|
OpenHapDialog.myActionListener(javax.swing.JTextField myText,
java.lang.String[] mySuffix,
java.lang.String myDisc)
Create myActionListener. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Create and show the file chooser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private GCFileChooser chooser
private javax.swing.JTextField text
private java.lang.String[] suffix
private java.lang.String disc
Constructor Detail |
---|
public OpenHapDialog.myActionListener(javax.swing.JTextField myText, java.lang.String[] mySuffix, java.lang.String myDisc)
myText
- A JTextField the field where the
the file name will appear.mySuffix
- A String array that is the prefered
suffex for this file chooser.myDisc
- A String that discribes the prefered
suffex.Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |