org.opensourcephysics.media.quicktime
Class QTip

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

public class QTip
extends java.lang.Object

This is a utility class used by Quicktime objects needing cleanup services when exiting or being garbage collected.

Version:
1.0
Author:
Douglas Brown

Constructor Summary
QTip(int _action, java.lang.Object[] toBeCleaned)
          Constructs a QTip object.
 
Method Summary
protected  void cleanup()
          Performs cleanup services--typically removing Quicktime callbacks and releasing Quicktime resources.
 int id()
          Returns the unique id assigned to this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QTip

public QTip(int _action,
            java.lang.Object[] toBeCleaned)
Constructs a QTip object.

Parameters:
_action - type of cleanup service required
toBeCleaned - array of objects to be cleaned up
Method Detail

id

public int id()
Returns the unique id assigned to this object.

Returns:
the unique id

cleanup

protected void cleanup()
                throws quicktime.QTException
Performs cleanup services--typically removing Quicktime callbacks and releasing Quicktime resources.

Throws:
quicktime.QTException