|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxbrowser.printing.PaperSize
public final class PaperSize
PrintPaperSize defines paper size for PrintSettings. Check that hardware and it driver supports printing at paper size that you select.
PrintSettings
,
Serialized FormNested Class Summary | |
---|---|
static class |
PaperSize.MeasureUnits
The page size units enumeration. |
Field Summary | |
---|---|
static PaperSize |
A
The print paper size object for ANSI/ASME Y14.1 A page format |
static PaperSize |
A1
The print paper size object for ISO 216 A1 page format |
static PaperSize |
A10
The print paper size object for ISO 216 A10 page format |
static PaperSize |
A2
The print paper size object for ISO 216 A2 page format |
static PaperSize |
A3
The print paper size object for ISO 216 A3 page format |
static PaperSize |
A3_025
The print paper size object for ISO 216/dividing A3/4 page format |
static PaperSize |
A4
The print paper size object for ISO 216 A4 page format |
static PaperSize |
A4_0125
The print paper size object for ISO 216/dividing A4/8 page format |
static PaperSize |
A4_025
The print paper size object for ISO 216/dividing A4/4 page format |
static PaperSize |
A4_03
The print paper size object for ISO 216/dividing A4/3 page format |
static PaperSize |
A5
The print paper size object for ISO 216 A5 page format |
static PaperSize |
A5_03
The print paper size object for ISO 216/dividing A5/3 page format |
static PaperSize |
A6
The print paper size object for ISO 216 A6 page format |
static PaperSize |
A7
The print paper size object for ISO 216 A7 page format |
static PaperSize |
A8
The print paper size object for ISO 216 A8 page format |
static PaperSize |
A9
The print paper size object for ISO 216 A9 page format |
static PaperSize |
AO
The print paper size object for ISO 216 A0 page format |
static PaperSize |
B
The print paper size object for ANSI/ASME Y14.1 B page format |
static PaperSize |
B0
The print paper size object for ISO 216 B0 page format |
static PaperSize |
B1
The print paper size object for ISO 216 B1 page format |
static PaperSize |
B10
The print paper size object for ISO 216 B10 page format |
static PaperSize |
B2
The print paper size object for ISO 216 B2 page format |
static PaperSize |
B3
The print paper size object for ISO 216 B3 page format |
static PaperSize |
B4
The print paper size object for ISO 216 B4 page format |
static PaperSize |
B5
The print paper size object for ISO 216 B5 page format |
static PaperSize |
B6
The print paper size object for ISO 216 B6 page format |
static PaperSize |
B7
The print paper size object for ISO 216 B7 page format |
static PaperSize |
B8
The print paper size object for ISO 216 B8 page format |
static PaperSize |
B9
The print paper size object for ISO 216 B9 page format |
static PaperSize |
C
The print paper size object for ANSI/ASME Y14.1 C page format |
static PaperSize |
C0
The print paper size object for ISO 216 C0 page (mail) format |
static PaperSize |
C1
The print paper size object for ISO 216 C1 page (mail) format |
static PaperSize |
C10
The print paper size object for ISO 216 C10 page (mail) format |
static PaperSize |
C2
The print paper size object for ISO 216 C2 page (mail) format |
static PaperSize |
C3
The print paper size object for ISO 216 C3 page (mail) format |
static PaperSize |
C4
The print paper size object for ISO 216 C4 page (mail) format |
static PaperSize |
C5
The print paper size object for ISO 216 C5 page (mail) format |
static PaperSize |
C6
The print paper size object for ISO 216 C6 page (mail) format |
static PaperSize |
C7
The print paper size object for ISO 216 C7 page (mail) format |
static PaperSize |
C8
The print paper size object for ISO 216 C8 page (mail) format |
static PaperSize |
C9
The print paper size object for ISO 216 C9 page (mail) format |
static PaperSize |
D
The print paper size object for ANSI/ASME Y14.1 D page format |
static PaperSize |
E
The print paper size object for ANSI/ASME Y14.1 E page format |
static PaperSize |
EXECUTIVE
The print paper size object for USA (CANADA) EXECUTIVE page format |
static PaperSize |
LEDGER_TABLOID
The print paper size object for USA (CANADA) LEDGER TABLOID page format |
static PaperSize |
LEGAL
The print paper size object for USA (CANADA) LEGAL page format |
static PaperSize |
LETTER
The print paper size object for USA (CANADA) LETTER page format |
static PaperSize |
RA0
The print paper size object for ISO typographic not truncated paper ISO 216 RA0 page format |
static PaperSize |
RA1
The print paper size object for ISO typographic not truncated paper ISO 216 RA1 page format |
static PaperSize |
RA2
The print paper size object for ISO typographic not truncated paper ISO 216 RA2 page format |
static PaperSize |
RA3
The print paper size object for ISO typographic not truncated paper ISO 216 RA3 page format |
static PaperSize |
RA4
The print paper size object for ISO typographic not truncated paper ISO 216 RA4 page format |
static PaperSize |
RSA0
The print paper size object for ISO typographic not truncated paper ISO 216 RSA0 page format |
static PaperSize |
RSA1
The print paper size object for ISO typographic not truncated paper ISO 216 RSA1 page format |
static PaperSize |
RSA2
The print paper size object for ISO typographic not truncated paper ISO 216 RSA2 page format |
static PaperSize |
RSA3
The print paper size object for ISO typographic not truncated paper ISO 216 RSA3 page format |
static PaperSize |
RSA4
The print paper size object for ISO typographic not truncated paper ISO 216 RSA4 page format |
Constructor Summary | |
---|---|
PaperSize(PaperSize.MeasureUnits units,
PageDimension format,
java.lang.String formatName)
Create PrintPaperSize for specific format and specific units. |
Method Summary | |
---|---|
int |
compareTo(PaperSize o)
|
boolean |
equals(java.lang.Object obj)
|
PaperSize.MeasureUnits |
getMeasureUnits()
|
PageDimension |
getPageDimensionInInches()
Return paper size in inches regardless of what units were used to define the paper size. |
PageDimension |
getPageDimensionInMillimeters()
Return paper size in millimeters regardless of what units were used to define the paper size. |
int |
hashCode()
|
java.lang.String |
toString()
|
static PaperSize |
valueOf(java.lang.String formatName)
Returns PaperSize object corresponding it's standard format name. |
static java.util.List<PaperSize> |
values()
Returns list of all exited paper size format names |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PaperSize AO
public static final PaperSize A1
public static final PaperSize A2
public static final PaperSize A3
public static final PaperSize A4
public static final PaperSize A5
public static final PaperSize A6
public static final PaperSize A7
public static final PaperSize A8
public static final PaperSize A9
public static final PaperSize A10
public static final PaperSize B0
public static final PaperSize B1
public static final PaperSize B2
public static final PaperSize B3
public static final PaperSize B4
public static final PaperSize B5
public static final PaperSize B6
public static final PaperSize B7
public static final PaperSize B8
public static final PaperSize B9
public static final PaperSize B10
public static final PaperSize C0
public static final PaperSize C1
public static final PaperSize C2
public static final PaperSize C3
public static final PaperSize C4
public static final PaperSize C5
public static final PaperSize C6
public static final PaperSize C7
public static final PaperSize C8
public static final PaperSize C9
public static final PaperSize C10
public static final PaperSize A4_03
public static final PaperSize A4_025
public static final PaperSize A4_0125
public static final PaperSize A3_025
public static final PaperSize A5_03
public static final PaperSize RA0
public static final PaperSize RA1
public static final PaperSize RA2
public static final PaperSize RA3
public static final PaperSize RA4
public static final PaperSize RSA0
public static final PaperSize RSA1
public static final PaperSize RSA2
public static final PaperSize RSA3
public static final PaperSize RSA4
public static final PaperSize LETTER
public static final PaperSize LEGAL
public static final PaperSize EXECUTIVE
public static final PaperSize LEDGER_TABLOID
public static final PaperSize A
public static final PaperSize B
public static final PaperSize C
public static final PaperSize D
public static final PaperSize E
Constructor Detail |
---|
public PaperSize(PaperSize.MeasureUnits units, PageDimension format, java.lang.String formatName)
units
- PAPER_SIZE_INCHES or PAPER_SIZE_MILLIMETRSformat
- define the with and height of paper. (if PAPER_SIZE_INCHES do
not use the constants from this class)Method Detail |
---|
public PageDimension getPageDimensionInInches()
public PageDimension getPageDimensionInMillimeters()
public int compareTo(PaperSize o)
compareTo
in interface java.lang.Comparable<PaperSize>
public PaperSize.MeasureUnits getMeasureUnits()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<PaperSize> values()
public static final PaperSize valueOf(java.lang.String formatName)
formatName
- the standard format name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |