Class MatchWindow

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

public class MatchWindow extends AuxWindow implements StiltsReporter
Window for selecting the characteristics of and invoking a match (table join) operation.
Author:
Mark Taylor (Starlink)
See Also:
  • Constructor Details

    • MatchWindow

      public MatchWindow(Component parent, int nTable)
      Constructs a new MatchWindow.
      Parameters:
      parent - parent window, may be used for window positioning
      nTable - number of tables to participate in match
  • Method Details

    • setBusy

      public void setBusy(boolean busy)
      Provides visual feedback that the window is/is not available for interaction, as well as enabling/disabling most of its interatable components. The window is set busy when it's doing a calculation.
      Overrides:
      setBusy in class AuxWindow
      Parameters:
      busy - true iff the window should be closed to new business
    • dispose

      public void dispose()
      Extends the dispose method to interrupt any pending calculation.
      Overrides:
      dispose in class Window
    • addStiltsListener

      public void addStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Adds a listener that will be messaged if the current stilts command might have changed.
      Specified by:
      addStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to add
    • removeStiltsListener

      public void removeStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Removes a listener that may have been previously added.
      Specified by:
      removeStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to remove
    • createStiltsCommand

      public uk.ac.starlink.ttools.task.StiltsCommand createStiltsCommand(TopcatTableNamer tnamer)
      Description copied from interface: StiltsReporter
      Returns a stilts command corresponding to current state.
      Specified by:
      createStiltsCommand in interface StiltsReporter
      Parameters:
      tnamer - table namer
      Returns:
      command, or null if current state does not correspond to one