All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gui.AudioFileChooser

gui.AudioFileChooser

public class AudioFileChooser
extends java.lang.Object

Variable Index

 o OPEN_DIALOG
 o SAVE_DIALOG

Constructor Index

 o AudioFileChooser(File)
Construct an AudioFileChooser which starts browsing the file system at the specified directory.

Method Index

 o getCurrentDirectory()
Retrieve the directory path most recently used.
 o getSelectedEncoding()
Get the encoding selected in the save dialog.
 o getSelectedFile()
Get the file path of the selected file.
 o setDialogType(short)
Set chooser dialog type to OPEN_DIALOG or SAVE_DIALOG
 o setSourceFormat(AudioFormat)
Tell the AudioFileChooser about the AudioFormat of the file being saved.
 o show()
Display the dialog box and remember the user's choices.

Variables

 o OPEN_DIALOG
 public static final short OPEN_DIALOG
 o SAVE_DIALOG
 public static final short SAVE_DIALOG

Constructors

 o AudioFileChooser
 public AudioFileChooser(java.io.File initialDirectory)
Construct an AudioFileChooser which starts browsing the file system at the specified directory.

Methods

 o setDialogType
 public void setDialogType(short type) throws java.lang.IllegalArgumentException
Set chooser dialog type to OPEN_DIALOG or SAVE_DIALOG

 o show
 public void show()
Display the dialog box and remember the user's choices.

 o setSourceFormat
 public void setSourceFormat(javax.sound.sampled.AudioFormat sourceFormat)
Tell the AudioFileChooser about the AudioFormat of the file being saved.

 o getCurrentDirectory
 public java.io.File getCurrentDirectory()
Retrieve the directory path most recently used.

 o getSelectedFile
 public java.io.File getSelectedFile()
Get the file path of the selected file.

 o 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