|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PaperSize>
com.teamdev.jxbrowser.print.PaperSize
public enum PaperSize
Represents the international paper size standards.
| Enum Constant Summary | |
|---|---|
A
ANSI/ASME Y14.1 standard A format |
|
A3
ISO 216 A3 format page |
|
A4
ISO 216 A4 format page |
|
A5
ISO 216 A5 format page |
|
B
ANSI/ASME Y14.1 standard B format |
|
B3
ISO 216 B3 format page |
|
B4
ISO 216 A4 format page |
|
B5
ISO 216 A5 format page |
|
C
ANSI/ASME Y14.1 standard C format |
|
LEGAL
USA (CANADA) national standard Legal format |
|
LETTER
USA (CANADA) national standard Letter format |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the page format description. |
double |
getHeight()
Returns the page height in millimeters. |
double |
getWidth()
Returns the page width in millimeters. |
static PaperSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PaperSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PaperSize A3
public static final PaperSize A4
public static final PaperSize A5
public static final PaperSize B3
public static final PaperSize B4
public static final PaperSize B5
public static final PaperSize LETTER
public static final PaperSize LEGAL
public static final PaperSize A
public static final PaperSize B
public static final PaperSize C
| Method Detail |
|---|
public static PaperSize[] values()
for (PaperSize c : PaperSize.values()) System.out.println(c);
public static PaperSize valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic double getWidth()
public double getHeight()
public java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||