javax.media.nativewindow.x11
Class X11GraphicsScreen

java.lang.Object
  extended by javax.media.nativewindow.DefaultGraphicsScreen
      extended by javax.media.nativewindow.x11.X11GraphicsScreen
All Implemented Interfaces:
Cloneable, AbstractGraphicsScreen

public class X11GraphicsScreen
extends DefaultGraphicsScreen
implements Cloneable

Encapsulates a screen index on X11 platforms. Objects of this type are passed to GraphicsConfigurationFactory.chooseGraphicsConfiguration() on X11 platforms when toolkits other than the AWT are being used.


Constructor Summary
X11GraphicsScreen(X11GraphicsDevice device, int screen)
          Constructs a new X11GraphicsScreen corresponding to the given native screen index.
 
Method Summary
 Object clone()
           
static AbstractGraphicsScreen createScreenDevice(long display, int screenIdx)
           
 long getDefaultVisualID()
           
 
Methods inherited from class javax.media.nativewindow.DefaultGraphicsScreen
createDefault, getDevice, getIndex, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X11GraphicsScreen

public X11GraphicsScreen(X11GraphicsDevice device,
                         int screen)
Constructs a new X11GraphicsScreen corresponding to the given native screen index.

Method Detail

createScreenDevice

public static AbstractGraphicsScreen createScreenDevice(long display,
                                                        int screenIdx)

getDefaultVisualID

public long getDefaultVisualID()

clone

public Object clone()
Overrides:
clone in class DefaultGraphicsScreen


Copyright 2010 JogAmp Community.