< prev index next >

src/java.desktop/share/classes/java/awt/PageAttributes.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 65,75 **** */ public static final class ColorType extends AttributeValue { private static final int I_COLOR = 0; private static final int I_MONOCHROME = 1; ! private static final String NAMES[] = { "color", "monochrome" }; /** * The ColorType instance to use for specifying color printing. --- 65,75 ---- */ public static final class ColorType extends AttributeValue { private static final int I_COLOR = 0; private static final int I_MONOCHROME = 1; ! private static final String[] NAMES = { "color", "monochrome" }; /** * The ColorType instance to use for specifying color printing.
*** 165,175 **** private static final int I_INVITE_ENVELOPE = 71; private static final int I_ITALY_ENVELOPE = 72; private static final int I_MONARCH_ENVELOPE = 73; private static final int I_PERSONAL_ENVELOPE = 74; ! private static final String NAMES[] = { "iso-4a0", "iso-2a0", "iso-a0", "iso-a1", "iso-a2", "iso-a3", "iso-a4", "iso-a5", "iso-a6", "iso-a7", "iso-a8", "iso-a9", "iso-a10", "iso-b0", "iso-b1", "iso-b2", "iso-b3", "iso-b4", "iso-b5", "iso-b6", "iso-b7", "iso-b8", "iso-b9", "iso-b10", "jis-b0", "jis-b1", "jis-b2", "jis-b3", "jis-b4", "jis-b5", --- 165,175 ---- private static final int I_INVITE_ENVELOPE = 71; private static final int I_ITALY_ENVELOPE = 72; private static final int I_MONARCH_ENVELOPE = 73; private static final int I_PERSONAL_ENVELOPE = 74; ! private static final String[] NAMES = { "iso-4a0", "iso-2a0", "iso-a0", "iso-a1", "iso-a2", "iso-a3", "iso-a4", "iso-a5", "iso-a6", "iso-a7", "iso-a8", "iso-a9", "iso-a10", "iso-b0", "iso-b1", "iso-b2", "iso-b3", "iso-b4", "iso-b5", "iso-b6", "iso-b7", "iso-b8", "iso-b9", "iso-b10", "jis-b0", "jis-b1", "jis-b2", "jis-b3", "jis-b4", "jis-b5",
*** 810,820 **** */ public static final class OrientationRequestedType extends AttributeValue { private static final int I_PORTRAIT = 0; private static final int I_LANDSCAPE = 1; ! private static final String NAMES[] = { "portrait", "landscape" }; /** * The OrientationRequestedType instance to use for specifying a --- 810,820 ---- */ public static final class OrientationRequestedType extends AttributeValue { private static final int I_PORTRAIT = 0; private static final int I_LANDSCAPE = 1; ! private static final String[] NAMES = { "portrait", "landscape" }; /** * The OrientationRequestedType instance to use for specifying a
*** 840,850 **** */ public static final class OriginType extends AttributeValue { private static final int I_PHYSICAL = 0; private static final int I_PRINTABLE = 1; ! private static final String NAMES[] = { "physical", "printable" }; /** * The OriginType instance to use for specifying a physical origin. --- 840,850 ---- */ public static final class OriginType extends AttributeValue { private static final int I_PHYSICAL = 0; private static final int I_PRINTABLE = 1; ! private static final String[] NAMES = { "physical", "printable" }; /** * The OriginType instance to use for specifying a physical origin.
*** 868,878 **** public static final class PrintQualityType extends AttributeValue { private static final int I_HIGH = 0; private static final int I_NORMAL = 1; private static final int I_DRAFT = 2; ! private static final String NAMES[] = { "high", "normal", "draft" }; /** * The PrintQualityType instance to use for specifying a high print --- 868,878 ---- public static final class PrintQualityType extends AttributeValue { private static final int I_HIGH = 0; private static final int I_NORMAL = 1; private static final int I_DRAFT = 2; ! private static final String[] NAMES = { "high", "normal", "draft" }; /** * The PrintQualityType instance to use for specifying a high print
< prev index next >