public class MediaTray extends Media implements Attribute
MediaTray类为标准媒体类型值声明关键字。 媒体类型属性的实现或站点定义的名称也可以通过定义MediaTray类的子类来创建。
IPP兼容性: MediaTray是名为纸盘的IPP“media”属性值的表示类。
| Modifier and Type | Field and Description | 
|---|---|
| static MediaTray | BOTTOM
              打印机底部进纸盘。 
             | 
| static MediaTray | ENVELOPE
              打印机中的信封进纸盒。 
             | 
| static MediaTray | LARGE_CAPACITY
              打印机中的大容量进纸盘。 
             | 
| static MediaTray | MAIN
              打印机中的主进纸盒。 
             | 
| static MediaTray | MANUAL
              打印机中的手动进纸盘。 
             | 
| static MediaTray | MIDDLE
              打印机中的中间进纸盘。 
             | 
| static MediaTray | SIDE
              侧面进纸盘。 
             | 
| static MediaTray | TOP
              打印机中的顶部进纸盒。 
             | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | MediaTray(int value)
              用给定的整数值构建新的媒体托盘枚举值。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| protected EnumSyntax[] | getEnumValueTable()
              返回MediaTray类的枚举值表。 
             | 
| protected String[] | getStringTable()
              返回类MediaTray的字符串表。 
             | 
equals, getCategory, getNameclone, getOffset, getValue, hashCode, readResolve, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetCategory, getNamepublic static final MediaTray TOP
public static final MediaTray MIDDLE
public static final MediaTray BOTTOM
public static final MediaTray ENVELOPE
public static final MediaTray MANUAL
public static final MediaTray LARGE_CAPACITY
public static final MediaTray MAIN
public static final MediaTray SIDE
protected String[] getStringTable()
getStringTable在类 
            EnumSyntax 
           protected EnumSyntax[] getEnumValueTable()
getEnumValueTable在 
            EnumSyntax 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.