All Packages Class Hierarchy This Package Previous Next Index
Class gui.AudioFileChooser
gui.AudioFileChooser
- public class AudioFileChooser
- extends java.lang.Object
-
OPEN_DIALOG
-
-
SAVE_DIALOG
-
-
AudioFileChooser(File)
- Construct an AudioFileChooser which starts browsing the
file system at the specified directory.
-
getCurrentDirectory()
- Retrieve the directory path most recently used.
-
getSelectedEncoding()
- Get the encoding selected in the save dialog.
-
getSelectedFile()
- Get the file path of the selected file.
-
setDialogType(short)
- Set chooser dialog type to OPEN_DIALOG or SAVE_DIALOG
-
setSourceFormat(AudioFormat)
- Tell the AudioFileChooser about the AudioFormat of the
file being saved.
-
show()
- Display the dialog box and remember the user's choices.
OPEN_DIALOG
public static final short OPEN_DIALOG
SAVE_DIALOG
public static final short SAVE_DIALOG
AudioFileChooser
public AudioFileChooser(java.io.File initialDirectory)
- Construct an AudioFileChooser which starts browsing the
file system at the specified directory.
setDialogType
public void setDialogType(short type) throws java.lang.IllegalArgumentException
- Set chooser dialog type to OPEN_DIALOG or SAVE_DIALOG
show
public void show()
- Display the dialog box and remember the user's choices.
setSourceFormat
public void setSourceFormat(javax.sound.sampled.AudioFormat sourceFormat)
- Tell the AudioFileChooser about the AudioFormat of the
file being saved.
getCurrentDirectory
public java.io.File getCurrentDirectory()
- Retrieve the directory path most recently used.
getSelectedFile
public java.io.File getSelectedFile()
- Get the file path of the selected file.
getSelectedEncoding
public javax.sound.sampled.AudioFormat$Encoding getSelectedEncoding()
- Get the encoding selected in the save dialog.
All Packages Class Hierarchy This Package Previous Next Index