HiRISE

HiRISE.HiPlan.Utilities
Class JFreeChartUtilities

java.lang.Object
  extended by HiRISE.HiPlan.Utilities.JFreeChartUtilities

public class JFreeChartUtilities
extends Object

A collection of JFreeChart-related utilities for HiPlan and other applications.

These utility methods should not be used in a headless environment, i.e., when the jawa.awt.headless system property is true.

Version:
1.3
Author:
Christian Schaller - UA/PIRL

Field Summary
static String ID
          Class identification name with source code version and date.
 
Method Summary
static void doChartSaveAs(Component parent, ChartPanel chartPanel)
          Uses global save dialog Checks for existing files; prompts if so Pops an error dialog on IOException instead of just throwing it
static void doChartSaveAs(Component parent, double scalingFactor, ChartPanel chartPanel)
           
static void doChartSaveAs(Component parent, int width, int height, ChartPanel chartPanel)
           
static void doChartSaveAsWithSize(Component parent, ChartPanel chartPanel)
           
static void doChartSaveAsWithSize(Component parent, double scalingFactor, ChartPanel chartPanel)
           
static void doChartSaveAsWithSize(Component parent, int width, int height, ChartPanel chartPanel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
Class identification name with source code version and date.

See Also:
Constant Field Values
Method Detail

doChartSaveAs

public static void doChartSaveAs(Component parent,
                                 ChartPanel chartPanel)
Uses global save dialog Checks for existing files; prompts if so Pops an error dialog on IOException instead of just throwing it


doChartSaveAs

public static void doChartSaveAs(Component parent,
                                 double scalingFactor,
                                 ChartPanel chartPanel)

doChartSaveAs

public static void doChartSaveAs(Component parent,
                                 int width,
                                 int height,
                                 ChartPanel chartPanel)

doChartSaveAsWithSize

public static void doChartSaveAsWithSize(Component parent,
                                         ChartPanel chartPanel)

doChartSaveAsWithSize

public static void doChartSaveAsWithSize(Component parent,
                                         double scalingFactor,
                                         ChartPanel chartPanel)

doChartSaveAsWithSize

public static void doChartSaveAsWithSize(Component parent,
                                         int width,
                                         int height,
                                         ChartPanel chartPanel)

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona