public class IlvMapPrintableDocument extends IlvManagerPrintableDocument
IlvManagerPrintableDocument
subclass for printing the content
of an IlvManager
. This printable document adds a page specific for mapping applications.IlvManagerPrintableDocument
ORDERED_BY_COLUMNS, ORDERED_BY_ROWS
NO_SUCH_PAGE, PAGE_EXISTS
UNKNOWN_NUMBER_OF_PAGES
Constructor and Description |
---|
IlvMapPrintableDocument(String name,
IlvManagerView view)
Deprecated.
As of JViews 8.8, replaced by
IlvMapPrintableDocument(String, IlvManagerView, int, Paper) .
The replacement contructor allows the page format to depend on the
printer, or if no printer is available, to depend on the current locale. |
IlvMapPrintableDocument(String name,
IlvManagerView view,
int orientation,
Paper paperFormat)
Creates a
ManagerDocument for the specified
manager view. |
Modifier and Type | Method and Description |
---|---|
protected IlvPage[] |
createPages()
Creates the pages of this document.
|
createPageBreakPreview, createPrintableManagerArea, getColumnCount, getFlow, getMaximumZoomLevel, getMinimumZoomLevel, getPrintArea, getPrintArea, getRowCount, getTotalManagerPrintableArea, getView, getZoomLevel, getZoomTransformer, isAutomaticZoomLevel, isPrintingAllManagerBBox, isZoomLevelModificationEnabled, prepareDocument, setAutomaticZoomLevel, setColumnCount, setMaximumZoomLevel, setMinimumZoomLevel, setPageBreakPreviewVisible, setPrintArea, setRowCount, setZoomLevel, setZoomLevelModificationEnabled, setZoomTransformer
addPage, addPropertyChangeListener, addPropertyChangeListener, enablePrintStyle, firePropertyChange, getAuthor, getDate, getFooter, getHeader, getImageableBounds, getName, getNumberOfPages, getOrientation, getPage, getPageFormat, getPageFormat, getPageIndex, getPageOrder, getPaperFormat, getPrintable, getSides, getTemplatePage, invalidateFlowLayout, invalidatePages, isFlowLayoutValid, maybeInvalidatePages, print, removeAll, removePage, removePropertyChangeListener, removePropertyChangeListener, setAuthor, setDate, setFooter, setHeader, setName, setOrientation, setPageFormat, setPageOrder, setPages, setPaperFormat, setSides, setTemplatePage
@Deprecated public IlvMapPrintableDocument(String name, IlvManagerView view)
IlvMapPrintableDocument(String, IlvManagerView, int, Paper)
.
The replacement contructor allows the page format to depend on the
printer, or if no printer is available, to depend on the current locale.ManagerDocument
for the specified
manager view.name
- The name of the document.view
- The manager view to print.public IlvMapPrintableDocument(String name, IlvManagerView view, int orientation, Paper paperFormat)
ManagerDocument
for the specified
manager view.name
- The name of the document.view
- The manager view to print.orientation
- One of the following: PageFormat.PORTRAIT
,
PageFormat.LANDSCAPE
, or
PageFormat.REVERSE_LANDSCAPE
.paperFormat
- A paper format object. If null
, the paper
format is provided by the
IlvPrintingController
, and depends on the default
printer, or if no printer is available, on the current locale.
Because a fixed page format is not apppropriate for all
printers and all locales, it is best to set this argument
to null
, or to construct it from
IlvPrintingController.getDefaultPaperFormat()
.protected IlvPage[] createPages()
createPages
in class IlvManagerPrintableDocument
IlvManagerPrintableDocument.createPages()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.