Class FormPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
MetaDataPanel

public class FormPanel extends JPanel
The Class FormPanel.
See Also:
  • Field Details

    • gridBagPanel

      protected JPanel gridBagPanel
      The grid bag panel.
    • componentIndex

      protected int componentIndex
      The component index.
  • Constructor Details

    • FormPanel

      public FormPanel(int nrColumns)
      Instantiates a new form panel.
      Parameters:
      nrColumns - the nr columns
    • FormPanel

      public FormPanel()
      Instantiates a new form panel.
  • Method Details

    • add

      public void add(JComponent c)
      Adds the.
      Parameters:
      c - the c
    • setEnabled

      public void setEnabled(boolean onOff)
      Overrides:
      setEnabled in class JComponent
    • getNrComponents

      public int getNrComponents()
      Gets the nr components.
      Returns:
      the nr components
    • getCaptionFromName

      protected String getCaptionFromName(String name)
      Given a configuration parameter name, this method returns a suitable field caption string. e.g. outputDir would return Output Dir:
      Parameters:
      name - The configuration parameter name
      Returns:
      The field caption string