net.refractions.udig.project.ui
Class ApplicationGIS.DrawMapParameter

java.lang.Object
  extended by net.refractions.udig.project.ui.ApplicationGIS.DrawMapParameter
Enclosing class:
ApplicationGIS

public static class ApplicationGIS.DrawMapParameter
extends java.lang.Object

Parameter class for ApplicationGIS.drawMap(net.refractions.udig.project.ui.ApplicationGIS.DrawMapParameter)

Author:
jesse
See Also:
ApplicationGIS.drawMap(net.refractions.udig.project.ui.ApplicationGIS.DrawMapParameter)

Constructor Summary
ApplicationGIS.DrawMapParameter(ApplicationGIS.DrawMapParameter params2)
          Copies the parameters as well as the graphics and destinationSize objects.
ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics, java.awt.Dimension destinationSize, IMap toDraw, BoundsStrategy boundsStrategy, int dpi, SelectionStyle selectionStyle, IProgressMonitor monitor)
          New instance
ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics, java.awt.Dimension destinationSize, IMap toDraw, BoundsStrategy boundsStrategy, int dpi, SelectionStyle selectionStyle, IProgressMonitor monitor, boolean transparent, boolean doBufferedImageForGrids)
          New instance
ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics, java.awt.Dimension destinationSize, IMap toDraw, int dpi, IProgressMonitor monitor)
          Create a new instance with the given DPI
ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics, java.awt.Dimension destinationSize, IMap toDraw, IProgressMonitor monitor)
          Create a new instance with a DPI of 90 (OGC default).
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationGIS.DrawMapParameter

public ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics,
                                       java.awt.Dimension destinationSize,
                                       IMap toDraw,
                                       BoundsStrategy boundsStrategy,
                                       int dpi,
                                       SelectionStyle selectionStyle,
                                       IProgressMonitor monitor,
                                       boolean transparent,
                                       boolean doBufferedImageForGrids)
New instance

Parameters:
graphics - The graphics to draw to
destinationSize - the size of the area to draw to
toDraw - the map to draw.
boundsStrategy - An object for determining how to set the bounds on the map. Feel free to extend the current implementation
dpi - the dpi of the map. The standard PDF is 72, the standard according to the OGC is 90
selectionStyle - how to handle the selection (getFilter()) on a lyaer
monitor - a progress monitor

ApplicationGIS.DrawMapParameter

public ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics,
                                       java.awt.Dimension destinationSize,
                                       IMap toDraw,
                                       BoundsStrategy boundsStrategy,
                                       int dpi,
                                       SelectionStyle selectionStyle,
                                       IProgressMonitor monitor)
New instance

Parameters:
graphics - The graphics to draw to
destinationSize - the size of the area to draw to
toDraw - the map to draw.
boundsStrategy - An object for determining how to set the bounds on the map. Feel free to extend the current implementation
dpi - the dpi of the map. The standard PDF is 72, the standard according to the OGC is 90
selectionStyle - how to handle the selection (getFilter()) on a lyaer
monitor - a progress monitor

ApplicationGIS.DrawMapParameter

public ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics,
                                       java.awt.Dimension destinationSize,
                                       IMap toDraw,
                                       IProgressMonitor monitor)
Create a new instance with a DPI of 90 (OGC default).

Parameters:
graphics - the graphics to draw on.
destinationSize - the destination size.
toDraw - the map to draw
monitor - the progress monitor

ApplicationGIS.DrawMapParameter

public ApplicationGIS.DrawMapParameter(java.awt.Graphics2D graphics,
                                       java.awt.Dimension destinationSize,
                                       IMap toDraw,
                                       int dpi,
                                       IProgressMonitor monitor)
Create a new instance with the given DPI

Parameters:
graphics - the graphics to draw on.
destinationSize - the destination size.
toDraw - the map to draw
dpi - the output DPI
monitor - the progress monitor

ApplicationGIS.DrawMapParameter

public ApplicationGIS.DrawMapParameter(ApplicationGIS.DrawMapParameter params2)
Copies the parameters as well as the graphics and destinationSize objects. DOES NOT COPY map ToDraw

Parameters:
params2 - the parameters to copy