| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | ImageCapabilities(boolean
whether or not an accelerated image is desired accelerated)Creates a new object for specifying image capabilities. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a copy of this ImageCapabilities object.Overrides java. Creates and returns a copy of this object. |
| public boolean | Returns: whether or not an image can be, or is, accelerated. There are various platform-specific ways to accelerate an image, including pixmaps, VRAM, AGP. This is the general acceleration method (as opposed to residing in system memory).Returns |
| public boolean | Returns: whether or not a volatile image is subject to losing its surfaces at the whim of the operating system.Returns |
| accelerated | back to summary |
|---|---|
| private boolean accelerated | |
| ImageCapabilities | back to summary |
|---|---|
| public ImageCapabilities(boolean accelerated) Creates a new object for specifying image capabilities.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. 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
| |
| isAccelerated | back to summary |
|---|---|
| public boolean isAccelerated() Returns
| |
| isTrueVolatile | back to summary |
|---|---|
| public boolean isTrueVolatile() Returns
| |