Class FormPanel

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

public class FormPanel extends JPanel
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • weights

      private static final double[] weights
    • anchors

      private static final int[] anchors
    • gbl

      private GridBagLayout gbl
    • gbc

      private GridBagConstraints gbc
    • regularInsets

      private Insets regularInsets
    • checkBoxInsets

      private Insets checkBoxInsets
    • nrColumns

      private int nrColumns
    • gridBagPanel

      protected JPanel gridBagPanel
    • componentIndex

      protected int componentIndex
  • Constructor Details

    • FormPanel

      public FormPanel(int nrColumns)
    • FormPanel

      public FormPanel()
  • Method Details

    • add

      public void add(JComponent c)
    • setEnabled

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

      public int getNrComponents()
    • 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