com.tensegrity.gui.swing.dialog.graphfilechooser
Interface ExportSettings

All Known Implementing Classes:
SwtExportSettingsPanel

public interface ExportSettings

This interface defines the methods needed to determine the raster image export options.

Version:
$Id: ExportSettings.java,v 1.9 2006/03/07 12:46:42 BurkhardWick Exp $
Author:
Andreas Ebbert

Method Summary
 boolean forceBaseLine()
          Returns true, if the pixels shall be arranged from the left-top to the right-bottom corner of the picture.
 int getBitDepth()
          Returns the desired bit-depth.
 int getHorizontalAlignment()
          Returns the horizontal alignment as listed in com.tensegrity.graph.view.image.ImageExport
 Boundary getImageInsets()
          Returns the insets for the image
 Size getImageSize()
          Returns the size of the image.
 int getMode()
          Returns the export mode as listed in com.tensegrity.graph.view.image.ImageExport
 float getQuality()
          Returns a quality indicating float, where 1.0 stands for highest and 0.0 for lowest quality.
 int getVerticalAlignment()
          Returns the vertical alignment as listed in com.tensegrity.graph.view.image.ImageExport
 boolean isAntialias()
          Returns true if the antialias is turned on
 boolean isInterlaceEnabled()
          Returns true, if interlace is enabled.
 boolean isOptimized()
          Returns true, if the generic optimization flag for this format is turned on.
 

Method Detail

getQuality

public float getQuality()
Returns a quality indicating float, where 1.0 stands for highest and 0.0 for lowest quality.

Returns:
a quality indicating float.

forceBaseLine

public boolean forceBaseLine()
Returns true, if the pixels shall be arranged from the left-top to the right-bottom corner of the picture.

Returns:
true if baseline encoding is enforced.

getBitDepth

public int getBitDepth()
Returns the desired bit-depth.

Returns:
the desired bit-depth.

isInterlaceEnabled

public boolean isInterlaceEnabled()
Returns true, if interlace is enabled.

Returns:
true, if interlace is enabled.

isOptimized

public boolean isOptimized()
Returns true, if the generic optimization flag for this format is turned on.

Returns:
true, if the generic optimization flag for this format is turned on.

getImageSize

public Size getImageSize()
Returns the size of the image.

Returns:
the size of the image.

getMode

public int getMode()
Returns the export mode as listed in com.tensegrity.graph.view.image.ImageExport

Returns:
the export mode

getHorizontalAlignment

public int getHorizontalAlignment()
Returns the horizontal alignment as listed in com.tensegrity.graph.view.image.ImageExport

Returns:
the horizontal alignment

getVerticalAlignment

public int getVerticalAlignment()
Returns the vertical alignment as listed in com.tensegrity.graph.view.image.ImageExport

Returns:
the vertical alignment

isAntialias

public boolean isAntialias()
Returns true if the antialias is turned on

Returns:
true if the antialias is turned on

getImageInsets

public Boundary getImageInsets()
Returns the insets for the image

Returns:
the insets for the image


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.