public class PageConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
A3 |
static String |
A4 |
static String |
A5 |
static String |
A6 |
static String |
BACKGROUND |
static String |
BACKGROUND_COLOR |
static String |
BEST_FIT |
static String |
CUSTOM_PAGE_SIZE
Value for CUSTOM_PAGE_SIZE and Key for a Dimension
object if custom size is used
|
static String |
EXECUTIVE |
static String |
FIT_TO_PAGE |
static String |
INTERNATIONAL |
static String |
LANDSCAPE |
static String |
LARGE |
static String |
LEDGER |
static String |
LEGAL |
static String |
LETTER |
static String |
MEDIUM |
static String |
ORIENTATION |
static String |
PAGE_MARGINS |
static String |
PAGE_SIZE |
static String |
PORTRAIT |
static String |
SMALL |
static String |
TRANSPARENT |
Modifier and Type | Method and Description |
---|---|
static Insets |
getMargins(Insets insets,
String orientation) |
static Insets |
getMargins(String size) |
static String[] |
getOrientationList() |
static Dimension |
getSize(String size) |
static Dimension |
getSize(String size,
String orientation) |
static String[] |
getSizeList() |
public static final String ORIENTATION
public static final String PORTRAIT
public static final String LANDSCAPE
public static final String BEST_FIT
public static final String PAGE_SIZE
public static final String INTERNATIONAL
public static final String A3
public static final String A4
public static final String A5
public static final String A6
public static final String CUSTOM_PAGE_SIZE
public static final String LETTER
public static final String LEGAL
public static final String EXECUTIVE
public static final String LEDGER
public static final String PAGE_MARGINS
public static final String SMALL
public static final String MEDIUM
public static final String LARGE
public static final String FIT_TO_PAGE
public static final String TRANSPARENT
public static final String BACKGROUND
public static final String BACKGROUND_COLOR
Copyright © 2014. All rights reserved.