japlot.jaxodraw
Class JaxoChooseFile
- java.lang.Object
-
- japlot.jaxodraw.JaxoChooseFile
-
public class JaxoChooseFile extends java.lang.ObjectOpens a file chooser dialog that is used for opening, saving and exporting files.
-
-
Constructor Summary
Constructors Constructor and Description JaxoChooseFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringchooseFile(java.lang.String[] fileFilter, java.lang.String approveText, java.lang.String description, java.lang.String selectedFile)Brings up a file chooser dialog.
-
-
-
Method Detail
-
chooseFile
public final java.lang.String chooseFile(java.lang.String[] fileFilter, java.lang.String approveText, java.lang.String description, java.lang.String selectedFile)Brings up a file chooser dialog.- Parameters:
selectedFile- A file that should be marked as pre-selected.fileFilter- A filter that indicates which files should be shown.approveText- The text to be shown as a tool tip of the approve button in the dialog.description- A description of this dialog.- Returns:
- A string with the absolute path of the chosen file, or an empty string, if no file was selected.
-
-
DMelt 3.0 © DataMelt by jWork.ORG