Class CurveEditorPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class CurveEditorPanel extends JPanel implements ActionListener, PropertyChangeListener
Used to edit parameters for curves on a plot
Author:
heddle
See Also:
  • Field Details

  • Constructor Details

    • CurveEditorPanel

      public CurveEditorPanel(PlotCanvas plotCanvas)
      A panel for editing data sets
      Parameters:
      plotCanvas - the plot being edited
  • Method Details

    • setEnabled

      public void setEnabled(boolean enabled)
      Overrides:
      setEnabled in class JComponent
    • addContent

      protected void addContent()
      Add the content to the panel
    • addList

      protected void addList(JPanel addPanel)
    • selectFirstCurve

      public void selectFirstCurve()
      Select the first curve
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      The canvas or a widget has fired a property change. This is used as a simple notification mechanism.
      Specified by:
      propertyChange in interface PropertyChangeListener