Class Page
- java.lang.Object
-
- com.cosylab.vdct.graphics.printing.Page
-
public class Page extends Object
Insert the type's description here. Creation date: (13.5.2001 12:33:52)- Author:
- cosylab
-
-
Field Summary
Fields Modifier and Type Field Description static intFIT_SCALEstatic intTRUE_SCALEstatic intUSER_SCALE
-
Constructor Summary
Constructors Constructor Description Page()Page constructor comment.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageFormatgetPageFormat()Insert the method's description here.static intgetPrintMode()Insert the method's description here.static PrintRequestAttributeSetgetPrintRequestAttributeSet()Returns the printRequestAttributeSet.static doublegetUserScale()Insert the method's description here.static voidsetPageFormat(PageFormat newPageFormat)Insert the method's description here.static voidsetPrintMode(int newPrintMode)Insert the method's description here.static voidsetPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)Sets the printRequestAttributeSet.static voidsetUserScale(double newUserScale)Insert the method's description here.
-
-
-
Field Detail
-
TRUE_SCALE
public static final int TRUE_SCALE
- See Also:
- Constant Field Values
-
USER_SCALE
public static final int USER_SCALE
- See Also:
- Constant Field Values
-
FIT_SCALE
public static final int FIT_SCALE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPageFormat
public static PageFormat getPageFormat()
Insert the method's description here. Creation date: (13.5.2001 12:35:50)- Returns:
- java.awt.print.PageFormat
-
getPrintMode
public static int getPrintMode()
Insert the method's description here. Creation date: (13.5.2001 17:45:23)- Returns:
- int
-
getUserScale
public static double getUserScale()
Insert the method's description here. Creation date: (13.5.2001 17:50:21)- Returns:
- double
-
setPageFormat
public static void setPageFormat(PageFormat newPageFormat)
Insert the method's description here. Creation date: (13.5.2001 12:35:50)- Parameters:
newPageFormat- java.awt.print.PageFormat
-
setPrintMode
public static void setPrintMode(int newPrintMode)
Insert the method's description here. Creation date: (13.5.2001 17:45:23)- Parameters:
newPrintMode- int
-
setUserScale
public static void setUserScale(double newUserScale)
Insert the method's description here. Creation date: (13.5.2001 17:50:21)- Parameters:
newUserScale- double
-
getPrintRequestAttributeSet
public static PrintRequestAttributeSet getPrintRequestAttributeSet()
Returns the printRequestAttributeSet.- Returns:
- PrintRequestAttributeSet
-
setPrintRequestAttributeSet
public static void setPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
Sets the printRequestAttributeSet.- Parameters:
printRequestAttributeSet- The printRequestAttributeSet to set
-
-