Package com.jogamp.nativewindow
Class DefaultGraphicsScreen
- java.lang.Object
-
- com.jogamp.nativewindow.DefaultGraphicsScreen
-
- All Implemented Interfaces:
AbstractGraphicsScreen
,Cloneable
- Direct Known Subclasses:
AWTGraphicsScreen
,X11GraphicsScreen
public class DefaultGraphicsScreen extends Object implements Cloneable, AbstractGraphicsScreen
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphicsScreen(AbstractGraphicsDevice device, int idx)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
static AbstractGraphicsScreen
createDefault(String type)
AbstractGraphicsDevice
getDevice()
Return the device this graphics configuration is valid forint
getIndex()
Returns the screen index this graphics screen is valid forString
toString()
-
-
-
Constructor Detail
-
DefaultGraphicsScreen
public DefaultGraphicsScreen(AbstractGraphicsDevice device, int idx)
-
-
Method Detail
-
createDefault
public static AbstractGraphicsScreen createDefault(String type)
-
clone
public Object clone()
- Specified by:
clone
in interfaceAbstractGraphicsScreen
-
getDevice
public AbstractGraphicsDevice getDevice()
Description copied from interface:AbstractGraphicsScreen
Return the device this graphics configuration is valid for- Specified by:
getDevice
in interfaceAbstractGraphicsScreen
-
getIndex
public int getIndex()
Description copied from interface:AbstractGraphicsScreen
Returns the screen index this graphics screen is valid for- Specified by:
getIndex
in interfaceAbstractGraphicsScreen
-
-