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.
-
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.
-
getGWorld()
- This returns the QDGraphics that represents the native drawing surface
that you get from java.
-
getLocation()
-
-
lock()
- This will lock the native drawing surface.
-
unlock()
- This will unlock the native drawing surface.
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
getGWorld
public abstract QDGraphics getGWorld() throws NativeGraphicsException
- This returns the QDGraphics that represents the native drawing surface
that you get from java.
getLocation
public final Point getLocation()
lock
public void lock()
- This will lock the native drawing surface.
unlock
public void unlock()
- This will unlock the native drawing surface.
All Packages Class Hierarchy This Package Previous Next Index