public class MutableGraphicsConfiguration extends DefaultGraphicsConfiguration
VisualIDHolder.VIDComparator, VisualIDHolder.VIDType
VID_UNDEFINED
Constructor and Description |
---|
MutableGraphicsConfiguration(AbstractGraphicsScreen screen,
CapabilitiesImmutable capsChosen,
CapabilitiesImmutable capsRequested) |
Modifier and Type | Method and Description |
---|---|
void |
setChosenCapabilities(CapabilitiesImmutable caps)
Set the capabilities to a new value.
|
void |
setScreen(AbstractGraphicsScreen screen)
Set a new screen.
|
clone, getChosenCapabilities, getNativeGraphicsConfiguration, getRequestedCapabilities, getScreen, getVisualID, toHexString, toHexString, toString
public MutableGraphicsConfiguration(AbstractGraphicsScreen screen, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested)
public void setChosenCapabilities(CapabilitiesImmutable caps)
DefaultGraphicsConfiguration
The use case for setting the Capabilities at a later time is a change or re-validation of capabilities.
com.jogamp.nativewindow.GraphicsConfigurationFactory#chooseGraphicsConfiguration(Capabilities, CapabilitiesChooser, AbstractGraphicsScreen)
public void setScreen(AbstractGraphicsScreen screen)
DefaultGraphicsConfiguration
the use case for setting a new screen at a later time is a change of the graphics device in a multi-screen environment.
Copyright 2010 JogAmp Community.