Constructor and Description |
---|
ImageCapabilities(boolean accelerated)
Creates a new object for specifying image capabilities.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Answers a new instance of the same class as the receiver,
whose slots have been filled in with the values in the
slots of the receiver.
|
boolean |
isAccelerated()
Returns
true if the object whose capabilities are
encapsulated in this ImageCapabilities can be or is
accelerated. |
boolean |
isTrueVolatile()
Returns
true if the VolatileImage
described by this ImageCapabilities can lose
its surfaces. |
public ImageCapabilities(boolean accelerated)
accelerated
- whether or not an accelerated image is desiredpublic boolean isAccelerated()
true
if the object whose capabilities are
encapsulated in this ImageCapabilities
can be or is
accelerated.public boolean isTrueVolatile()
true
if the VolatileImage
described by this ImageCapabilities
can lose
its surfaces.public Object clone()
Object
Classes which wish to support cloning must specify that they implement the Cloneable interface, since the native implementation checks for this.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.