Class NumericParameterComponents

java.lang.Object
PamModel.parametermanager.swing.NumericParameterComponents
All Implemented Interfaces:
PamParameterComponents
Direct Known Subclasses:
DoubleParameterComponents, IntParameterComponents

public abstract class NumericParameterComponents extends Object implements PamParameterComponents
  • Constructor Details Link icon

    • NumericParameterComponents Link icon

      public NumericParameterComponents(PamParameterData pamParameterData, String textFormat)
  • Method Details Link icon

    • getAllComponents Link icon

      public JComponent[] getAllComponents()
      Description copied from interface: PamParameterComponents
      Get a set of three swing components which can be added to a dialog. These will be a title, a field and a post title. note that the two titles may be null if there is no text to display, but the main data entry field will always not be null and will always be component[1].
      Specified by:
      getAllComponents in interface PamParameterComponents
      Returns:
      array of swing components.
    • getPamParameterData Link icon

      public PamParameterData getPamParameterData()
      Returns:
      the pamParameterData
    • getTextFormat Link icon

      public String getTextFormat()
      Returns:
      the textFormat
    • getTitle Link icon

      public JComponent getTitle()
      Returns:
      the title
    • getPostTitle Link icon

      public JComponent getPostTitle()
      Returns:
      the postTitle
    • getDataField Link icon

      public JTextField getDataField()
      Returns:
      the dataField
    • setField Link icon

      public boolean setField()
      Description copied from interface: PamParameterComponents
      Set the text in the data field from the parameter value.
      Specified by:
      setField in interface PamParameterComponents
      Returns:
      true if the text was set correctly