| Modifier and Type | Field and Description |
|---|---|
| protected CapabilitiesImmutable | |
| protected CapabilitiesImmutable | |
| protected static final boolean | |
| private AbstractGraphicsScreen |
| Access | Constructor and Description |
|---|---|
| public | DefaultGraphicsConfiguration(final AbstractGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements com. |
| public final CapabilitiesImmutable | getChosenCapabilities()
Implements com. |
| public AbstractGraphicsConfiguration | getNativeGraphicsConfiguration()
Implements com. AbstractGraphicsConfiguration,
otherwise this instance.
|
| public final CapabilitiesImmutable | getRequestedCapabilities()
Implements com. |
| public final AbstractGraphicsScreen | getScreen()
Implements com. |
| public final int | getVisualID(final VisualIDHolder.
Implements com. type
if supported, or VID_UNDEFINED if not supported.
|
| protected void | |
| protected void | |
| public static String | |
| public static String | |
| public String |
| capabilitiesChosen | back to summary |
|---|---|
| protected CapabilitiesImmutable capabilitiesChosen | |
| capabilitiesRequested | back to summary |
|---|---|
| protected CapabilitiesImmutable capabilitiesRequested | |
| DEBUG | back to summary |
|---|---|
| protected static final boolean DEBUG | |
| screen | back to summary |
|---|---|
| private AbstractGraphicsScreen screen | |
| DefaultGraphicsConfiguration | back to summary |
|---|---|
| public DefaultGraphicsConfiguration(final AbstractGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| getChosenCapabilities | back to summary |
|---|---|
| public final CapabilitiesImmutable getChosenCapabilities() Implements com. Doc from com. Return the capabilities reflecting this graphics configuration, which may differ from the capabilities used to choose this configuration.
| |
| getNativeGraphicsConfiguration | back to summary |
|---|---|
| public AbstractGraphicsConfiguration getNativeGraphicsConfiguration() Implements com. Doc from com. In case the implementation utilizes a delegation pattern to wrap abstract toolkits,
this method shall return the native
| |
| getRequestedCapabilities | back to summary |
|---|---|
| public final CapabilitiesImmutable getRequestedCapabilities() Implements com. Doc from com. Return the capabilities used to choose this graphics configuration. These may be used to reconfigure the NativeWindow in case the device changes in a multiple screen environment.
| |
| getScreen | back to summary |
|---|---|
| public final AbstractGraphicsScreen getScreen() Implements com. Doc from com. Return the screen this graphics configuration is valid for
| |
| getVisualID | back to summary |
|---|---|
| public final int getVisualID(final VisualIDHolder. Implements com. Doc from com. Returns the native visual ID of the given
Depending on the native windowing system,
INTRINSIC and NATIVE are always handled,
but may result in VID_UNDEFINED. The latter is true if
the native value are actually undefined or the corresponding object is not
mapped to a native visual object.
| |
| setChosenCapabilities | back to summary |
|---|---|
| protected void setChosenCapabilities(final CapabilitiesImmutable capsChosen) Set the capabilities to a new value. The use case for setting the Capabilities at a later time is a change or re-validation of capabilities. | |
| setScreen | back to summary |
|---|---|
| protected void setScreen(final AbstractGraphicsScreen screen) Set a new screen. the use case for setting a new screen at a later time is a change of the graphics device in a multi-screen environment. | |
| toHexString | back to summary |
|---|---|
| public static String toHexString(final int val) | |
| toHexString | back to summary |
|---|---|
| public static String toHexString(final long val) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |