public class PlotDialog extends java.lang.Object implements DialogListener
Modifier and Type | Field and Description |
---|---|
static int |
AXIS_OPTIONS
Types of dialog.
|
static int |
HI_RESOLUTION
Types of dialog.
|
static int |
LEGEND
Types of dialog.
|
static int |
SET_RANGE
Types of dialog.
|
static int |
TEMPLATE
Types of dialog.
|
static int |
X_AXIS
Types of dialog.
|
static int |
X_LEFT
Types of dialog.
|
static int |
X_RIGHT
Types of dialog.
|
static int |
Y_AXIS
Types of dialog.
|
static int |
Y_BOTTOM
Types of dialog.
|
static int |
Y_TOP
Types of dialog.
|
Constructor and Description |
---|
PlotDialog(Plot plot,
int dialogType)
Constructs a new PlotDialog for a given plot and sets the type of dialog
|
Modifier and Type | Method and Description |
---|---|
boolean |
dialogItemChanged(GenericDialog gd,
java.awt.AWTEvent e)
This method is called when the user changes something in the dialog.
|
void |
showDialog(java.awt.Frame parent)
Asks the user for axis scaling; then replot with new scale on the same ImageProcessor.
|
public static final int SET_RANGE
public static final int AXIS_OPTIONS
public static final int LEGEND
public static final int HI_RESOLUTION
public static final int TEMPLATE
public static final int X_LEFT
public static final int X_RIGHT
public static final int Y_BOTTOM
public static final int Y_TOP
public static final int X_AXIS
public static final int Y_AXIS
public PlotDialog(Plot plot, int dialogType)
public void showDialog(java.awt.Frame parent)
public boolean dialogItemChanged(GenericDialog gd, java.awt.AWTEvent e)
dialogItemChanged
in interface DialogListener
gd
- A reference to the GenericDialog.e
- The event that has been generated by the user action in the dialog.
Note that e
is null
if the
dialogItemChanged method is called after the user has pressed the
OK button or if the GenericDialog has read its parameters from a
macro.