1 7 8 package java.awt; 9 10 15 public class ImageCapabilities implements Cloneable { 16 17 private boolean accelerated = false; 18 19 23 public ImageCapabilities(boolean accelerated) { 24 this.accelerated = accelerated; 25 } 26 27 36 public boolean isAccelerated() { 37 return accelerated; 38 } 39 40 47 public boolean isTrueVolatile() { 48 return false; 49 } 50 51 54 public Object clone() { 55 try { 56 return super.clone(); 57 } catch (CloneNotSupportedException e) { 58 throw new InternalError (); 60 } 61 } 62 63 } 64 | Popular Tags |