JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.x11.X11GraphicsScreen Class Reference

Encapsulates a screen index on X11 platforms. More...

Inheritance diagram for com.jogamp.nativewindow.x11.X11GraphicsScreen:
Collaboration diagram for com.jogamp.nativewindow.x11.X11GraphicsScreen:

Public Member Functions

 X11GraphicsScreen (final X11GraphicsDevice device, final int screen)
 Constructs a new X11GraphicsScreen corresponding to the given native screen index. More...
 
int getVisualID ()
 
Object clone ()
 
- Public Member Functions inherited from com.jogamp.nativewindow.DefaultGraphicsScreen
 DefaultGraphicsScreen (final AbstractGraphicsDevice device, final int idx)
 
Object clone ()
 
AbstractGraphicsDevice getDevice ()
 Return the device this graphics configuration is valid for. More...
 
int getIndex ()
 Returns the screen index this graphics screen is valid for. More...
 
String toString ()
 
Object clone ()
 
AbstractGraphicsDevice getDevice ()
 Return the device this graphics configuration is valid for. More...
 
int getIndex ()
 Returns the screen index this graphics screen is valid for. More...
 

Static Public Member Functions

static AbstractGraphicsScreen createScreenDevice (final long display, final int screenIdx, final boolean owner)
 
- Static Public Member Functions inherited from com.jogamp.nativewindow.DefaultGraphicsScreen
static AbstractGraphicsScreen createDefault (final String type)
 

Detailed Description

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.

Definition at line 49 of file X11GraphicsScreen.java.

Constructor & Destructor Documentation

◆ X11GraphicsScreen()

com.jogamp.nativewindow.x11.X11GraphicsScreen.X11GraphicsScreen ( final X11GraphicsDevice  device,
final int  screen 
)

Constructs a new X11GraphicsScreen corresponding to the given native screen index.

Definition at line 52 of file X11GraphicsScreen.java.

Here is the caller graph for this function:

Member Function Documentation

◆ clone()

Object com.jogamp.nativewindow.x11.X11GraphicsScreen.clone ( )

Reimplemented from com.jogamp.nativewindow.DefaultGraphicsScreen.

Definition at line 67 of file X11GraphicsScreen.java.

◆ createScreenDevice()

static AbstractGraphicsScreen com.jogamp.nativewindow.x11.X11GraphicsScreen.createScreenDevice ( final long  display,
final int  screenIdx,
final boolean  owner 
)
static

Definition at line 56 of file X11GraphicsScreen.java.

Here is the call graph for this function:

◆ getVisualID()

int com.jogamp.nativewindow.x11.X11GraphicsScreen.getVisualID ( )

Definition at line 61 of file X11GraphicsScreen.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: