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

    • serialVersionUID

      private static final long serialVersionUID
      The Constant serialVersionUID.
      See Also:
    • weights

      private static final double[] weights
      The Constant weights.
    • anchors

      private static final int[] anchors
      The Constant anchors.
    • gbl

      private GridBagLayout gbl
      The gbl.
    • gbc

      private GridBagConstraints gbc
      The gbc.
    • regularInsets

      private Insets regularInsets
      The regular insets.
    • checkBoxInsets

      private Insets checkBoxInsets
      The check box insets.
    • nrColumns

      private int nrColumns
      The nr columns.
    • 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