net.sourceforge.pavlov.randommedia
Class SoundList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<E>
              extended by java.util.Stack<Object>
                  extended by net.sourceforge.pavlov.randommedia.MediaCache
                      extended by net.sourceforge.pavlov.randommedia.SoundList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess

public class SoundList
extends MediaCache

Loads and holds a bunch of audio files whose locations are specified relative to a fixed base URL.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SoundList(RandomURLProvider p, int size)
          Creates a new SoundList instance.
 
Method Summary
 AudioClip getClip()
          Describe getClip method here.
 ContentLoader getContentLoader()
          Describe getContentLoader method here.
 void playClip()
          Describe playClip method here.
 
Methods inherited from class net.sourceforge.pavlov.randommedia.MediaCache
add, clearCache, getObject, manageCache, startLoading
 
Methods inherited from class java.util.Stack
empty, peek, pop, push, search
 
Methods inherited from class java.util.Vector
add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

SoundList

public SoundList(RandomURLProvider p,
                 int size)
Creates a new SoundList instance.

Parameters:
p - a RandomURLProvider value
size - an int value
Method Detail

getClip

public AudioClip getClip()
Describe getClip method here.

Returns:
an AudioClip value

playClip

public void playClip()
Describe playClip method here.


getContentLoader

public ContentLoader getContentLoader()
Describe getContentLoader method here.

Returns:
a ContentLoader value