All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Index of all Fields and Methods
- accept(File).
Method in class gui.ExtensionFileFilter
- Return true if this file should be shown in the directory pane,
false if it shouldn't.
- ActionButton(Icon).
Constructor for class gui.ActionButton
- Create a RunButton with the specified icon.
- ActionButton(String).
Constructor for class gui.ActionButton
- Create a RunButton with the specified caption.
- actionPerformed(ActionEvent).
Method in class gui.ActionButton
- Implements the ActionListener interface to allow the
RunButton to be aware of its own click event.
- addAudioPlayerListener(AudioPlayerListener).
Method in class audio.AudioPlayer
-
Allows other classes to listen for AudioPlayer events
- addExtension(String).
Method in class gui.ExtensionFileFilter
- Adds a filetype "dot" extension to filter against.
- audioBuffer.
Variable in class audio.AudioPlayer
-
- AudioBuffer(AudioBuffer).
Constructor for class audio.AudioBuffer
- Construct a copy of an AudioBuffer.
- AudioBuffer(AudioFormat).
Constructor for class audio.AudioBuffer
- Construct an empty AudioBuffer which will hold data of the
specified format.
- AudioBuffer(AudioFormat, byte[]).
Constructor for class audio.AudioBuffer
- Construct an AudioBuffer containing audio from the supplied
byte array.
- AudioBuffer(AudioInputStream).
Constructor for class audio.AudioBuffer
- Construct an AudioBuffer containing audio from the supplied
AudioInputStream.
- audioDescription.
Variable in class audio.AudioPlayer
-
- audioErrorOccurred(String).
Method in interface audio.AudioPlayerListener
-
- AudioFileChooser(File).
Constructor for class gui.AudioFileChooser
- Construct an AudioFileChooser which starts browsing the
file system at the specified directory.
- AudioPlayer().
Constructor for class audio.AudioPlayer
-
- AudioPlayerException(String).
Constructor for class audio.AudioPlayerException
- Construct a new AudioPlayerException with the given
text description.
- audioStateChanged(AudioPlayer.State).
Method in interface audio.AudioPlayerListener
- This function is called whenever an AudioPlayer state
change occurs.
- captureAudio().
Method in class audio.AudioPlayer
- Record audio into the internal buffer.
- defaultFormat.
Static variable in class audio.AudioPlayer
-
- ExtensionFileFilter().
Constructor for class gui.ExtensionFileFilter
- Creates a file filter.
- ExtensionFileFilter(String).
Constructor for class gui.ExtensionFileFilter
- Creates a file filter that accepts files with the given extension.
- ExtensionFileFilter(String, String).
Constructor for class gui.ExtensionFileFilter
- Creates a file filter that accepts the given file type.
- ExtensionFileFilter(String[]).
Constructor for class gui.ExtensionFileFilter
- Creates a file filter from the given string array.
- ExtensionFileFilter(String[], String).
Constructor for class gui.ExtensionFileFilter
- Creates a file filter from the given string array and description.
- getAudioDescription().
Method in class audio.AudioPlayer
- Return a String describing the audio currently stored
in the internal buffer (file name or other source).
- getCurrentDirectory().
Method in class gui.AudioFileChooser
- Retrieve the directory path most recently used.
- getDescription().
Method in class gui.ExtensionFileFilter
- Returns the human readable description of this filter.
- getEncoding().
Method in class audio.AudioBuffer
- Get the AudioFormat.Encoding corresponding to the AudioBuffer's
audio data.
- getExtension(File).
Method in class gui.ExtensionFileFilter
- Return the extension portion of the file's name .
- getFormat().
Method in class audio.AudioBuffer
- Get the audio format of the buffer's data as an AudioFormat object.
- getFormat().
Method in class audio.AudioPlayer
- Return an AudioFormat object specifying the type of
audio dealt with by this class.
- getFrameSize().
Method in class audio.AudioBuffer
- Get the frame size (bytes per sample) of the AudioBuffer's data.
- getGraphData().
Method in class audio.AudioPlayer
- Get linearized data for graph.
- getSampleRate().
Method in class audio.AudioBuffer
- Get the sample rate (samples per second) of the AudioBuffer's data.
- getSelectedEncoding().
Method in class gui.AudioFileChooser
- Get the encoding selected in the save dialog.
- getSelectedFile().
Method in class gui.AudioFileChooser
- Get the file path of the selected file.
- hasAudio().
Method in class audio.AudioPlayer
- Return a boolean flag indicating whether the buffer is
empty or not.
- IDLE.
Static variable in class audio.AudioPlayer.State
-
- isCapturing.
Variable in class audio.AudioPlayer
-
- isExtensionListInDescription().
Method in class gui.ExtensionFileFilter
- Returns whether the extension list (.jpg, .gif, etc) should
show up in the human readable description.
- isPlaying.
Variable in class audio.AudioPlayer
-
- JCapture().
Constructor for class gui.JCapture
- Initialize the application without displaying the GUI.
- listenerList.
Variable in class audio.AudioPlayer
-
- main(String[]).
Static method in class gui.JCapture
- Create and display and instance of the application.
- nPlayers.
Static variable in class audio.AudioPlayer
-
- OPEN_DIALOG.
Static variable in class gui.AudioFileChooser
-
- openAudioFile(File).
Method in class audio.AudioPlayer
- Read audio from a file to the internal buffer.
- OPENING.
Static variable in class audio.AudioPlayer.State
-
- paint(Graphics).
Method in class gui.ScopePanel
- Override JComponent.paint().
- playAudio().
Method in class audio.AudioPlayer
- Play audio in the internal buffer.
- PLAYING.
Static variable in class audio.AudioPlayer.State
-
- read(byte[], int, int).
Method in class audio.AudioBuffer
- Retrieve data from the buffer.
- RECORDING.
Static variable in class audio.AudioPlayer.State
-
- removeAudioPlayerListener(AudioPlayerListener).
Method in class audio.AudioPlayer
-
Allows other classes to stop listening to AudioPlayer events
- SAVE_DIALOG.
Static variable in class gui.AudioFileChooser
-
- saveAudioFile(File).
Method in class audio.AudioPlayer
- Save audio in the internal buffer to a file.
- saveAudioFile(File, AudioFormat$Encoding).
Method in class audio.AudioPlayer
- Save audio in the internal buffer to a file after converting to
the specified encoding.
- SAVING.
Static variable in class audio.AudioPlayer.State
-
- ScopePanel().
Constructor for class gui.ScopePanel
-
- setDataSet(short[]).
Method in class gui.ScopePanel
- Tell the scope what data to graph.
- setDescription(String).
Method in class gui.ExtensionFileFilter
- Sets the human readable description of this filter.
- setDialogType(short).
Method in class gui.AudioFileChooser
- Set chooser dialog type to OPEN_DIALOG or SAVE_DIALOG
- setExtensionListInDescription(boolean).
Method in class gui.ExtensionFileFilter
- Determines whether the extension list (.jpg, .gif, etc) should
show up in the human readable description.
- setSourceFormat(AudioFormat).
Method in class gui.AudioFileChooser
- Tell the AudioFileChooser about the AudioFormat of the
file being saved.
- setZoom(int).
Method in class gui.ScopePanel
- Change the horizontal magnification.
- show().
Method in class gui.AudioFileChooser
- Display the dialog box and remember the user's choices.
- stop().
Method in class audio.AudioPlayer
- Stop recording or playing.
- STOPPING.
Static variable in class audio.AudioPlayer.State
-
- toAudioInputStream().
Method in class audio.AudioBuffer
- Obtain an AudioInputStream that contains the AudioBuffer's data.
- toByteArray().
Method in class audio.AudioBuffer
- Obtain a byte array that contains the AudioBuffer's data.
- toString().
Method in class audio.AudioPlayer.State
-
- transcode(AudioFormat$Encoding).
Method in class audio.AudioBuffer
- Convert the encoding of the audio in the buffer to the
specified encoding.
- write(byte[], int, int).
Method in class audio.AudioBuffer
- Add data to the buffer.