< prev index next >

jdk/src/java.desktop/share/classes/java/awt/image/BaseMultiResolutionImage.java

Print this page

        

*** 48,58 **** * * @see java.awt.Image * @see java.awt.image.MultiResolutionImage * @see java.awt.image.AbstractMultiResolutionImage * ! * @since 1.9 */ public class BaseMultiResolutionImage extends AbstractMultiResolutionImage { private final int baseImageIndex; private final Image[] resolutionVariants; --- 48,58 ---- * * @see java.awt.Image * @see java.awt.image.MultiResolutionImage * @see java.awt.image.AbstractMultiResolutionImage * ! * @since 9 */ public class BaseMultiResolutionImage extends AbstractMultiResolutionImage { private final int baseImageIndex; private final Image[] resolutionVariants;
*** 64,74 **** * @param resolutionVariants array of resolution variants sorted by image size * @throws IllegalArgumentException if null or zero-length array is passed * @throws NullPointerException if the specified {@code resolutionVariants} * contains one or more null elements * ! * @since 1.9 */ public BaseMultiResolutionImage(Image... resolutionVariants) { this(0, resolutionVariants); } --- 64,74 ---- * @param resolutionVariants array of resolution variants sorted by image size * @throws IllegalArgumentException if null or zero-length array is passed * @throws NullPointerException if the specified {@code resolutionVariants} * contains one or more null elements * ! * @since 9 */ public BaseMultiResolutionImage(Image... resolutionVariants) { this(0, resolutionVariants); }
*** 84,94 **** * contains one or more null elements * @throws IndexOutOfBoundsException if {@code baseImageIndex} is * negative or greater than or equal to {@code resolutionVariants} * length. * ! * @since 1.9 */ public BaseMultiResolutionImage(int baseImageIndex, Image... resolutionVariants) { if (resolutionVariants == null || resolutionVariants.length == 0) { --- 84,94 ---- * contains one or more null elements * @throws IndexOutOfBoundsException if {@code baseImageIndex} is * negative or greater than or equal to {@code resolutionVariants} * length. * ! * @since 9 */ public BaseMultiResolutionImage(int baseImageIndex, Image... resolutionVariants) { if (resolutionVariants == null || resolutionVariants.length == 0) {
< prev index next >