Package com.jogamp.nativewindow.x11
Class X11GraphicsScreen
- java.lang.Object
-
- com.jogamp.nativewindow.DefaultGraphicsScreen
-
- com.jogamp.nativewindow.x11.X11GraphicsScreen
-
- All Implemented Interfaces:
AbstractGraphicsScreen
,Cloneable
public class X11GraphicsScreen extends DefaultGraphicsScreen implements Cloneable
Encapsulates a screen index on X11 platforms. Objects of this type are passed toGraphicsConfigurationFactory.chooseGraphicsConfiguration()
on X11 platforms when toolkits other than the AWT are being used.
-
-
Constructor Summary
Constructors Constructor Description X11GraphicsScreen(X11GraphicsDevice device, int screen)
Constructs a new X11GraphicsScreen corresponding to the given native screen index.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
static AbstractGraphicsScreen
createScreenDevice(long display, int screenIdx, boolean owner)
int
getVisualID()
-
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsScreen
createDefault, getDevice, getIndex, toString
-
-
-
-
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, boolean owner)
-
getVisualID
public int getVisualID()
-
clone
public Object clone()
- Specified by:
clone
in interfaceAbstractGraphicsScreen
- Overrides:
clone
in classDefaultGraphicsScreen
-
-