All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.music.InstKnobList
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.std.music.InstKnobList
- public final class InstKnobList
- extends QTByteObject
Contains a list of knobs.
-
InstKnobList()
- Makes an instance of this class with one knob only.
-
InstKnobList(int, InstKnob[])
- Makes a KnobList from the supplied array of knobs.
-
getKnob(int)
- Gets the knob at the specified index in the list.
-
getKnobCount()
- The number of knobs in the list
-
getKnobFlags()
- The knob flags to use if the requested knob is not in the list.
-
setKnob(int, InstKnob)
- Sets the specified knob at the specified index in the list.
-
setKnobFlags(int)
- The knob flags to use if the requested knob is not in the list.
InstKnobList
public InstKnobList()
- Makes an instance of this class with one knob only.
The value of this knob and its number is set to one - this is
the default knob list setting with the flag set to kInstKnobMissingDefault
InstKnobList
public InstKnobList(int knobFlags,
InstKnob knobs[])
- Makes a KnobList from the supplied array of knobs.
- Parameters:
- knobFlags - the knobFlags
- knobs - the array of knobs
getKnobCount
public int getKnobCount()
- The number of knobs in the list
getKnobFlags
public int getKnobFlags()
- The knob flags to use if the requested knob is not in the list.
setKnobFlags
public void setKnobFlags(int knobFlags)
- The knob flags to use if the requested knob is not in the list.
setKnob
public void setKnob(int index,
InstKnob knob)
- Sets the specified knob at the specified index in the list.
The list is a zero based list.
- Parameters:
- knobIndex - the index of the knob to set
- knob - the knob to set
getKnob
public InstKnob getKnob(int index)
- Gets the knob at the specified index in the list.
The list is a zero based list.
- Parameters:
- knobIndex - the index of the knob to set
- Returns:
- a knob
All Packages Class Hierarchy This Package Previous Next Index