Class ParameterDetailPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ParameterDetailPanel extends JPanel
Panel which displays the detail of a single table parameter value. Works in conjunction with the TableModel used by the ParameterWindow.
Since:
9 Nov 2007
Author:
Mark Taylor
See Also:
  • Constructor Details

    • ParameterDetailPanel

      public ParameterDetailPanel(TableModel model)
      Constructor.
      Parameters:
      model - table model representing parameter attributes
  • Method Details

    • getMinimumSize

      public Dimension getMinimumSize()
      Overrides:
      getMinimumSize in class JComponent
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent
    • setItem

      public void setItem(int irow, uk.ac.starlink.table.DescribedValue dval)
      Sets the parameter to be displayed in this component.
      Parameters:
      irow - row index of supplied table model corresponding to the current parameter
      dval - the parameter description and value itself