javax.sound.sampled
public static class: Control.Type [javadoc |
source]
java.lang.Object
javax.sound.sampled.Control$Type
Direct Known Subclasses:
Type, Type, Type, Type
An instance of the
Type
class represents the type of
the control. Static instances are provided for the
common types.
Constructor: |
protected Type(String name) {
this.name = name;
}
Constructs a new control type with the name specified.
The name should be a descriptive string appropriate for
labelling the control in an application, such as "Gain" or "Balance." Parameters:
name - the name of the new control type.
|
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.sound.sampled.Control$Type Detail: |
public final boolean equals(Object obj) {
return super.equals(obj);
}
Finalizes the equals method |
public final int hashCode() {
return super.hashCode();
}
Finalizes the hashCode method |
public final String toString() {
return name;
}
Provides the String representation of the control type. This String is
the same name that was passed to the constructor. |