javax.media.j3d
Class X11NativeScreenInfo

java.lang.Object
  extended by javax.media.j3d.NativeScreenInfo
      extended by javax.media.j3d.X11NativeScreenInfo

 class X11NativeScreenInfo
extends NativeScreenInfo

Native screen info class. A singleton instance of this class is created by a factory method in the base class using reflection.


Field Summary
private static long display
           
private static boolean glxChecked
           
private static boolean isGLX13
           
 
Constructor Summary
X11NativeScreenInfo()
           
 
Method Summary
(package private)  long getDisplay()
          Get the display handle
(package private)  int getScreen(java.awt.GraphicsDevice graphicsDevice)
          Get the screen number for the given graphics device
private static long getStaticDisplay()
           
(package private) static boolean isGLX13()
           
private static long openDisplay()
           
private static boolean queryGLX13(long display)
           
 
Methods inherited from class javax.media.j3d.NativeScreenInfo
createNativeScreenInfo, getNativeScreenInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

private static long display

glxChecked

private static boolean glxChecked

isGLX13

private static boolean isGLX13
Constructor Detail

X11NativeScreenInfo

X11NativeScreenInfo()
Method Detail

openDisplay

private static long openDisplay()

queryGLX13

private static boolean queryGLX13(long display)

isGLX13

static boolean isGLX13()

getStaticDisplay

private static long getStaticDisplay()

getDisplay

long getDisplay()
Description copied from class: NativeScreenInfo
Get the display handle

Specified by:
getDisplay in class NativeScreenInfo

getScreen

int getScreen(java.awt.GraphicsDevice graphicsDevice)
Description copied from class: NativeScreenInfo
Get the screen number for the given graphics device

Specified by:
getScreen in class NativeScreenInfo


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