org.freehep.graphicsio
Class PageConstants
java.lang.Object
|
+--org.freehep.graphicsio.PageConstants
- public class PageConstants
- extends Object
This class defines a set of constants which describe a page.
Convenience objects are provided for various margins, orientations,
rescaling, and standard page sizes.
- Version:
- $Id: PageConstants.java,v 1.3 2003/05/14 04:10:14 duns Exp $
- Author:
- Charles Loomis, Mark Donszelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIENTATION
public static final String ORIENTATION
- See Also:
- Constant Field Values
PORTRAIT
public static final String PORTRAIT
- See Also:
- Constant Field Values
LANDSCAPE
public static final String LANDSCAPE
- See Also:
- Constant Field Values
BEST_FIT
public static final String BEST_FIT
- See Also:
- Constant Field Values
PAGE_SIZE
public static final String PAGE_SIZE
- See Also:
- Constant Field Values
INTERNATIONAL
public static final String INTERNATIONAL
- See Also:
- Constant Field Values
A3
public static final String A3
- See Also:
- Constant Field Values
A4
public static final String A4
- See Also:
- Constant Field Values
A5
public static final String A5
- See Also:
- Constant Field Values
A6
public static final String A6
- See Also:
- Constant Field Values
LETTER
public static final String LETTER
- See Also:
- Constant Field Values
LEGAL
public static final String LEGAL
- See Also:
- Constant Field Values
EXECUTIVE
public static final String EXECUTIVE
- See Also:
- Constant Field Values
LEDGER
public static final String LEDGER
- See Also:
- Constant Field Values
PAGE_MARGINS
public static final String PAGE_MARGINS
- See Also:
- Constant Field Values
SMALL
public static final String SMALL
- See Also:
- Constant Field Values
MEDIUM
public static final String MEDIUM
- See Also:
- Constant Field Values
LARGE
public static final String LARGE
- See Also:
- Constant Field Values
FIT_TO_PAGE
public static final String FIT_TO_PAGE
- See Also:
- Constant Field Values
TRANSPARENT
public static final String TRANSPARENT
- See Also:
- Constant Field Values
BACKGROUND
public static final String BACKGROUND
- See Also:
- Constant Field Values
BACKGROUND_COLOR
public static final String BACKGROUND_COLOR
- See Also:
- Constant Field Values
getOrientationList
public static final String[] getOrientationList()
getSizeList
public static final String[] getSizeList()
getSize
public static final Dimension getSize(String size)
getSize
public static final Dimension getSize(String size,
String orientation)
getMarginsList
public static final String[] getMarginsList()
getMargins
public static final Insets getMargins(String size)
getMargins
public static final Insets getMargins(String size,
String orientation)
Copyright © 2000-2003 FreeHEP, All Rights Reserved.