Class ParameterGUI

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

    public class ParameterGUI
    extends JFrame
    UI for ConfigStrucAligParams, for the AlignmentGUI. Visually parameters are displayed as a label and an input field such as a text box. The following methods are used to determine which properties are accessible:
    • getUserConfigParameterNames() Parameter labels
    • getUserConfigParameters() Parameter method names, to be prepended with 'set' or 'get'
    • getUserConfigTypes() Types for each parameter (Integer, Float, Boolean, Enum, String[])
    • getUserConfigHelp() Alt text for each parameter
    Author:
    Andreas Prlic
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterGUI

        public ParameterGUI​(org.biojava.nbio.structure.align.ce.ConfigStrucAligParams params,
                            String algorithm)
        Constructor for a ParameterGUI. Generalization for any type of Structural Alignment algorithm that implements the parameter interface.
        Parameters:
        params - parameter bean
        algorithm - name of the algorithm
    • Method Detail

      • setDefault

        protected void setDefault()
      • storeParameters

        protected void storeParameters()