quicktime.vr
Class CursorRecord

java.lang.Object
  |
  +--quicktime.util.QTByteObject
        |
        +--quicktime.vr.CursorRecord
All Implemented Interfaces:
PrimitivesLib, java.io.Serializable, com.apple.jdirect.SharedLibrary, SharedLibrary

public class CursorRecord
extends QTByteObject
implements PrimitivesLib

The cursRecord parameter to replaceCursor() specifies a CursorRecord object, which indicates the cursor to replace and its replacement cursor.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface quicktime.jdirect.PrimitivesLib
JDirect_MacOSX, libraryInstance
 
Constructor Summary
CursorRecord()
          Creates a CursorRecord object containing no data
CursorRecord(byte[] bytes)
          Creates a QTVRTrackRefEntry object from a byte array Used in cloning
 
Method Summary
 short getCursorID()
          Returns the cursor resource ID
 QTHandle getData()
          Returns the cursor data
 short getType()
          Returns the cursor Type CursorRecord types kQTVRUseDefaultCursor kQTVRStdCursorType kQTVRColorCursorType
 void setCursorID(short cursorID)
          Sets the cursor ID
 void setData(QTHandle data)
          A handle to the cursor data that is to replace the specified cursor.
 void setType(short cursortype)
          Sets the cursor Type CursorRecord types kQTVRUseDefaultCursor kQTVRStdCursorType kQTVRColorCursorType
 
Methods inherited from class quicktime.util.QTByteObject
equals, fromArray, getBytes, getSize, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CursorRecord

public CursorRecord()
Creates a CursorRecord object containing no data


CursorRecord

public CursorRecord(byte[] bytes)
             throws QTException
Creates a QTVRTrackRefEntry object from a byte array Used in cloning

Method Detail

getType

public short getType()
Returns the cursor Type CursorRecord types kQTVRUseDefaultCursor kQTVRStdCursorType kQTVRColorCursorType

Returns:
the cursor type.

setType

public void setType(short cursortype)
Sets the cursor Type CursorRecord types kQTVRUseDefaultCursor kQTVRStdCursorType kQTVRColorCursorType


getCursorID

public short getCursorID()
Returns the cursor resource ID

Returns:
the resource ID.

setCursorID

public void setCursorID(short cursorID)
Sets the cursor ID

Parameters:
cursorID -

getData

public QTHandle getData()
                 throws QTException
Returns the cursor data

Returns:
the handle object pointing to cursor data
QTException

setData

public void setData(QTHandle data)
A handle to the cursor data that is to replace the specified cursor. If the Type is kQTVRUseDefaultCursor, then this field should contain null.

Parameters:
data - cursor data that is to replace the cursor