org.opensourcephysics.media.quicktime
Class QT

java.lang.Object
  extended by org.opensourcephysics.media.quicktime.QT

public class QT
extends java.lang.Object

This contains static methods for opening and closing Quicktime sessions.

Version:
1.0
Author:
Douglas Brown

Method Summary
static void add(QTip qTip)
          Adds a QTip requiring cleanup services.
static void exit()
          Called when QuickTime resources are no longer needed--typically when an application is closed or an applet is destroyed
static void remove(QTip qTip)
          Cleans up and removes a QTip.
static void setFailMode(int _failMode)
          FailMode specifies the actions taken if QuickTime is not available
static void start()
          Start using Quicktime services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public static void start()
Start using Quicktime services. This method must be called prior to using Quicktime, and is generally the first method invoked by objects using any Quicktime for Java code.


add

public static void add(QTip qTip)
Adds a QTip requiring cleanup services.

Parameters:
qTip - the QTip to be added

remove

public static void remove(QTip qTip)
Cleans up and removes a QTip.

Parameters:
qTip - the QTip to be removed

exit

public static void exit()
Called when QuickTime resources are no longer needed--typically when an application is closed or an applet is destroyed


setFailMode

public static void setFailMode(int _failMode)
FailMode specifies the actions taken if QuickTime is not available

Parameters:
_failMode - one of the fail mode constants defined in this class