| Modifier and Type | Field and Description |
|---|---|
| private final GraphicsConfiguration | |
| pack-priv AbstractGraphicsConfiguration |
| Access | Constructor and Description |
|---|---|
| public | AWTGraphicsConfiguration(final AWTGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested, final GraphicsConfiguration config, final AbstractGraphicsConfiguration encapsulated)
|
| private | AWTGraphicsConfiguration(final AWTGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested, final GraphicsConfiguration config)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides com. Implements com. |
| public static AWTGraphicsConfiguration | create(final Component awtComp, final CapabilitiesImmutable
if null, capsChosen, final CapabilitiesImmutable capsRequested is copied and aligned
with the graphics Capabilities of the AWT Component to produce the chosen Capabilities.
Otherwise the capsChosen is used.if null, default capsRequested)Capabilities are used, otherwise the given values.
Deprecated
Use
create(GraphicsConfiguration, CapabilitiesImmutable, CapabilitiesImmutable)
Method constructs a new AWTGraphicsConfiguration primarily based
on the given Component's GraphicsConfiguration.
|
| public static AWTGraphicsConfiguration | create(final GraphicsConfiguration
the gc, CapabilitiesImmutable GraphicsConfiguration for the resulting AWTGraphicsConfigurationif null, capsChosen, CapabilitiesImmutable capsRequested is copied and aligned
with the graphics Capabilities of the AWT Component to produce the chosen Capabilities.
Otherwise the capsChosen is used.if null, default capsRequested)Capabilities are used, otherwise the given values.Method constructs a new |
| public GraphicsConfiguration | |
| public AbstractGraphicsConfiguration | getNativeGraphicsConfiguration()
Overrides com. Implements com. AbstractGraphicsConfiguration,
otherwise this instance.
|
| public void | setChosenCapabilities(final CapabilitiesImmutable capsChosen)
Overrides com. |
| public static CapabilitiesImmutable | Returns: the passed Capabilitiesthe Capabilities object whose red, green, blue, and alpha bits will be set capabilitiesIn, final GraphicsConfiguration the GraphicsConfiguration from which to derive the RGBA bit depths gc)Sets up the Capabilities' RGBA size based on the given GraphicsConfiguration's ColorModel. |
| public String | toString()
Overrides com. |
| config | back to summary |
|---|---|
| private final GraphicsConfiguration config | |
| encapsulated | back to summary |
|---|---|
| pack-priv AbstractGraphicsConfiguration encapsulated | |
| AWTGraphicsConfiguration | back to summary |
|---|---|
| public AWTGraphicsConfiguration(final AWTGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested, final GraphicsConfiguration config, final AbstractGraphicsConfiguration encapsulated) | |
| AWTGraphicsConfiguration | back to summary |
|---|---|
| private AWTGraphicsConfiguration(final AWTGraphicsScreen screen, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested, final GraphicsConfiguration config) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides com. 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 | |
| create | back to summary |
|---|---|
| public static AWTGraphicsConfiguration create(final Component awtComp, final CapabilitiesImmutable capsChosen, final CapabilitiesImmutable capsRequested)
Deprecated Use
| |
| create | back to summary |
|---|---|
| public static AWTGraphicsConfiguration create(final GraphicsConfiguration gc, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested) Method constructs a new
| |
| getAWTGraphicsConfiguration | back to summary |
|---|---|
| public GraphicsConfiguration getAWTGraphicsConfiguration() Return the AWT | |
| getNativeGraphicsConfiguration | back to summary |
|---|---|
| public AbstractGraphicsConfiguration getNativeGraphicsConfiguration() Overrides com. Implements com. Doc from com. In case the implementation utilizes a delegation pattern to wrap abstract toolkits,
this method shall return the native
| |
| setChosenCapabilities | back to summary |
|---|---|
| public void setChosenCapabilities(final CapabilitiesImmutable capsChosen) Overrides com. Doc from com. 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.
| |
| setupCapabilitiesRGBABits | back to summary |
|---|---|
| public static CapabilitiesImmutable setupCapabilitiesRGBABits(final CapabilitiesImmutable capabilitiesIn, final GraphicsConfiguration gc) Sets up the Capabilities' RGBA size based on the given GraphicsConfiguration's ColorModel.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object. | |