quicktime.streaming
Class SourcerLoopParams

java.lang.Object
  |
  +--quicktime.QTObject
        |
        +--quicktime.util.QTPointerRef
              |
              +--quicktime.util.QTPointer
                    |
                    +--quicktime.streaming.SourcerLoopParams
All Implemented Interfaces:
java.lang.Cloneable, InterfaceLib, PrimitivesLib, QuickTimeLib, SharedLibrary, com.apple.jdirect.SharedLibrary

public final class SourcerLoopParams
extends QTPointer

This class provides a representation the native QTSLoopParams structure that specifies looping behavior of the sourcer object


Field Summary
static int kNativeSize
          This is the size of this class
 
Fields inherited from interface quicktime.jdirect.QuickTimeLib
JDirect_MacOSX, libraryInstance, name
 
Constructor Summary
SourcerLoopParams(int loopFlags, int flagsMask, int numLoops)
          Constructs a SourcerLoopParams object based on the native QTSLoopParams structure
SourcerLoopParams(int vers, int flags, int loopFlags, int flagsMask, int numLoops)
          Constructs a SourcerLoopParams object based on the native QTSLoopParams structure
 
Method Summary
 int getFlags()
          Gets the flags of the sourcer loop params object
 int getFlagsMask()
          Gets the flags mask
 int getLoopFlags()
          Gets the loop flags
 int getNumLoops()
          Gets the number of loops
 int getVersion()
          Gets the version of the sourcer loop params object
 void setFlags(int flags)
          Sets the flags associated with the sourcer loop params object
 void setFlagsMask(int flagsMask)
          Sets the flags mask of the sourcer loop params object
 void setLoopFlags(int loopFlags)
          Sets the loop flags of the sourcer loop params object
 void setNumLoops(int numLoops)
          Sets the number of loops of the sourcer loop params object
 void setVersion(int vers)
          Sets the version of the sourcer loop params object
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class quicktime.util.QTPointer
clone, concatenate, fromEncodedImage, fromGraphicsExporter, fromSCData, setSize
 
Methods inherited from class quicktime.util.QTPointerRef
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize
 
Methods inherited from class quicktime.QTObject
disposeQTObject, equals, ID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

kNativeSize

public static final int kNativeSize
This is the size of this class
Constructor Detail

SourcerLoopParams

public SourcerLoopParams(int loopFlags,
                         int flagsMask,
                         int numLoops)
                  throws QTException
Constructs a SourcerLoopParams object based on the native QTSLoopParams structure
Parameters:
loopFlags - the loop flags of the sourcer object
flagsMask - the mask of the flags to use for the sourcer
numLoops - the number of loops for the sourcer

SourcerLoopParams

public SourcerLoopParams(int vers,
                         int flags,
                         int loopFlags,
                         int flagsMask,
                         int numLoops)
                  throws QTException
Constructs a SourcerLoopParams object based on the native QTSLoopParams structure
Parameters:
vers - version of the params structure
flags - sourcer flags
loopFlags - the loop flags of the sourcer object
flagsMask - the mask of the flags to use for the sourcer
numLoops - the number of loops for the sourcer
Method Detail

setVersion

public void setVersion(int vers)
Sets the version of the sourcer loop params object
Parameters:
vers - version

getVersion

public int getVersion()
Gets the version of the sourcer loop params object
Returns:
version

setFlags

public void setFlags(int flags)
Sets the flags associated with the sourcer loop params object
Parameters:
flags - flags

getFlags

public int getFlags()
Gets the flags of the sourcer loop params object
Returns:
flags

setLoopFlags

public void setLoopFlags(int loopFlags)
Sets the loop flags of the sourcer loop params object
Parameters:
loopFlags - loop flags

getLoopFlags

public int getLoopFlags()
Gets the loop flags
Returns:
loop flags

setFlagsMask

public void setFlagsMask(int flagsMask)
Sets the flags mask of the sourcer loop params object
Parameters:
flagsMask - mask for the sourcer loop flags

getFlagsMask

public int getFlagsMask()
Gets the flags mask

setNumLoops

public void setNumLoops(int numLoops)
Sets the number of loops of the sourcer loop params object
Parameters:
numLoops - number of loops

getNumLoops

public int getNumLoops()
Gets the number of loops

toString

public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class QTPointerRef
Returns:
a String