|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AudioFileVector
Vector of AudioFile objects that maintains the rank of the currently selected object.
Field Summary | |
protected IVector |
elements
Vector used to hold audio files. |
protected int |
selectedRank
Currently selected rank. |
Constructor Summary | |
AudioFileVector()
Constructs an audio file vector. |
Method Summary | |
void |
add(AudioFile anAudioFile)
Adds the given file to the end of this. |
void |
clear()
Removes all files from this. |
AudioFile |
fileAtRank(int aRank)
Returns the file at the given rank. |
AudioFile |
getSelectedFile()
Returns the currently selected file. |
int |
getSelectedRank()
Returns the currently selected rank in this. |
void |
insert(AudioFile anAudioFile)
Inserts the given file into this at the currently selected rank. |
void |
remove()
Removes the currently selected file from this. |
void |
selectNext()
Selects the next rank in this. |
void |
selectPrevious()
Selects the next rank in this. |
int |
size()
Returns the size of this. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IVector elements
protected int selectedRank
Constructor Detail |
public AudioFileVector()
Method Detail |
public void add(AudioFile anAudioFile)
anAudioFile
- object to addpublic void insert(AudioFile anAudioFile)
public void remove()
public void clear()
public AudioFile fileAtRank(int aRank)
aRank
- rank of desired filepublic int size()
public int getSelectedRank()
public AudioFile getSelectedFile()
public void selectNext()
public void selectPrevious()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |