javax.media.nativewindow.awt
Class AWTGraphicsDevice
java.lang.Object
javax.media.nativewindow.DefaultGraphicsDevice
javax.media.nativewindow.awt.AWTGraphicsDevice
- All Implemented Interfaces:
- Cloneable, AbstractGraphicsDevice
public class AWTGraphicsDevice
- extends DefaultGraphicsDevice
- implements Cloneable
A wrapper for an AWT GraphicsDevice allowing it to be
handled in a toolkit-independent manner.
AWTGraphicsDevice
protected AWTGraphicsDevice(GraphicsDevice device)
createDevice
public static AbstractGraphicsDevice createDevice(GraphicsDevice awtDevice)
clone
public Object clone()
- Overrides:
clone
in class DefaultGraphicsDevice
getGraphicsDevice
public GraphicsDevice getGraphicsDevice()
setHandle
public void setHandle(long handle)
- In case the native handle was specified, e.g. using X11,
we shall be able to mark it.
toString
public String toString()
- Overrides:
toString
in class DefaultGraphicsDevice
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.