javax.media.j3d
Class NativeScreenInfo

java.lang.Object
  extended by javax.media.j3d.NativeScreenInfo
Direct Known Subclasses:
X11NativeScreenInfo

abstract class NativeScreenInfo
extends java.lang.Object

Native screen info class. A singleton instance of the appropriate concrete subclass is created by a factory method using reflection.


Field Summary
private static NativeScreenInfo nativeScreenInfo
           
private static java.lang.String win32ClassName
           
private static java.lang.String x11ClassName
           
 
Constructor Summary
protected NativeScreenInfo()
           
 
Method Summary
(package private) static void createNativeScreenInfo()
           
(package private) abstract  long getDisplay()
          Get the display handle
(package private) static NativeScreenInfo getNativeScreenInfo()
           
(package private) abstract  int getScreen(java.awt.GraphicsDevice graphicsDevice)
          Get the screen number for the given graphics device
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x11ClassName

private static final java.lang.String x11ClassName
See Also:
Constant Field Values

win32ClassName

private static final java.lang.String win32ClassName
See Also:
Constant Field Values

nativeScreenInfo

private static NativeScreenInfo nativeScreenInfo
Constructor Detail

NativeScreenInfo

protected NativeScreenInfo()
Method Detail

createNativeScreenInfo

static void createNativeScreenInfo()

getNativeScreenInfo

static NativeScreenInfo getNativeScreenInfo()

getDisplay

abstract long getDisplay()
Get the display handle


getScreen

abstract int getScreen(java.awt.GraphicsDevice graphicsDevice)
Get the screen number for the given graphics device



Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.