public class PrintLayout
extends java.lang.Object
PrintLayout
class stores all the information needed from the
PrintLayoutDialog
Modifier and Type | Field and Description |
---|---|
boolean |
asPDF |
java.lang.String |
font
The font of the elements
|
java.lang.String |
layout
The paper orientation ("portrait" or "landscape")
|
javax.print.attribute.standard.MediaSizeName |
paper
The size of the paper to be printed on
|
java.lang.String |
position
The position of the graph on the paper
("center", "default", "fit to page")
|
boolean |
showGrid
whether or not the grid should be printed
|
boolean |
showTitle
whether or not the title should be printed
|
boolean |
showXScale
whether or not the X-scale should be printed
|
boolean |
showYScale
whether or not the Y-scale should be printed
|
Constructor and Description |
---|
PrintLayout() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Dimension |
getDimension(javax.print.attribute.standard.MediaSizeName paper) |
public java.lang.String layout
public java.lang.String position
public boolean showGrid
public boolean showXScale
public boolean showYScale
public boolean showTitle
public java.lang.String font
public javax.print.attribute.standard.MediaSizeName paper
public boolean asPDF