javax.print.attribute.EnumSyntax Java Examples

The following examples show how to use javax.print.attribute.EnumSyntax. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Win32MediaTray.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
protected EnumSyntax[] getEnumValueTable() {
  ArrayList completeList = new ArrayList();
  for (int i=0; i < myEnumValueTable.length; i++) {
    completeList.add(myEnumValueTable[i]);
  }
  completeList.addAll(winEnumTable);
  MediaTray[] enumTable = new MediaTray[completeList.size()];
  return (MediaTray[])completeList.toArray(enumTable);
}
 
Example #2
Source File: Win32MediaTray.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
protected EnumSyntax[] getEnumValueTable() {
  ArrayList completeList = new ArrayList();
  for (int i=0; i < myEnumValueTable.length; i++) {
    completeList.add(myEnumValueTable[i]);
  }
  completeList.addAll(winEnumTable);
  MediaTray[] enumTable = new MediaTray[completeList.size()];
  return (MediaTray[])completeList.toArray(enumTable);
}
 
Example #3
Source File: JobSheets.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class JobSheets.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #4
Source File: PresentationDirection.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PresentationDirection.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #5
Source File: Sides.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Sides.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #6
Source File: Chromaticity.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Chromaticity.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #7
Source File: Win32PrintService.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
protected EnumSyntax[] getEnumValueTable() {
  MediaSizeName[] enumTable = new MediaSizeName[winEnumTable.size()];
  return (MediaSizeName[])winEnumTable.toArray(enumTable);
}
 
Example #8
Source File: JobState.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class JobState.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #9
Source File: MediaTray.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class MediaTray.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #10
Source File: PrinterIsAcceptingJobs.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PrinterIsAcceptingJobs.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #11
Source File: PrintQuality.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PrintQuality.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #12
Source File: OrientationRequested.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class OrientationRequested.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #13
Source File: Finishings.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Finishings.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #14
Source File: PDLOverrideSupported.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PDLOverrideSupported.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #15
Source File: MediaSizeName.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class MediaSizeName.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #16
Source File: SheetCollate.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class SheetCollate.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #17
Source File: PresentationDirection.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PresentationDirection.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #18
Source File: CustomMediaSizeName.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class CustomMediaSizeName.
 */
protected EnumSyntax[] getEnumValueTable() {
  MediaSizeName[] enumTable = new MediaSizeName[customEnumTable.size()];
  return (MediaSizeName[])customEnumTable.toArray(enumTable);
}
 
Example #19
Source File: CustomMediaTray.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class CustomMediaTray.
 */
protected EnumSyntax[] getEnumValueTable() {
  MediaTray[] enumTable = new MediaTray[customEnumTable.size()];
  return (MediaTray[])customEnumTable.toArray(enumTable);
}
 
Example #20
Source File: Win32PrintService.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
protected EnumSyntax[] getEnumValueTable() {
  MediaSizeName[] enumTable = new MediaSizeName[winEnumTable.size()];
  return (MediaSizeName[])winEnumTable.toArray(enumTable);
}
 
Example #21
Source File: Chromaticity.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Chromaticity.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #22
Source File: JobState.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class JobState.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #23
Source File: JobSheets.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class JobSheets.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #24
Source File: Finishings.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Finishings.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #25
Source File: MediaTray.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class MediaTray.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #26
Source File: PrinterIsAcceptingJobs.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PrinterIsAcceptingJobs.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #27
Source File: PrintQuality.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class PrintQuality.
 */
protected EnumSyntax[] getEnumValueTable() {
    return (EnumSyntax[])myEnumValueTable.clone();
}
 
Example #28
Source File: OrientationRequested.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class OrientationRequested.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #29
Source File: Sides.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class Sides.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}
 
Example #30
Source File: ColorSupported.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the enumeration value table for class ColorSupported.
 */
protected EnumSyntax[] getEnumValueTable() {
    return myEnumValueTable;
}