Package | Description |
---|---|
javax.print.attribute.standard |
Package javax.print.attribute.standard
contains classes for specific printing attributes.
|
Modifier and Type | Field and Description |
---|---|
static MediaSizeName |
MediaSizeName.A
A size .
|
static MediaSizeName |
MediaSizeName.B
B size .
|
static MediaSizeName |
MediaSizeName.C
C size .
|
static MediaSizeName |
MediaSizeName.D
D size .
|
static MediaSizeName |
MediaSizeName.E
E size .
|
static MediaSizeName |
MediaSizeName.EXECUTIVE
executive size .
|
static MediaSizeName |
MediaSizeName.FOLIO
folio size .
|
static MediaSizeName |
MediaSizeName.INVOICE
invoice size .
|
static MediaSizeName |
MediaSizeName.ISO_A0
A0 size.
|
static MediaSizeName |
MediaSizeName.ISO_A1
A1 size.
|
static MediaSizeName |
MediaSizeName.ISO_A10
A10 size.
|
static MediaSizeName |
MediaSizeName.ISO_A2
A2 size.
|
static MediaSizeName |
MediaSizeName.ISO_A3
A3 size.
|
static MediaSizeName |
MediaSizeName.ISO_A4
A4 size.
|
static MediaSizeName |
MediaSizeName.ISO_A5
A5 size.
|
static MediaSizeName |
MediaSizeName.ISO_A6
A6 size.
|
static MediaSizeName |
MediaSizeName.ISO_A7
A7 size.
|
static MediaSizeName |
MediaSizeName.ISO_A8
A8 size.
|
static MediaSizeName |
MediaSizeName.ISO_A9
A9 size.
|
static MediaSizeName |
MediaSizeName.ISO_B0
ISO B0 size.
|
static MediaSizeName |
MediaSizeName.ISO_B1
ISO B1 size.
|
static MediaSizeName |
MediaSizeName.ISO_B10
ISO B10 size.
|
static MediaSizeName |
MediaSizeName.ISO_B2
ISO B2 size.
|
static MediaSizeName |
MediaSizeName.ISO_B3
ISO B3 size.
|
static MediaSizeName |
MediaSizeName.ISO_B4
ISO B4 size.
|
static MediaSizeName |
MediaSizeName.ISO_B5
ISO B5 size.
|
static MediaSizeName |
MediaSizeName.ISO_B6
ISO B6 size.
|
static MediaSizeName |
MediaSizeName.ISO_B7
ISO B7 size.
|
static MediaSizeName |
MediaSizeName.ISO_B8
ISO B8 size.
|
static MediaSizeName |
MediaSizeName.ISO_B9
ISO B9 size.
|
static MediaSizeName |
MediaSizeName.ISO_C0
ISO C0 size.
|
static MediaSizeName |
MediaSizeName.ISO_C1
ISO C1 size.
|
static MediaSizeName |
MediaSizeName.ISO_C2
ISO C2 size.
|
static MediaSizeName |
MediaSizeName.ISO_C3
ISO C3 size.
|
static MediaSizeName |
MediaSizeName.ISO_C4
ISO C4 size.
|
static MediaSizeName |
MediaSizeName.ISO_C5
ISO C5 size.
|
static MediaSizeName |
MediaSizeName.ISO_C6
letter size.
|
static MediaSizeName |
MediaSizeName.ISO_DESIGNATED_LONG
ISO designated long size .
|
static MediaSizeName |
MediaSizeName.ITALY_ENVELOPE
Italy envelope size .
|
static MediaSizeName |
MediaSizeName.JAPANESE_DOUBLE_POSTCARD
Japanese Double Postcard size.
|
static MediaSizeName |
MediaSizeName.JAPANESE_POSTCARD
Japanese Postcard size.
|
static MediaSizeName |
MediaSizeName.JIS_B0
JIS B0 size.
|
static MediaSizeName |
MediaSizeName.JIS_B1
JIS B1 size.
|
static MediaSizeName |
MediaSizeName.JIS_B10
JIS B10 size.
|
static MediaSizeName |
MediaSizeName.JIS_B2
JIS B2 size.
|
static MediaSizeName |
MediaSizeName.JIS_B3
JIS B3 size.
|
static MediaSizeName |
MediaSizeName.JIS_B4
JIS B4 size.
|
static MediaSizeName |
MediaSizeName.JIS_B5
JIS B5 size.
|
static MediaSizeName |
MediaSizeName.JIS_B6
JIS B6 size.
|
static MediaSizeName |
MediaSizeName.JIS_B7
JIS B7 size.
|
static MediaSizeName |
MediaSizeName.JIS_B8
JIS B8 size.
|
static MediaSizeName |
MediaSizeName.JIS_B9
JIS B9 size.
|
static MediaSizeName |
MediaSizeName.LEDGER
ledger size .
|
static MediaSizeName |
MediaSizeName.MONARCH_ENVELOPE
monarch envelope size .
|
static MediaSizeName |
MediaSizeName.NA_10X13_ENVELOPE
10x13 North American envelope size .
|
static MediaSizeName |
MediaSizeName.NA_10X14_ENVELOPE
10x14North American envelope size .
|
static MediaSizeName |
MediaSizeName.NA_10X15_ENVELOPE
10x15 North American envelope size.
|
static MediaSizeName |
MediaSizeName.NA_5X7
5x7 North American paper.
|
static MediaSizeName |
MediaSizeName.NA_6X9_ENVELOPE
6x9 North American envelope size.
|
static MediaSizeName |
MediaSizeName.NA_7X9_ENVELOPE
7x9 North American envelope size.
|
static MediaSizeName |
MediaSizeName.NA_8X10
8x10 North American paper.
|
static MediaSizeName |
MediaSizeName.NA_9X11_ENVELOPE
9x11 North American envelope size.
|
static MediaSizeName |
MediaSizeName.NA_9X12_ENVELOPE
9x12 North American envelope size.
|
static MediaSizeName |
MediaSizeName.NA_LEGAL
legal size .
|
static MediaSizeName |
MediaSizeName.NA_LETTER
letter size.
|
static MediaSizeName |
MediaSizeName.NA_NUMBER_10_ENVELOPE
number 10 envelope size .
|
static MediaSizeName |
MediaSizeName.NA_NUMBER_11_ENVELOPE
number 11 envelope size .
|
static MediaSizeName |
MediaSizeName.NA_NUMBER_12_ENVELOPE
number 12 envelope size .
|
static MediaSizeName |
MediaSizeName.NA_NUMBER_14_ENVELOPE
number 14 envelope size .
|
static MediaSizeName |
MediaSizeName.NA_NUMBER_9_ENVELOPE
number 9 envelope size .
|
static MediaSizeName |
MediaSizeName.PERSONAL_ENVELOPE
personal envelope size .
|
static MediaSizeName |
MediaSizeName.QUARTO
quarto size .
|
static MediaSizeName |
MediaSizeName.TABLOID
tabloid size .
|
Modifier and Type | Method and Description |
---|---|
static MediaSizeName |
MediaSize.findMedia(float x,
float y,
int units)
The specified dimensions are used to locate a matching MediaSize
instance from amongst all the standard MediaSize instances.
|
MediaSizeName |
MediaSize.getMediaSizeName()
Get the media name, if any, for this size.
|
Modifier and Type | Method and Description |
---|---|
static MediaSize |
MediaSize.getMediaSizeForName(MediaSizeName media)
Get the MediaSize for the specified named media.
|
Constructor and Description |
---|
MediaSize(float x,
float y,
int units,
MediaSizeName media)
Construct a new media size attribute from the given floating-point
values.
|
MediaSize(int x,
int y,
int units,
MediaSizeName media)
Construct a new media size attribute from the given integer values.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.