< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2011, 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 DefaultSelectionType extends AttributeValue { private static final int I_ALL = 0; private static final int I_RANGE = 1; private static final int I_SELECTION = 2; ! private static final String NAMES[] = { "all", "range", "selection" }; /** * The {@code DefaultSelectionType} instance to use for --- 65,75 ---- public static final class DefaultSelectionType extends AttributeValue { private static final int I_ALL = 0; private static final int I_RANGE = 1; private static final int I_SELECTION = 2; ! private static final String[] NAMES = { "all", "range", "selection" }; /** * The {@code DefaultSelectionType} instance to use for
*** 101,111 **** */ public static final class DestinationType extends AttributeValue { private static final int I_FILE = 0; private static final int I_PRINTER = 1; ! private static final String NAMES[] = { "file", "printer" }; /** * The {@code DestinationType} instance to use for --- 101,111 ---- */ public static final class DestinationType extends AttributeValue { private static final int I_FILE = 0; private static final int I_PRINTER = 1; ! private static final String[] NAMES = { "file", "printer" }; /** * The {@code DestinationType} instance to use for
*** 132,142 **** public static final class DialogType extends AttributeValue { private static final int I_COMMON = 0; private static final int I_NATIVE = 1; private static final int I_NONE = 2; ! private static final String NAMES[] = { "common", "native", "none" }; /** * The {@code DialogType} instance to use for --- 132,142 ---- public static final class DialogType extends AttributeValue { private static final int I_COMMON = 0; private static final int I_NATIVE = 1; private static final int I_NONE = 2; ! private static final String[] NAMES = { "common", "native", "none" }; /** * The {@code DialogType} instance to use for
*** 168,178 **** public static final class MultipleDocumentHandlingType extends AttributeValue { private static final int I_SEPARATE_DOCUMENTS_COLLATED_COPIES = 0; private static final int I_SEPARATE_DOCUMENTS_UNCOLLATED_COPIES = 1; ! private static final String NAMES[] = { "separate-documents-collated-copies", "separate-documents-uncollated-copies" }; /** --- 168,178 ---- public static final class MultipleDocumentHandlingType extends AttributeValue { private static final int I_SEPARATE_DOCUMENTS_COLLATED_COPIES = 0; private static final int I_SEPARATE_DOCUMENTS_UNCOLLATED_COPIES = 1; ! private static final String[] NAMES = { "separate-documents-collated-copies", "separate-documents-uncollated-copies" }; /**
*** 205,215 **** public static final class SidesType extends AttributeValue { private static final int I_ONE_SIDED = 0; private static final int I_TWO_SIDED_LONG_EDGE = 1; private static final int I_TWO_SIDED_SHORT_EDGE = 2; ! private static final String NAMES[] = { "one-sided", "two-sided-long-edge", "two-sided-short-edge" }; /** * The {@code SidesType} instance to use for specifying that --- 205,215 ---- public static final class SidesType extends AttributeValue { private static final int I_ONE_SIDED = 0; private static final int I_TWO_SIDED_LONG_EDGE = 1; private static final int I_TWO_SIDED_SHORT_EDGE = 2; ! private static final String[] NAMES = { "one-sided", "two-sided-long-edge", "two-sided-short-edge" }; /** * The {@code SidesType} instance to use for specifying that
< prev index next >