|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.util.QTHandleRef | +--quicktime.util.QTHandle | +--quicktime.std.movies.media.DataRef
The DataRef class implements the data reference structure of the Movie Toolbox.
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Constructor Summary | |
DataRef(AliasHandle a)
This constructor creates a DataRef that represents an AliasHandle. |
|
DataRef(QTFile f)
This constructor creates a DataRef that represents a QTFile. |
|
DataRef(QTHandleRef handle)
This constructor creates a DataRef that references the given QTHandle so the dataRefType is a handle DataRef ('hndl'). |
|
DataRef(QTHandleRef handle,
int hintFlag,
java.lang.String hintString)
This constructor creates a DataRef that references the given QTHandle so the dataRefType is a handle DataRef ('hndl'). |
|
DataRef(java.lang.String url)
This constructor creates a DataRef that represents any URL. |
Method Summary | |
static DataRef |
fromGraphicsExporterInputDataRef(GraphicsExporter ge)
This method returns a copy of a data reference. |
static DataRef |
fromGraphicsExporterOutputDataRef(GraphicsExporter ge)
This method returns a copy of a data reference. |
static DataRef |
fromMedia(Media m,
int index)
This method returns a copy of a specified data reference. |
static DataRef |
fromMovie(Movie m)
This method allows your application to get the default data reference for the movie. |
static DataRef |
fromSequenceGrabber(SequenceGrabber sg)
Determines the data reference that is currently assigned to a sequence grabber component. |
static DataRef |
fromSGOutput(SequenceGrabber sg,
SGOutput output)
QuickTime::SGGetOutputDataReference( |
int |
getAttributes()
This method returns the data reference attributes. |
int |
getType()
This method returns the data reference type. |
java.lang.String |
getUniversalResourceLocator()
Returns a string representating the location of this object. |
Methods inherited from class quicktime.util.QTHandle |
clone, concatenate, fromEncodedImage, fromGraphicsExporterInput, fromGraphicsExporterOutput, fromGraphicsExporterText, fromGraphicsImporterAlias, fromGraphicsImporterData, fromSoundDescription, fromTimeCoderCurrent, fromTimeCoderSource, fromTimeCoderTime, fromTrack, reserveMemory, setSize |
Methods inherited from class quicktime.util.QTHandleRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, fromCompressionDialogState, fromSCSequence, getBytes, getSize, inMemory, isLocked, lock, lockHigh, moveHigh, toQTPointer, toQTPointer, toString, unlock |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataRef(java.lang.String url) throws QTException
url
- the URL that is used to create a DataReference.public DataRef(QTFile f) throws QTException
file
- the QTFile that is used to create a DataReference.public DataRef(AliasHandle a) throws java.io.IOException, QTException
a
- the AliasHandle that is reference by this DataRef.public DataRef(QTHandleRef handle) throws QTException
handle
- Specifies the data (a handle) that this reference should point to.public DataRef(QTHandleRef handle, int hintFlag, java.lang.String hintString) throws QTException
handle
- Specifies the data (a handle) that this reference should point to.hintFlag
- describes the hint data that is usedhintString
- contains the hint informationMethod Detail |
public static DataRef fromGraphicsExporterInputDataRef(GraphicsExporter ge) throws QTException
quicktime.std.image.GraphicsExporter.getInputDataReference
public static DataRef fromGraphicsExporterOutputDataRef(GraphicsExporter ge) throws QTException
quicktime.std.image.GraphicsExporter.getOutputDataReference
public static DataRef fromMovie(Movie m) throws QTException
Movie.getDefaultDataRef()
public static DataRef fromSequenceGrabber(SequenceGrabber sg) throws StdQTException
SequenceGrabber.getDataRef()
public static DataRef fromMedia(Media m, int index) throws QTException
index
- Identifies the data reference.Media.getDataRef(int)
public static DataRef fromSGOutput(SequenceGrabber sg, SGOutput output) throws StdQTException
sg
- the sequence grabber that owns this outputoutput
- the output from which to get the data ref frompublic int getType()
public int getAttributes()
public java.lang.String getUniversalResourceLocator() throws QTException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |