Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.print.attribute.EnumSyntax
javax.print.attribute.standard.Media
javax.print.attribute.standard.MediaSizeName
public class MediaSizeName
extends Media
MediaSizeName
is a subclass of the Media
printing
attribute and provides selection of media to be used by the means of
defined size names. The class pre-defines commonly available media sizes.
This media type enumeration may be used in alternative to
MediaName/MediaTray.
IPP Compatibility: MediaSizeName is not an IPP 1.1 attribute on its
own. It provides parts of the media
attribute type values.
Field Summary | |
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
static MediaSizeName |
|
Constructor Summary | |
|
Method Summary | |
protected EnumSyntax[] |
|
protected String[] |
|
Methods inherited from class javax.print.attribute.standard.Media | |
? extends Attribute> getCategory , equals , getName |
Methods inherited from class javax.print.attribute.EnumSyntax | |
clone , getEnumValueTable , getOffset , getStringTable , getValue , hashCode , readResolve , toString |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public static final MediaSizeName EXECUTIVE
The executive size: 7.25 inches by 10.5 inches.
public static final MediaSizeName ISO_DESIGNATED_LONG
The ISO Designated Long size: 110 mm by 220 mm.
public static final MediaSizeName ITALY_ENVELOPE
The Italy envelope size: 110 mm by 230 mm.
public static final MediaSizeName JAPANESE_DOUBLE_POSTCARD
The Japanese Double postcard size: 148 mm by 200 mm.
public static final MediaSizeName JAPANESE_POSTCARD
The Japanese postcard size, 100 mm by 148 mm.
public static final MediaSizeName MONARCH_ENVELOPE
The Monarch envelope size: 3.87 inch by 7.5 inch.
public static final MediaSizeName NA_10X13_ENVELOPE
The North American 10x13 inch envelope size.
public static final MediaSizeName NA_10X14_ENVELOPE
The North American 10x14 inch envelope size.
public static final MediaSizeName NA_10X15_ENVELOPE
The North American 10x15 inch envelope size.
public static final MediaSizeName NA_6X9_ENVELOPE
The North American 6x9 inch envelope size.
public static final MediaSizeName NA_7X9_ENVELOPE
The North American 7x9 inch envelope size.
public static final MediaSizeName NA_9X11_ENVELOPE
The North American 9x11 inch envelope size.
public static final MediaSizeName NA_9X12_ENVELOPE
The North American 9x12 inch envelope size.
public static final MediaSizeName NA_LEGAL
The North American legal size: 8.5 inches by 14 inches.
public static final MediaSizeName NA_LETTER
The North American letter size: 8.5 inches by 11 inches.
public static final MediaSizeName NA_NUMBER_10_ENVELOPE
The North American number 10 business envelope size: 4.125 inches by 9.5 inches.
public static final MediaSizeName NA_NUMBER_11_ENVELOPE
The North American number 11 business envelope size: 4.5 inches by 10.375 inches.
public static final MediaSizeName NA_NUMBER_12_ENVELOPE
The North American number 12 business envelope size: 4.75 inches by 11 inches.
public static final MediaSizeName NA_NUMBER_14_ENVELOPE
The North American number 14 business envelope size: 5 inches by 11.5 inches.
public static final MediaSizeName NA_NUMBER_9_ENVELOPE
The North American number 9 business envelope size: 3.875 inches by 8.875 inches.
public static final MediaSizeName PERSONAL_ENVELOPE
The Personal envelope size: 3.625 inch by 6.5 inch.
protected MediaSizeName(int value)
Constructs aMediaSizeName
object.
- Parameters:
value
- the enum value.
protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.
- Overrides:
- getEnumValueTable in interface EnumSyntax
- Returns:
- The enumeration values.
protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.
- Overrides:
- getStringTable in interface EnumSyntax
- Returns:
- The enumeration values as strings.