Class DataEditor

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TableModelListener, RootPaneContainer, WindowConstants

public class DataEditor extends SimpleDialog implements TableModelListener
See Also:
  • Field Details

  • Constructor Details

    • DataEditor

      public DataEditor(PlotCanvas plotCanvas)
      Edit the plot preferences
      Parameters:
      plotCanvas - the plot being edited
  • Method Details

    • getTable

      public DataTable getTable()
      Get the table
      Returns:
      the underlying table
    • prepare

      protected void prepare()
      can do preparation--for example a component might be added on "createCenterComponent" but a reference needed in "addNorthComponent"
      Overrides:
      prepare in class SimpleDialog
    • createCenterComponent

      protected Component createCenterComponent()
      Override to create the component that goes in the center. Usually this is the "main" component.
      Overrides:
      createCenterComponent in class SimpleDialog
      Returns:
      the component that is placed in the center
    • handleCommand

      protected void handleCommand(String command)
      A button was hit. The default behavior is to shutdown the dialog.
      Overrides:
      handleCommand in class SimpleDialog
      Parameters:
      command - the label on the button that was hit.
    • addNorth

      protected Component addNorth()
    • tableChanged

      public void tableChanged(TableModelEvent e)
      Specified by:
      tableChanged in interface TableModelListener