Class Match1TypeSelector

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class Match1TypeSelector extends JPanel
Component which allows the user to select a Match1Type from a list of options.
Since:
16 Nov 2007
Author:
Mark Taylor
See Also:
  • Constructor Details

    • Match1TypeSelector

      public Match1TypeSelector()
      Constructor.
  • Method Details

    • getType1

      public uk.ac.starlink.table.join.Match1Type getType1()
      Returns the match option which the user has selected. Will not be null.
      Returns:
      internal match type
    • getType1Description

      public String getType1Description()
      Returns a textual description of the match option selected.
      Returns:
      internal match type description, not null
    • getType1Word

      public String getType1Word()
      Returns the word used in stilts commands to represent the currently selected option.
      Returns:
      match type word
    • addActionListener

      public void addActionListener(ActionListener l)
      Adds a listener to be notified when the selected type may have changed.
      Parameters:
      l - listener to add
    • removeActionListener

      public void removeActionListener(ActionListener l)
      Removes a type change listener.
      Parameters:
      l - listener to remove