< prev index next >
src/java.desktop/share/classes/java/awt/ImageCapabilities.java
Print this page
@@ -41,12 +41,12 @@
public ImageCapabilities(boolean accelerated) {
this.accelerated = accelerated;
}
/**
- * Returns <code>true</code> if the object whose capabilities are
- * encapsulated in this <code>ImageCapabilities</code> can be or is
+ * Returns {@code true} if the object whose capabilities are
+ * encapsulated in this {@code ImageCapabilities} can be or is
* accelerated.
* @return 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).
@@ -54,12 +54,12 @@
public boolean isAccelerated() {
return accelerated;
}
/**
- * Returns <code>true</code> if the <code>VolatileImage</code>
- * described by this <code>ImageCapabilities</code> can lose
+ * Returns {@code true} if the {@code VolatileImage}
+ * described by this {@code ImageCapabilities} can lose
* its surfaces.
* @return whether or not a volatile image is subject to losing its surfaces
* at the whim of the operating system.
*/
public boolean isTrueVolatile() {
< prev index next >