simtools.ui
Class PlotInformationDialog
java.lang.Object
simtools.ui.PlotInformationDialog
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, ShapeListener
- Direct Known Subclasses:
- TimePlotStatisticsDialog
public class PlotInformationDialog
- extends java.lang.Object
- implements java.awt.event.ActionListener, ShapeListener
A dialog box dedicated to gather information concerning plot curves.
This information is computed on current X-axis interval.
- Author:
- zxpletran007
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bok
protected javax.swing.JButton bok
dialog
protected javax.swing.JDialog dialog
plotShape
protected PlotShape plotShape
tfpxmin
protected javax.swing.JTextField tfpxmin
tfpxmax
protected javax.swing.JTextField tfpxmax
tfsxmin
protected javax.swing.JTextField tfsxmin
tfsxmax
protected javax.swing.JTextField tfsxmax
headerPanel
protected PlotInformationDialog.HeaderPanel headerPanel
curveStatisticsPanel
protected CurveStatisticsPanel[] curveStatisticsPanel
STANDARD_INSETS
protected static final java.awt.Insets STANDARD_INSETS
FIELD_SIZE
protected static final int FIELD_SIZE
- See Also:
- Constant Field Values
resources
public static MenuResourceBundle resources
PlotInformationDialog
public PlotInformationDialog(PlotShape ps)
createButtonPanel
protected javax.swing.JPanel createButtonPanel()
createGlobalStatisticPanel
protected javax.swing.JPanel createGlobalStatisticPanel()
- Returns:
- JPanel containing global statistics related to plot
createCurveStatisticsPanel
protected javax.swing.JPanel createCurveStatisticsPanel()
- Returns:
- JPanel containing statistics related to all curves
createDialog
public javax.swing.JDialog createDialog(java.awt.Frame parent)
shapeChanged
public void shapeChanged(AbstractShape shape,
java.awt.Rectangle changedArea)
- Specified by:
shapeChanged
in interface ShapeListener
upateGlobalStatistics
protected void upateGlobalStatistics()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
dispose
protected void dispose()
- When closing dialog box, unsubscribe to all notifications from vurves, plots...
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getXmax
public double getXmax()
getXmin
public double getXmin()
getHeaderPanel
public PlotInformationDialog.HeaderPanel getHeaderPanel()