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.


Constructor Index

 o InstKnobList()
Makes an instance of this class with one knob only.
 o InstKnobList(int, InstKnob[])
Makes a KnobList from the supplied array of knobs.

Method Index

 o getKnob(int)
Gets the knob at the specified index in the list.
 o getKnobCount()
The number of knobs in the list
 o getKnobFlags()
The knob flags to use if the requested knob is not in the list.
 o setKnob(int, InstKnob)
Sets the specified knob at the specified index in the list.
 o setKnobFlags(int)
The knob flags to use if the requested knob is not in the list.

Constructors

 o 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

 o 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

Methods

 o getKnobCount
 public int getKnobCount()
The number of knobs in the list

 o getKnobFlags
 public int getKnobFlags()
The knob flags to use if the requested knob is not in the list.

 o setKnobFlags
 public void setKnobFlags(int knobFlags)
The knob flags to use if the requested knob is not in the list.

 o 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
 o 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