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 int
FIT_SCALE
static int
TRUE_SCALE
static int
USER_SCALE
-
Constructor Summary
Constructors Constructor Description Page()
Page constructor comment.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageFormat
getPageFormat()
Insert the method's description here.static int
getPrintMode()
Insert the method's description here.static PrintRequestAttributeSet
getPrintRequestAttributeSet()
Returns the printRequestAttributeSet.static double
getUserScale()
Insert the method's description here.static void
setPageFormat(PageFormat newPageFormat)
Insert the method's description here.static void
setPrintMode(int newPrintMode)
Insert the method's description here.static void
setPrintRequestAttributeSet(PrintRequestAttributeSet printRequestAttributeSet)
Sets the printRequestAttributeSet.static void
setUserScale(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
-
-