|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.dataviewer.PDFWriter
| Constructor Summary | |
PDFWriter(PDFView pdfView)
|
|
| Method Summary | |
int |
getBottomMargin()
Returns the bottom margin of the PDF page(s), in pixels |
int |
getLeftMargin()
Returns the left margin of the PDF page(s), in pixels |
int |
getMinPageHeight()
Returns the minimum PDF page(s) height |
int |
getMinPageWidth()
Returns the minimum PDF page(s) width |
int |
getPageHeight()
Returns the PDF page(s) height |
int |
getPageWidth()
Returns the PDF page(s) width |
int |
getRightMargin()
Returns the right margin of the PDF page(s), in pixels |
int |
getTopMargin()
Returns the top margin of the PDF page(s), in pixels |
void |
pageSetup()
Displays the PDF page setup dialog |
void |
pageSetup(java.awt.Frame frame)
Displays the PDF page setup dialog |
void |
setBottomMargin(int bottomMargin)
Sets the bottom margin of the PDF page(s), in pixels |
void |
setLeftMargin(int leftMargin)
Sets the left margin of the PDF page(s), in pixels |
void |
setPageSize(int width,
int height)
Sets the PDF page(s) size |
void |
setRightMargin(int rightMargin)
Sets the right margin of the PDF page(s), in pixels |
void |
setTopMargin(int topMargin)
Sets the top margin of the PDF page(s), in pixels |
protected void |
validatePageSize(int width,
int height)
Validates the specified page size |
void |
writePDF(java.io.OutputStream out)
Writes the PDF to the specified OutputStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDFWriter(PDFView pdfView)
| Method Detail |
public void pageSetup()
public void pageSetup(java.awt.Frame frame)
frame - The frame on to which this PDF page setup dialog is added
if frame is null then new Frame created internallypublic void setLeftMargin(int leftMargin)
leftMargin - the left margin of the PDF page(s), in pixelspublic int getLeftMargin()
public void setRightMargin(int rightMargin)
rightMargin - the right margin of the PDF page(s), in pixelspublic int getRightMargin()
public void setTopMargin(int topMargin)
topMargin - the top margin of the PDF page(s), in pixelspublic int getTopMargin()
public void setBottomMargin(int bottomMargin)
bottomMargin - the bottom margin of the PDF page(s), in pixelspublic int getBottomMargin()
public void setPageSize(int width,
int height)
width - The width of the PDF page(s)height - The height of the PDF page(s)public int getPageWidth()
public int getPageHeight()
public int getMinPageWidth()
public int getMinPageHeight()
protected void validatePageSize(int width,
int height)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void writePDF(java.io.OutputStream out)
throws java.lang.IllegalArgumentException,
java.io.IOException
out - the OutputStream object
java.lang.IllegalArgumentException
java.io.IOException
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||