|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.fx.print.PageFormat
A PageFormat class is sent to a Printable object during the printing of a document. It gives information on page resolution of the printer being used.
| Field Summary | |
double |
fullPageHeight
|
double |
fullPageWidth
|
double |
imageableHeight
|
double |
imageableWidth
|
double |
imageableX
|
double |
imageableY
|
double |
requestedFullHeight
|
double |
requestedFullWidth
|
double |
requestedHeight
|
double |
requestedWidth
|
double |
requestedX
|
double |
requestedXDpi
|
double |
requestedY
|
double |
requestedYDpi
|
double |
xDPI
This is the output X-DPI and it may not be know, and if so, it will be 0. |
double |
xScreenScale
|
double |
yDPI
This is the output Y-DPI and it may not be know, and if so, it will be 0. |
double |
yScreenScale
|
| Constructor Summary | |
PageFormat()
|
|
| Method Summary | |
void |
acceptRequests()
Return the Requested Imageable area for the PageFormat - if one was requested, otherwise null will be returned. |
void |
requestDPI(double xDPI,
double yDPI)
This requests that the output DPI be set to the specified values. |
void |
requestImageableArea(double x,
double y,
double width,
double height)
This requests that the imageable area of the paper to be set to the specified values, which are given in units of Points (printer dots - 1/72 of an inch). |
void |
requestPageSize(double width,
double height)
This requests that the size of the paper be set to specified values, which are given in units of Points (printer dots - 1/72 of an inch). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Field Detail |
public double fullPageWidth
public double fullPageHeight
public double imageableWidth
public double imageableHeight
public double xScreenScale
public double yScreenScale
public double imageableX
public double imageableY
public double xDPI
public double yDPI
public double requestedX
public double requestedY
public double requestedWidth
public double requestedHeight
public double requestedFullWidth
public double requestedFullHeight
public double requestedXDpi
public double requestedYDpi
| Constructor Detail |
public PageFormat()
| Method Detail |
public void requestDPI(double xDPI,
double yDPI)
public void requestImageableArea(double x,
double y,
double width,
double height)
x - the x offset of the imageable area.y - the y offset of the imageable area.width - the width of the imageable area.height - the height of the imageable area.
public void requestPageSize(double width,
double height)
width - the requested size of the paper.height - the requested height of the paper.public void acceptRequests()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||