|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmckay.utilities.gui.templates.ListInputTextParser
public class ListInputTextParser
An implementation of the ListInputParser interface for use by the ListInputPanel class in choosing and parsing of text files. Displays a file chooser and parses the selected file(s).
Field Summary | |
---|---|
protected javax.swing.JFileChooser |
file_chooser
A file chooser used to choose files. |
protected java.awt.Component |
parent
The GUI component opening the file chooser. |
Constructor Summary | |
---|---|
ListInputTextParser(java.awt.Component parent)
Creates a new instance of ListInputTextParser. |
Method Summary | |
---|---|
java.lang.String[] |
getStrings()
Opens a file browser and load strings from the selected textfile. |
void |
setProgressBar(SimpleProgressBarDialog progress_bar)
Does not do anything for this class, as the progress bar is not manipulated directly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.awt.Component parent
protected javax.swing.JFileChooser file_chooser
Constructor Detail |
---|
public ListInputTextParser(java.awt.Component parent)
parent
- The GUI component opening the file chooser.Method Detail |
---|
public java.lang.String[] getStrings() throws java.lang.Exception
getStrings
in interface ListInputParser
java.lang.Exception
- An informative description of any problem that
occurs during parsing.public void setProgressBar(SimpleProgressBarDialog progress_bar)
setProgressBar
in interface ListInputParser
progress_bar
- A progress bar.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |