lt.monarch.chart.plugins
Class TIFFEncoderPlugin<ChartType extends Chart<?>>

java.lang.Object
  extended by lt.monarch.chart.plugins.AbstractChartPlugin<ChartType>
      extended by lt.monarch.chart.plugins.ImagePlugin<ChartType>
          extended by lt.monarch.chart.plugins.TIFFEncoderPlugin<ChartType>
All Implemented Interfaces:
java.io.Serializable, ChartPlugin<ChartType>

public class TIFFEncoderPlugin<ChartType extends Chart<?>>
extends ImagePlugin<ChartType>

Plug-in for making TIFF images from chart. Creates image from any specified View.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
 
Nested classes/interfaces inherited from class lt.monarch.chart.plugins.ImagePlugin
ImagePlugin.ChartImageBuilder
 
Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.plugins.ImagePlugin
chartImage, chartView, container, encoder, imageHeight, imageWidth, insets, scaleImage
 
Constructor Summary
Constructor and Description
TIFFEncoderPlugin(java.awt.Container container)
          Plug-in constructor.
TIFFEncoderPlugin(int iWidth, int iHeight, java.awt.Container container)
          Plug-in constructor.
TIFFEncoderPlugin(int iWidth, int iHeight, View cView)
          Plug-in constructor.
TIFFEncoderPlugin(TIFFType type, java.awt.Container container)
          Plug-in constructor.
TIFFEncoderPlugin(TIFFType type, int iWidth, int iHeight, java.awt.Container container)
          Plug-in constructor.
TIFFEncoderPlugin(TIFFType type, int iWidth, int iHeight, View cView)
          Plug-in constructor.
TIFFEncoderPlugin(TIFFType type, View cView)
          Plug-in constructor.
TIFFEncoderPlugin(View cView)
          Plug-in constructor.
 
Method Summary
Modifier and Type Method and Description
 void setTiffType(TIFFType type)
          Sets TIFF file type is RGB or CMYK colors.
 
Methods inherited from class lt.monarch.chart.plugins.ImagePlugin
activate, deactivate, generateImageFile, getEncoder, getInsets, processBeforeEncoding, setInsets
 
Methods inherited from class lt.monarch.chart.plugins.AbstractChartPlugin
adjustChart, chart, getChart, install, isActivated, paint, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIFFEncoderPlugin

public TIFFEncoderPlugin(TIFFType type,
                         int iWidth,
                         int iHeight,
                         View cView)
Plug-in constructor. Allows to create the TIFF image from specified chart View.

Parameters:
type - TIFF file type
iWidth - width of chart image.
iHeight - height of chart image.
cView - View of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(int iWidth,
                         int iHeight,
                         View cView)
Plug-in constructor. Allows to create the TIFF image from specified chart View with TIFFType.RGB.

Parameters:
iWidth - width of chart image.
iHeight - height of chart image.
cView - View of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(TIFFType type,
                         View cView)
Plug-in constructor. The size of the resulting TIFF image will be of the same as the size of the chart View.

Parameters:
type - TIFF file type
cView - View of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(View cView)
Plug-in constructor. The size of the resulting TIFF image will be of the same as the size of the chart View with TIFFType.RGB.

Parameters:
cView - View of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(TIFFType type,
                         int iWidth,
                         int iHeight,
                         java.awt.Container container)
Plug-in constructor. Allows to create the TIFF image from specified GUI Container.

Parameters:
type - TIFF file type
iWidth - width of chart image.
iHeight - height of chart image.
container - Container of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(int iWidth,
                         int iHeight,
                         java.awt.Container container)
Plug-in constructor. Allows to create the TIFF image from specified GUI Container with TIFFType.RGB.

Parameters:
iWidth - width of chart image.
iHeight - height of chart image.
container - Container of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(TIFFType type,
                         java.awt.Container container)
Plug-in constructor. The size of the resulting TIFF image will be the same as the size of the chart Container.

Parameters:
type - TIFF file type
container - Container of the chart for image rendering.

TIFFEncoderPlugin

public TIFFEncoderPlugin(java.awt.Container container)
Plug-in constructor. The size of the resulting TIFF image will be the same as the size of the chart Container with TIFFType.RGB.

Parameters:
container - Container of the chart for image rendering.
Method Detail

setTiffType

public void setTiffType(TIFFType type)
Sets TIFF file type is RGB or CMYK colors.

Parameters:
type - TIFF file type