All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.qd.NativeGraphics

java.lang.Object
   |
   +----quicktime.qd.NativeGraphics

public abstract class NativeGraphics
extends Object
You use this class to obtain a QDGraphics object from a java.awt.Canvas.


Method Index

 o getContext(Canvas)
This method is called by the Canvas to get the platform specific object that will be able to return the QDGraphics that will be dependent on the particular platform that we are currently running on.
 o getGWorld()
This returns the QDGraphics that represents the native drawing surface that you get from java.
 o getLocation()
 o lock()
This will lock the native drawing surface.
 o unlock()
This will unlock the native drawing surface.

Methods

 o getContext
 public static final NativeGraphics getContext(Canvas canv) throws NativeGraphicsException, QTUnknownOSException
This method is called by the Canvas to get the platform specific object that will be able to return the QDGraphics that will be dependent on the particular platform that we are currently running on.

Returns:
the platform specific implementation of the NativeGrapics class
 o getGWorld
 public abstract QDGraphics getGWorld() throws NativeGraphicsException
This returns the QDGraphics that represents the native drawing surface that you get from java.

 o getLocation
 public final Point getLocation()
 o lock
 public void lock()
This will lock the native drawing surface.

 o unlock
 public void unlock()
This will unlock the native drawing surface.


All Packages  Class Hierarchy  This Package  Previous  Next  Index