Class RenderOptionPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class RenderOptionPanel extends JPanel
The RenderOptionPanel class allows the user to choose from a set of image rendering options.
Since:
3.1.7
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • RenderOptionPanel

      public RenderOptionPanel(boolean showLegends, boolean showSmooth, boolean showWorld, boolean showColor, boolean showCompress)
      Creates a new option panel with the specified options
      Parameters:
      showLegends - if true, shows the legends checkbox.
      showSmooth - if true, shows the smoothing checkbox.
      showWorld - if true, shows the world file checkbox.
      showColor - if true, shows the color index checkbox and spinner.
      showCompress - if true, shows the TIFF compression checkbox and combo.
  • Method Details

    • getInfoLegend

      public boolean getInfoLegend()
      Gets the info legends flag.
      Since:
      3.8.1
    • getLegends

      public boolean getLegends()
      Gets the legends flag.
    • getSmooth

      public boolean getSmooth()
      Gets the smooth flag.
    • getWorld

      public boolean getWorld()
      Gets the world file flag.
    • getColors

      public int getColors()
      Gets the number of colors or 0 for unlimited.
    • getCompress

      public String getCompress()
      Gets the TIFF compression type.
    • main

      public static void main(String[] argv)
      Tests this class.
      Parameters:
      argv - the array of command line parameters.