at.ofai.music.beatroot
public class Chooser extends JFileChooser
Field Summary | |
---|---|
static long | serialVersionUID |
Constructor Summary | |
---|---|
Chooser() Constructor for BeatRoot's file chooser |
Method Summary | |
---|---|
String | getAudioInName() Opens a load dialog for loading audio data. |
String | getAudioOutName() Opens a dialog to get a file name for audio output. |
String | getBeatInName() Opens a load dialog for loading beat data. |
String | getBeatOutName() Opens a dialog to get a file name for saving beat information. |
String | getInputName(FileFilters ff) Opens a load dialog and returns the chosen file name. |
String | getOutputName(FileFilters ff) Opens a save dialog and returns the chosen file name. |
Returns: The name of an existing audio file, or null
Returns: The file name for audio output
Returns: The name of an existing beat file, or null
Returns: The file name for saving beat information
Parameters: ff A file filter determining the type of file that can be selected
Returns: The chosen file name for loading data, or null if the action is cancelled or the file doesn't exist
Parameters: ff A file filter determining the type of file that can be selected
Returns: The chosen file name for saving data, or null if the action is cancelled