Class PageAttributes.MediaType
java.lang.Object
java.awt.PageAttributes.MediaType
- Enclosing class:
PageAttributes
A type-safe enumeration of possible paper sizes. These sizes are in
compliance with IPP 1.1.
- Since:
- 1.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PageAttributes.MediaType
The MediaType instance for Engineering A, 8 1/2 x 11 in.static final PageAttributes.MediaType
An alias for ISO_A0.static final PageAttributes.MediaType
An alias for ISO_A1.static final PageAttributes.MediaType
An alias for ISO_A10.static final PageAttributes.MediaType
An alias for ISO_A2.static final PageAttributes.MediaType
An alias for ISO_A3.static final PageAttributes.MediaType
An alias for ISO_A4.static final PageAttributes.MediaType
An alias for ISO_A5.static final PageAttributes.MediaType
An alias for ISO_A6.static final PageAttributes.MediaType
An alias for ISO_A7.static final PageAttributes.MediaType
An alias for ISO_A8.static final PageAttributes.MediaType
An alias for ISO_A9.static final PageAttributes.MediaType
The MediaType instance for Engineering B, 11 x 17 in.static final PageAttributes.MediaType
An alias for ISO_B0.static final PageAttributes.MediaType
An alias for ISO_B1.static final PageAttributes.MediaType
An alias for ISO_B10.static final PageAttributes.MediaType
An alias for ISO_B2.static final PageAttributes.MediaType
An alias for ISO_B3.static final PageAttributes.MediaType
An alias for ISO_B4.static final PageAttributes.MediaType
An alias for ISO_B5.static final PageAttributes.MediaType
An alias for ISO_B6.static final PageAttributes.MediaType
An alias for ISO_B7.static final PageAttributes.MediaType
An alias for ISO_B8.static final PageAttributes.MediaType
An alias for ISO_B9.static final PageAttributes.MediaType
The MediaType instance for Engineering C, 17 x 22 in.static final PageAttributes.MediaType
An alias for ISO_C0.static final PageAttributes.MediaType
An alias for ISO_C1.static final PageAttributes.MediaType
An alias for ISO_C10.static final PageAttributes.MediaType
An alias for ISO_C2.static final PageAttributes.MediaType
An alias for ISO_C3.static final PageAttributes.MediaType
An alias for ISO_C4.static final PageAttributes.MediaType
An alias for ISO_C5.static final PageAttributes.MediaType
An alias for ISO_C6.static final PageAttributes.MediaType
An alias for ISO_C7.static final PageAttributes.MediaType
An alias for ISO_C8.static final PageAttributes.MediaType
An alias for ISO_C9.static final PageAttributes.MediaType
The MediaType instance for Engineering D, 22 x 34 in.static final PageAttributes.MediaType
The MediaType instance for Engineering E, 34 x 44 in.static final PageAttributes.MediaType
An alias for NA_NUMBER_10_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_10X13_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_10X14_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_10X15_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_NUMBER_11_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_NUMBER_12_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_NUMBER_14_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_6X9_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_7X9_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_NUMBER_9_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_9X11_ENVELOPE.static final PageAttributes.MediaType
An alias for NA_9X12_ENVELOPE.static final PageAttributes.MediaType
An alias for INVITE_ENVELOPE.static final PageAttributes.MediaType
An alias for ITALY_ENVELOPE.static final PageAttributes.MediaType
An alias for MONARCH_ENVELOPE.static final PageAttributes.MediaType
An alias for PERSONAL_ENVELOPE.static final PageAttributes.MediaType
The MediaType instance for Executive, 7 1/4 x 10 1/2 in.static final PageAttributes.MediaType
The MediaType instance for Folio, 8 1/2 x 13 in.static final PageAttributes.MediaType
An alias for INVITE_ENVELOPE.static final PageAttributes.MediaType
The MediaType instance for Invitation Envelope, 220 x 220 mm.static final PageAttributes.MediaType
The MediaType instance for Invoice, 5 1/2 x 8 1/2 in.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS 2A0, 1189 x 1682 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS 4A0, 1682 x 2378 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A0, 841 x 1189 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A1, 594 x 841 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A10, 26 x 37 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A2, 420 x 594 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A3, 297 x 420 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A4, 210 x 297 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A5, 148 x 210 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A6, 105 x 148 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A7, 74 x 105 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A8, 52 x 74 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN and JIS A9, 37 x 52 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B0, 1000 x 1414 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B1, 707 x 1000 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B10, 31 x 44 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B2, 500 x 707 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B3, 353 x 500 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B4, 250 x 353 mm.static final PageAttributes.MediaType
An alias for ISO_B4.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B5, 176 x 250 mm.static final PageAttributes.MediaType
An alias for ISO_B5.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B6, 125 x 176 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B7, 88 x 125 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B8, 62 x 88 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN B9, 44 x 62 mm.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C0, 917 x 1297 mm.static final PageAttributes.MediaType
An alias for ISO_C0.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C1, 648 x 917 mm.static final PageAttributes.MediaType
An alias for ISO_C1.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C10, 28 x 40 mm.static final PageAttributes.MediaType
An alias for ISO_C10.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C2, 458 x 648 mm.static final PageAttributes.MediaType
An alias for ISO_C2.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C3, 324 x 458 mm.static final PageAttributes.MediaType
An alias for ISO_C3.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C4, 229 x 324 mm.static final PageAttributes.MediaType
An alias for ISO_C4.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C5, 162 x 229 mm.static final PageAttributes.MediaType
An alias for ISO_C5.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C6, 114 x 162 mm.static final PageAttributes.MediaType
An alias for ISO_C6.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C7, 81 x 114 mm.static final PageAttributes.MediaType
An alias for ISO_C7.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C8, 57 x 81 mm.static final PageAttributes.MediaType
An alias for ISO_C8.static final PageAttributes.MediaType
The MediaType instance for ISO/DIN C9, 40 x 57 mm.static final PageAttributes.MediaType
An alias for ISO_C9.static final PageAttributes.MediaType
The MediaType instance for ISO Designated Long, 110 x 220 mm.static final PageAttributes.MediaType
An alias for ISO_DESIGNATED_LONG.static final PageAttributes.MediaType
An alias for ITALY_ENVELOPE.static final PageAttributes.MediaType
The MediaType instance for Italy Envelope, 110 x 230 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B0, 1030 x 1456 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B1, 728 x 1030 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B10, 32 x 45 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B2, 515 x 728 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B3, 364 x 515 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B4, 257 x 364 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B5, 182 x 257 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B6, 128 x 182 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B7, 91 x 128 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B8, 64 x 91 mm.static final PageAttributes.MediaType
The MediaType instance for JIS B9, 45 x 64 mm.static final PageAttributes.MediaType
The MediaType instance for Ledger, 11 x 17 in.static final PageAttributes.MediaType
An alias for NA_LEGAL.static final PageAttributes.MediaType
An alias for NA_LETTER.static final PageAttributes.MediaType
An alias for MONARCH_ENVELOPE.static final PageAttributes.MediaType
The MediaType instance for Monarch Envelope, 3 7/8 x 7 1/2 in.static final PageAttributes.MediaType
The MediaType instance for North American 10 x 13 in.static final PageAttributes.MediaType
The MediaType instance for North American 10 x 14 in.static final PageAttributes.MediaType
The MediaType instance for North American 10 x 15 in.static final PageAttributes.MediaType
The MediaType instance for North American 6 x 9 in.static final PageAttributes.MediaType
The MediaType instance for North American 7 x 9 in.static final PageAttributes.MediaType
The MediaType instance for North American 9 x 11 in.static final PageAttributes.MediaType
The MediaType instance for North American 9 x 12 in.static final PageAttributes.MediaType
The MediaType instance for North American Legal, 8 1/2 x 14 in.static final PageAttributes.MediaType
The MediaType instance for North American Letter, 8 1/2 x 11 in.static final PageAttributes.MediaType
The MediaType instance for North American #10 Business Envelope, 4 1/8 x 9 1/2 in.static final PageAttributes.MediaType
The MediaType instance for North American #11 Business Envelope, 4 1/2 x 10 3/8 in.static final PageAttributes.MediaType
The MediaType instance for North American #12 Business Envelope, 4 3/4 x 11 in.static final PageAttributes.MediaType
The MediaType instance for North American #14 Business Envelope, 5 x 11 1/2 in.static final PageAttributes.MediaType
The MediaType instance for North American #9 Business Envelope, 3 7/8 x 8 7/8 in.static final PageAttributes.MediaType
An alias for NA_LETTER.static final PageAttributes.MediaType
An alias for PERSONAL_ENVELOPE.static final PageAttributes.MediaType
The MediaType instance for 6 3/4 envelope, 3 5/8 x 6 1/2 in.static final PageAttributes.MediaType
The MediaType instance for Quarto, 215 x 275 mm.static final PageAttributes.MediaType
An alias for INVOICE.static final PageAttributes.MediaType
An alias for LEDGER. -
Method Summary
-
Field Details
-
ISO_4A0
The MediaType instance for ISO/DIN and JIS 4A0, 1682 x 2378 mm. -
ISO_2A0
The MediaType instance for ISO/DIN and JIS 2A0, 1189 x 1682 mm. -
ISO_A0
The MediaType instance for ISO/DIN and JIS A0, 841 x 1189 mm. -
ISO_A1
The MediaType instance for ISO/DIN and JIS A1, 594 x 841 mm. -
ISO_A2
The MediaType instance for ISO/DIN and JIS A2, 420 x 594 mm. -
ISO_A3
The MediaType instance for ISO/DIN and JIS A3, 297 x 420 mm. -
ISO_A4
The MediaType instance for ISO/DIN and JIS A4, 210 x 297 mm. -
ISO_A5
The MediaType instance for ISO/DIN and JIS A5, 148 x 210 mm. -
ISO_A6
The MediaType instance for ISO/DIN and JIS A6, 105 x 148 mm. -
ISO_A7
The MediaType instance for ISO/DIN and JIS A7, 74 x 105 mm. -
ISO_A8
The MediaType instance for ISO/DIN and JIS A8, 52 x 74 mm. -
ISO_A9
The MediaType instance for ISO/DIN and JIS A9, 37 x 52 mm. -
ISO_A10
The MediaType instance for ISO/DIN and JIS A10, 26 x 37 mm. -
ISO_B0
The MediaType instance for ISO/DIN B0, 1000 x 1414 mm. -
ISO_B1
The MediaType instance for ISO/DIN B1, 707 x 1000 mm. -
ISO_B2
The MediaType instance for ISO/DIN B2, 500 x 707 mm. -
ISO_B3
The MediaType instance for ISO/DIN B3, 353 x 500 mm. -
ISO_B4
The MediaType instance for ISO/DIN B4, 250 x 353 mm. -
ISO_B5
The MediaType instance for ISO/DIN B5, 176 x 250 mm. -
ISO_B6
The MediaType instance for ISO/DIN B6, 125 x 176 mm. -
ISO_B7
The MediaType instance for ISO/DIN B7, 88 x 125 mm. -
ISO_B8
The MediaType instance for ISO/DIN B8, 62 x 88 mm. -
ISO_B9
The MediaType instance for ISO/DIN B9, 44 x 62 mm. -
ISO_B10
The MediaType instance for ISO/DIN B10, 31 x 44 mm. -
JIS_B0
The MediaType instance for JIS B0, 1030 x 1456 mm. -
JIS_B1
The MediaType instance for JIS B1, 728 x 1030 mm. -
JIS_B2
The MediaType instance for JIS B2, 515 x 728 mm. -
JIS_B3
The MediaType instance for JIS B3, 364 x 515 mm. -
JIS_B4
The MediaType instance for JIS B4, 257 x 364 mm. -
JIS_B5
The MediaType instance for JIS B5, 182 x 257 mm. -
JIS_B6
The MediaType instance for JIS B6, 128 x 182 mm. -
JIS_B7
The MediaType instance for JIS B7, 91 x 128 mm. -
JIS_B8
The MediaType instance for JIS B8, 64 x 91 mm. -
JIS_B9
The MediaType instance for JIS B9, 45 x 64 mm. -
JIS_B10
The MediaType instance for JIS B10, 32 x 45 mm. -
ISO_C0
The MediaType instance for ISO/DIN C0, 917 x 1297 mm. -
ISO_C1
The MediaType instance for ISO/DIN C1, 648 x 917 mm. -
ISO_C2
The MediaType instance for ISO/DIN C2, 458 x 648 mm. -
ISO_C3
The MediaType instance for ISO/DIN C3, 324 x 458 mm. -
ISO_C4
The MediaType instance for ISO/DIN C4, 229 x 324 mm. -
ISO_C5
The MediaType instance for ISO/DIN C5, 162 x 229 mm. -
ISO_C6
The MediaType instance for ISO/DIN C6, 114 x 162 mm. -
ISO_C7
The MediaType instance for ISO/DIN C7, 81 x 114 mm. -
ISO_C8
The MediaType instance for ISO/DIN C8, 57 x 81 mm. -
ISO_C9
The MediaType instance for ISO/DIN C9, 40 x 57 mm. -
ISO_C10
The MediaType instance for ISO/DIN C10, 28 x 40 mm. -
ISO_DESIGNATED_LONG
The MediaType instance for ISO Designated Long, 110 x 220 mm. -
EXECUTIVE
The MediaType instance for Executive, 7 1/4 x 10 1/2 in. -
FOLIO
The MediaType instance for Folio, 8 1/2 x 13 in. -
INVOICE
The MediaType instance for Invoice, 5 1/2 x 8 1/2 in. -
LEDGER
The MediaType instance for Ledger, 11 x 17 in. -
NA_LETTER
The MediaType instance for North American Letter, 8 1/2 x 11 in. -
NA_LEGAL
The MediaType instance for North American Legal, 8 1/2 x 14 in. -
QUARTO
The MediaType instance for Quarto, 215 x 275 mm. -
A
The MediaType instance for Engineering A, 8 1/2 x 11 in. -
B
The MediaType instance for Engineering B, 11 x 17 in. -
C
The MediaType instance for Engineering C, 17 x 22 in. -
D
The MediaType instance for Engineering D, 22 x 34 in. -
E
The MediaType instance for Engineering E, 34 x 44 in. -
NA_10X15_ENVELOPE
The MediaType instance for North American 10 x 15 in. -
NA_10X14_ENVELOPE
The MediaType instance for North American 10 x 14 in. -
NA_10X13_ENVELOPE
The MediaType instance for North American 10 x 13 in. -
NA_9X12_ENVELOPE
The MediaType instance for North American 9 x 12 in. -
NA_9X11_ENVELOPE
The MediaType instance for North American 9 x 11 in. -
NA_7X9_ENVELOPE
The MediaType instance for North American 7 x 9 in. -
NA_6X9_ENVELOPE
The MediaType instance for North American 6 x 9 in. -
NA_NUMBER_9_ENVELOPE
The MediaType instance for North American #9 Business Envelope, 3 7/8 x 8 7/8 in. -
NA_NUMBER_10_ENVELOPE
The MediaType instance for North American #10 Business Envelope, 4 1/8 x 9 1/2 in. -
NA_NUMBER_11_ENVELOPE
The MediaType instance for North American #11 Business Envelope, 4 1/2 x 10 3/8 in. -
NA_NUMBER_12_ENVELOPE
The MediaType instance for North American #12 Business Envelope, 4 3/4 x 11 in. -
NA_NUMBER_14_ENVELOPE
The MediaType instance for North American #14 Business Envelope, 5 x 11 1/2 in. -
INVITE_ENVELOPE
The MediaType instance for Invitation Envelope, 220 x 220 mm. -
ITALY_ENVELOPE
The MediaType instance for Italy Envelope, 110 x 230 mm. -
MONARCH_ENVELOPE
The MediaType instance for Monarch Envelope, 3 7/8 x 7 1/2 in. -
PERSONAL_ENVELOPE
The MediaType instance for 6 3/4 envelope, 3 5/8 x 6 1/2 in. -
A0
An alias for ISO_A0. -
A1
An alias for ISO_A1. -
A2
An alias for ISO_A2. -
A3
An alias for ISO_A3. -
A4
An alias for ISO_A4. -
A5
An alias for ISO_A5. -
A6
An alias for ISO_A6. -
A7
An alias for ISO_A7. -
A8
An alias for ISO_A8. -
A9
An alias for ISO_A9. -
A10
An alias for ISO_A10. -
B0
An alias for ISO_B0. -
B1
An alias for ISO_B1. -
B2
An alias for ISO_B2. -
B3
An alias for ISO_B3. -
B4
An alias for ISO_B4. -
ISO_B4_ENVELOPE
An alias for ISO_B4. -
B5
An alias for ISO_B5. -
ISO_B5_ENVELOPE
An alias for ISO_B5. -
B6
An alias for ISO_B6. -
B7
An alias for ISO_B7. -
B8
An alias for ISO_B8. -
B9
An alias for ISO_B9. -
B10
An alias for ISO_B10. -
C0
An alias for ISO_C0. -
ISO_C0_ENVELOPE
An alias for ISO_C0. -
C1
An alias for ISO_C1. -
ISO_C1_ENVELOPE
An alias for ISO_C1. -
C2
An alias for ISO_C2. -
ISO_C2_ENVELOPE
An alias for ISO_C2. -
C3
An alias for ISO_C3. -
ISO_C3_ENVELOPE
An alias for ISO_C3. -
C4
An alias for ISO_C4. -
ISO_C4_ENVELOPE
An alias for ISO_C4. -
C5
An alias for ISO_C5. -
ISO_C5_ENVELOPE
An alias for ISO_C5. -
C6
An alias for ISO_C6. -
ISO_C6_ENVELOPE
An alias for ISO_C6. -
C7
An alias for ISO_C7. -
ISO_C7_ENVELOPE
An alias for ISO_C7. -
C8
An alias for ISO_C8. -
ISO_C8_ENVELOPE
An alias for ISO_C8. -
C9
An alias for ISO_C9. -
ISO_C9_ENVELOPE
An alias for ISO_C9. -
C10
An alias for ISO_C10. -
ISO_C10_ENVELOPE
An alias for ISO_C10. -
ISO_DESIGNATED_LONG_ENVELOPE
An alias for ISO_DESIGNATED_LONG. -
STATEMENT
An alias for INVOICE. -
TABLOID
An alias for LEDGER. -
LETTER
An alias for NA_LETTER. -
NOTE
An alias for NA_LETTER. -
LEGAL
An alias for NA_LEGAL. -
ENV_10X15
An alias for NA_10X15_ENVELOPE. -
ENV_10X14
An alias for NA_10X14_ENVELOPE. -
ENV_10X13
An alias for NA_10X13_ENVELOPE. -
ENV_9X12
An alias for NA_9X12_ENVELOPE. -
ENV_9X11
An alias for NA_9X11_ENVELOPE. -
ENV_7X9
An alias for NA_7X9_ENVELOPE. -
ENV_6X9
An alias for NA_6X9_ENVELOPE. -
ENV_9
An alias for NA_NUMBER_9_ENVELOPE. -
ENV_10
An alias for NA_NUMBER_10_ENVELOPE. -
ENV_11
An alias for NA_NUMBER_11_ENVELOPE. -
ENV_12
An alias for NA_NUMBER_12_ENVELOPE. -
ENV_14
An alias for NA_NUMBER_14_ENVELOPE. -
ENV_INVITE
An alias for INVITE_ENVELOPE. -
ENV_ITALY
An alias for ITALY_ENVELOPE. -
ENV_MONARCH
An alias for MONARCH_ENVELOPE. -
ENV_PERSONAL
An alias for PERSONAL_ENVELOPE. -
INVITE
An alias for INVITE_ENVELOPE. -
ITALY
An alias for ITALY_ENVELOPE. -
MONARCH
An alias for MONARCH_ENVELOPE. -
PERSONAL
An alias for PERSONAL_ENVELOPE.
-
-
Method Details
-
hashCode
public int hashCode()Description copied from class:Object
Returns a hash code value for this object. This method is supported for the benefit of hash tables such as those provided byHashMap
.The general contract of
hashCode
is:- Whenever it is invoked on the same object more than once during
an execution of a Java application, the
hashCode
method must consistently return the same integer, provided no information used inequals
comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application. - If two objects are equal according to the
equals
method, then calling thehashCode
method on each of the two objects must produce the same integer result. - It is not required that if two objects are unequal
according to the
equals
method, then calling thehashCode
method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
- Whenever it is invoked on the same object more than once during
an execution of a Java application, the
-
toString
-