Class AxisWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class AxisWindow extends JDialog
Dialogue window containing one or more AxisEditor components.
Since:
27 Jan 2006
Author:
Mark Taylor
See Also:
  • Constructor Details

    • AxisWindow

      public AxisWindow(Frame parent)
      Constructor.
      Parameters:
      parent - owner frame
  • Method Details

    • getEditors

      public AxisEditor[] getEditors()
      Returns the constituent AxisEditor components of this window.
      Returns:
      axis editors
    • setEditors

      public void setEditors(AxisEditor[] editors)
      Resets the list of axis editor components contained by this window.
      Parameters:
      editors - new editor list
    • clearRanges

      public void clearRanges()
      Clears the upper and lower data limits for all the constituent axis editor components.
    • getPlotTitle

      public String getPlotTitle()
      Returns the title currently entered for the plot.
      Returns:
      plot title
    • addActionListener

      public void addActionListener(ActionListener listener)
      Registers a listener to be notified when the OK or Apply action is invoked on this window. Note this will not receive notifications from the constituent AxisEditor components themselves.
      Parameters:
      listener - listener to add
    • removeActionListener

      public void removeActionListener(ActionListener listener)
      Unregisters a listener added by addActionListener(java.awt.event.ActionListener).
      Parameters:
      listener - listener to remove
    • setVisible

      public void setVisible(boolean vis)
      Overrides:
      setVisible in class Dialog