public class MediaTray extends Media
MediaTray
is a subclass of the Media
printing
attribute and provides selection of media to be used by the means of the
input tray of the printer. The class pre-defines commonly available types
of input trays in printers. This media type enumeration may be used in
alternative to MediaSizeName/MediaName.
IPP Compatibility: MediaTray is not an IPP 1.1 attribute on its own.
It provides parts of the media
attribute type values.
Modifier and Type | Field and Description |
---|---|
static MediaTray |
BOTTOM
Bottom tray
|
static MediaTray |
ENVELOPE
Envelope tray
|
static MediaTray |
LARGE_CAPACITY
Large capacity tray
|
static MediaTray |
MAIN
Main tray
|
static MediaTray |
MANUAL
Manual-feed tray
|
static MediaTray |
MIDDLE
Middle tray
|
static MediaTray |
SIDE
Side tray
|
static MediaTray |
TOP
Top tray
|
Modifier | Constructor and Description |
---|---|
protected |
MediaTray(int i)
Creates a
MediaTray object. |
Modifier and Type | Method and Description |
---|---|
protected EnumSyntax[] |
getEnumValueTable()
Returns a table with the enumeration values for this object.
|
protected String[] |
getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
equals, getCategory, getName
clone, getOffset, getValue, hashCode, readResolve, toString
public static final MediaTray LARGE_CAPACITY
protected MediaTray(int i)
MediaTray
object.i
- the enum value.protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax