MediaName is a subclass of Media, a printing attribute
class (an enumeration) that specifies the media for a print job as a name.
This attribute can be used instead of specifying MediaSize or
MediaTray.
Class MediaName currently declares a few standard media names.
Implementation- or site-defined names for a media name attribute may also be
created by defining a subclass of class MediaName.
IPP Compatibility: MediaName is a representation class for
values of the IPP "media" attribute which names media.
| Modifier and Type | Field and Description |
|---|---|
| public static final MediaName | ISO_A4_TRANSPARENT
A4 transparency. |
| public static final MediaName | ISO_A4_WHITE
white A4 paper. |
| private static final MediaName[] | myEnumValueTable
The enumeration value table for class |
| private static final String[] | myStringTable
The string table for class |
| public static final MediaName | NA_LETTER_TRANSPARENT
letter transparency. |
| public static final MediaName | NA_LETTER_WHITE
white letter paper. |
| private static final long | serialVersionUID
Hides javax. |
| Access | Constructor and Description |
|---|---|
| protected | MediaName(int
Integer value value)Constructs a new media name enumeration value with the given integer value. |
| Modifier and Type | Method and Description |
|---|---|
| protected EnumSyntax[] | Returns: the enumeration value tableOverrides javax. Returns the enumeration value table for class |
| protected String[] | Returns: the string tableOverrides javax. Returns the string table for class |
| ISO_A4_TRANSPARENT | back to summary |
|---|---|
| public static final MediaName ISO_A4_TRANSPARENT A4 transparency. | |
| ISO_A4_WHITE | back to summary |
|---|---|
| public static final MediaName ISO_A4_WHITE white A4 paper. | |
| myEnumValueTable | back to summary |
|---|---|
| private static final MediaName[] myEnumValueTable The enumeration value table for class | |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| NA_LETTER_TRANSPARENT | back to summary |
|---|---|
| public static final MediaName NA_LETTER_TRANSPARENT letter transparency. | |
| NA_LETTER_WHITE | back to summary |
|---|---|
| public static final MediaName NA_LETTER_WHITE white letter paper. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.4 for interoperability. | |
| MediaName | back to summary |
|---|---|
| protected MediaName(int value) Constructs a new media name enumeration value with the given integer value.
| |
| getEnumValueTable | back to summary |
|---|---|
| protected EnumSyntax[] getEnumValueTable() Overrides javax. Returns the enumeration value table for class
| |
| getStringTable | back to summary |
|---|---|
| protected String[] getStringTable() Overrides javax. Returns the string table for class | |