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

A wrapper for an AWT GraphicsDevice (screen) allowing it to be handled in a toolkit-independent manner. More...

Inheritance diagram for com.jogamp.nativewindow.awt.AWTGraphicsScreen:
Collaboration diagram for com.jogamp.nativewindow.awt.AWTGraphicsScreen:

Public Member Functions

 AWTGraphicsScreen (final AWTGraphicsDevice device)
 
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 GraphicsDevice getScreenDevice (final int index)
 
static int findScreenIndex (final GraphicsDevice awtDevice)
 
static AbstractGraphicsScreen createScreenDevice (final GraphicsDevice awtDevice, final int unitID)
 
static AbstractGraphicsScreen createScreenDevice (final int index, final int unitID)
 
static AbstractGraphicsScreen createDefault ()
 
- Static Public Member Functions inherited from com.jogamp.nativewindow.DefaultGraphicsScreen
static AbstractGraphicsScreen createDefault (final String type)
 

Detailed Description

A wrapper for an AWT GraphicsDevice (screen) allowing it to be handled in a toolkit-independent manner.

Definition at line 52 of file AWTGraphicsScreen.java.

Constructor & Destructor Documentation

◆ AWTGraphicsScreen()

com.jogamp.nativewindow.awt.AWTGraphicsScreen.AWTGraphicsScreen ( final AWTGraphicsDevice  device)

Definition at line 54 of file AWTGraphicsScreen.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ clone()

Object com.jogamp.nativewindow.awt.AWTGraphicsScreen.clone ( )

Reimplemented from com.jogamp.nativewindow.DefaultGraphicsScreen.

Definition at line 91 of file AWTGraphicsScreen.java.

◆ createDefault()

static AbstractGraphicsScreen com.jogamp.nativewindow.awt.AWTGraphicsScreen.createDefault ( )
static

Definition at line 86 of file AWTGraphicsScreen.java.

Here is the call graph for this function:

◆ createScreenDevice() [1/2]

static AbstractGraphicsScreen com.jogamp.nativewindow.awt.AWTGraphicsScreen.createScreenDevice ( final GraphicsDevice  awtDevice,
final int  unitID 
)
static

Definition at line 78 of file AWTGraphicsScreen.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createScreenDevice() [2/2]

static AbstractGraphicsScreen com.jogamp.nativewindow.awt.AWTGraphicsScreen.createScreenDevice ( final int  index,
final int  unitID 
)
static

Definition at line 82 of file AWTGraphicsScreen.java.

Here is the call graph for this function:

◆ findScreenIndex()

static int com.jogamp.nativewindow.awt.AWTGraphicsScreen.findScreenIndex ( final GraphicsDevice  awtDevice)
static

Definition at line 68 of file AWTGraphicsScreen.java.

Here is the caller graph for this function:

◆ getScreenDevice()

static GraphicsDevice com.jogamp.nativewindow.awt.AWTGraphicsScreen.getScreenDevice ( final int  index)
static

Definition at line 58 of file AWTGraphicsScreen.java.

Here is the caller graph for this function:

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