|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.app.MapPrintLogic
public class MapPrintLogic
Controls the behavior of printing in a map app.
| Constructor Summary | |
|---|---|
MapPrintLogic(MapApp app)
|
|
| Method Summary | |
|---|---|
protected void |
initialize()
|
void |
print()
|
void |
printWithData()
|
void |
screenshot(java.io.File file)
|
void |
screenshot(java.io.File file,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
|
void |
screenshot(java.io.File file,
int pixelWidth,
int pixelHeight)
|
void |
screenshot(java.awt.Graphics2D g2d)
|
void |
screenshot(java.awt.Graphics2D g2d,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
|
void |
screenshot(java.awt.Graphics2D g2d,
int pixelWidth,
int pixelHeight)
|
void |
screenshot(java.io.OutputStream output,
java.lang.String fileType,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
|
void |
screenshot(java.io.OutputStream output,
java.lang.String fileType,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight,
boolean drawScaleAndNorthArrow)
|
com.lowagie.text.pdf.PdfTemplate |
screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer)
Same as the full screenShotAsTemplate(), centered on the current map view and with the same width and height as the map view. |
com.lowagie.text.pdf.PdfTemplate |
screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
Returns an iText PDFTemplate you can use to insert a map image into a PDF document. |
com.lowagie.text.pdf.PdfTemplate |
screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer,
int pixelWidth,
int pixelHeight)
Same as the full screenShotAsTemplate(), centered on the current map view, but with the given width and height. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapPrintLogic(MapApp app)
| Method Detail |
|---|
protected void initialize()
public void print()
public void printWithData()
public void screenshot(java.io.File file)
public void screenshot(java.io.File file,
int pixelWidth,
int pixelHeight)
public void screenshot(java.io.File file,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
public void screenshot(java.io.OutputStream output,
java.lang.String fileType,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
public void screenshot(java.io.OutputStream output,
java.lang.String fileType,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight,
boolean drawScaleAndNorthArrow)
public com.lowagie.text.pdf.PdfTemplate screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer)
public com.lowagie.text.pdf.PdfTemplate screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer,
int pixelWidth,
int pixelHeight)
public com.lowagie.text.pdf.PdfTemplate screenshotAsTemplate(com.lowagie.text.pdf.PdfWriter writer,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
public void screenshot(java.awt.Graphics2D g2d)
public void screenshot(java.awt.Graphics2D g2d,
int pixelWidth,
int pixelHeight)
public void screenshot(java.awt.Graphics2D g2d,
double centerX,
double centerY,
double scale,
int pixelWidth,
int pixelHeight)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||