Class ParameterEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ParameterEditor extends JComponent
Graphical component which can edit in place a DescribedValue.
Since:
20 Mar 2004
Author:
Mark Taylor (Starlink)
See Also:
  • Constructor Details

    • ParameterEditor

      public ParameterEditor(uk.ac.starlink.table.DescribedValue dval)
      Constructs a new editor.
      Parameters:
      dval - the DescribedValue that this object will edit
  • Method Details

    • initValue

      public final void initValue()
      Sets the displayed value to that supplied by the underlying DescribedValue.
    • addChangeListener

      public void addChangeListener(ChangeListener listener)
      Adds a listener which will be informed if this editor's value is changed.
      Parameters:
      listener - new listener
    • removeChangeListener

      public void removeChangeListener(ChangeListener listener)
      Removes a listener previously added by addChangeListener.
      Parameters:
      listener - listener to remove