javax.media.j3d
Class AudioDeviceEnumerator

java.lang.Object
  extended by javax.media.j3d.AudioDeviceEnumerator
All Implemented Interfaces:
java.util.Enumeration

 class AudioDeviceEnumerator
extends java.lang.Object
implements java.util.Enumeration

The class that enumerates all AudioDevices defined in the environment An AudioDeviceEnumerator generates the audio devices defined with the execution environment of the currently running Java 3D application.


Field Summary
(package private)  AudioDevice device
           
(package private)  boolean endOfList
           
 
Constructor Summary
AudioDeviceEnumerator(PhysicalEnvironment physicalEnvironment)
           
 
Method Summary
 boolean hasMoreElements()
          Query that tells whether the enumerator has more elements
 java.lang.Object nextElement()
          Return the next element in the enumerators
(package private)  void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endOfList

boolean endOfList

device

AudioDevice device
Constructor Detail

AudioDeviceEnumerator

AudioDeviceEnumerator(PhysicalEnvironment physicalEnvironment)
Method Detail

reset

void reset()

hasMoreElements

public boolean hasMoreElements()
Query that tells whether the enumerator has more elements

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
true if the enumerator has more elements, false otherwise

nextElement

public java.lang.Object nextElement()
Return the next element in the enumerators

Specified by:
nextElement in interface java.util.Enumeration
Returns:
the next element in this enumerator


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.