Class MultiInputDialog

    • Constructor Detail

      • MultiInputDialog

        public MultiInputDialog​(Frame frame,
                                String title,
                                boolean modal)
        Parameters:
        frame - the frame on which to make this dialog modal and centred
      • MultiInputDialog

        public MultiInputDialog()
    • Method Detail

      • createNonNegativeCheck

        public EnableCheck createNonNegativeCheck​(String fieldName)
      • setVisible

        public void setVisible​(boolean visible)
        Overrides:
        setVisible in class Dialog
      • getBoolean

        public boolean getBoolean​(String fieldName)
      • getDouble

        public double getDouble​(String fieldName)
      • getInteger

        public int getInteger​(String fieldName)
      • getLayer

        public Layer getLayer​(String fieldName)
      • addSeparator

        public void addSeparator()
      • addIntegerField

        public JTextField addIntegerField​(String fieldName,
                                          int initialValue,
                                          int approxWidthInChars,
                                          String toolTipText)
      • addPositiveIntegerField

        public JTextField addPositiveIntegerField​(String fieldName,
                                                  int initialValue,
                                                  int approxWidthInChars)
      • addDoubleField

        public JTextField addDoubleField​(String fieldName,
                                         double initialValue,
                                         int approxWidthInChars)
      • addDoubleField

        public JTextField addDoubleField​(String fieldName,
                                         double initialValue,
                                         int approxWidthInChars,
                                         String toolTipText)
      • addPositiveDoubleField

        public JTextField addPositiveDoubleField​(String fieldName,
                                                 double initialValue,
                                                 int approxWidthInChars)
      • addNonNegativeDoubleField

        public JTextField addNonNegativeDoubleField​(String fieldName,
                                                    double initialValue,
                                                    int approxWidthInChars)
      • main

        public static void main​(String[] args)
      • addCheckBox

        public JCheckBox addCheckBox​(String fieldName,
                                     boolean initialValue)
      • addCheckBox

        public JCheckBox addCheckBox​(String fieldName,
                                     boolean initialValue,
                                     String toolTipText)
      • setSideBarImage

        public void setSideBarImage​(Icon icon)
      • setSideBarDescription

        public void setSideBarDescription​(String description)
      • wasOKPressed

        public boolean wasOKPressed()
      • setInset

        public void setInset​(int inset)
        If the dialog contains a single tabbed panel, it looks better to have a 0 inset.
      • startNewColumn

        public void startNewColumn()
        This method can be called once only.
      • addEnableChecks

        public void addEnableChecks​(String fieldName,
                                    Collection enableChecks)
      • indentLabel

        public void indentLabel​(String comboBoxFieldName)