Examples of addDialogListener()


Examples of com.mucommander.ui.dialog.pref.component.PrefRadioButton.addDialogListener()

        add(mainPanel, BorderLayout.NORTH);
       
        languageComboBox.addDialogListener(parent);
        time12RadioButton.addDialogListener(parent);
        time24RadioButton.addDialogListener(parent);
        dateFormatComboBox.addDialogListener(parent);
        dateSeparatorField.addDialogListener(parent);
        showSecondsCheckBox.addDialogListener(parent);
        showCenturyCheckBox.addDialogListener(parent);
    }
View Full Code Here

Examples of com.sun.enterprise.tools.upgrade.gui.MainFrame.addDialogListener()

            new ArgsParser(args, commonInfo).parse();
            LogService.removeLogMessageListener(l);
        }
        MainFrame gui = new MainFrame(commonInfo);
        LogService.addLogMessageListener(gui);
        gui.addDialogListener(new DialogListener(){
            public void dialogProcessed(DialogEvent evt){
                processUIEvent(evt);
            }
        });
        UpdateProgressManager.getProgressManager().addUpgradeUpdateListener(gui);
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

        if (weight<0) weight = 0;
        if (weight>0.99) weight = 0.99;
        gd.addNumericField("Radius (Sigma)", sigma, 1, 6, "pixels");
        gd.addNumericField("Mask Weight (0.1-0.9)", weight,2);
        gd.addPreviewCheckbox(pfr);
        gd.addDialogListener(this);
        gd.showDialog();                        //input by the user (or macro) happens here
        if (gd.wasCanceled()) return DONE;
        if (oldMacro) sigma /= 2.5;
        IJ.register(this.getClass());           //protect static class variables (parameters) from garbage collection
        return IJ.setupDialog(imp, flags);      //ask whether to process all slices of stack (if a stack)
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

      if(filterType == OUTLIERS) {
        gd.addNumericField("Threshold", threshold, digits);
        gd.addChoice("Which Outliers", outlierStrings, outlierStrings[whichOutliers]);
      }
      gd.addPreviewCheckbox(pfr);    //passing pfr makes the filter ready for preview
      gd.addDialogListener(this);    //the DialogItemChanged method will be called on user input
      gd.showDialog();              //display the dialog; preview runs in the  now
      if (gd.wasCanceled()) return DONE;
      IJ.register(this.getClass());   //protect static class variables (filter parameters) from garbage collection
        }
    return IJ.setupDialog(imp, flags)//ask whether to process all slices of stack (if a stack)
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

        gd.addChoice("Which outliers", outlierStrings, outlierStrings[lastWhichOutliers]);
        gd.addHelp(IJ.URL+"/docs/menus/process.html#outliers");
      } else if (filterType==REMOVE_NAN)
        gd.addHelp(IJ.URL+"/docs/menus/process.html#nans");
      gd.addPreviewCheckbox(pfr);    //passing pfr makes the filter ready for preview
      gd.addDialogListener(this);    //the DialogItemChanged method will be called on user input
      gd.showDialog();        //display the dialog; preview runs in the  now
      if (gd.wasCanceled()) return DONE;
      IJ.register(this.getClass())//protect static class variables (filter parameters) from garbage collection
      if (Macro.getOptions() == null) { //interactive only: remember parameters entered
          lastRadius[filterType] = radius;
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

        if (weight<0) weight = 0;
        if (weight>0.99) weight = 0.99;
        gd.addNumericField("Radius (Sigma)", sigma, 1, 6, "pixels");
        gd.addNumericField("Mask Weight (0.1-0.9)", weight,2);
        gd.addPreviewCheckbox(pfr);
        gd.addDialogListener(this);
        gd.showDialog();                        //input by the user (or macro) happens here
        if (gd.wasCanceled()) return DONE;
        if (oldMacro) sigma /= 2.5;
        IJ.register(this.getClass());           //protect static class variables (parameters) from garbage collection
        return IJ.setupDialog(imp, flags);      //ask whether to process all slices of stack (if a stack)
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

            hasScale = true;
            gd.addCheckbox("Scaled Units ("+imp.getCalibration().getUnits()+")", sigmaScaled);
        } else
            sigmaScaled = false;
        gd.addPreviewCheckbox(pfr);
        gd.addDialogListener(this);
        gd.showDialog();                    // input by the user (or macro) happens here
        if (gd.wasCanceled()) return DONE;
        if (oldMacro) sigma /= 2.5;         // for old macros, "radius" was 2.5 sigma
        IJ.register(this.getClass());       // protect static class variables (parameters) from garbage collection
        return IJ.setupDialog(imp, flags)// ask whether to process all slices of stack (if a stack)
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

      if(filterType == OUTLIERS) {
        gd.addNumericField("Threshold", threshold, digits);
        gd.addChoice("Which Outliers", outlierStrings, outlierStrings[whichOutliers]);
      }
      gd.addPreviewCheckbox(pfr);    //passing pfr makes the filter ready for preview
      gd.addDialogListener(this);    //the DialogItemChanged method will be called on user input
      gd.showDialog();              //display the dialog; preview runs in the  now
      if (gd.wasCanceled()) return DONE;
      IJ.register(this.getClass());   //protect static class variables (filter parameters) from garbage collection
        }
    return IJ.setupDialog(imp, flags)//ask whether to process all slices of stack (if a stack)
View Full Code Here

Examples of ij.gui.GenericDialog.addDialogListener()

            hasScale = true;
            gd.addCheckbox("Scaled Units ("+imp.getCalibration().getUnits()+")", sigmaScaled);
        } else
            sigmaScaled = false;
        gd.addPreviewCheckbox(pfr);
        gd.addDialogListener(this);
        gd.showDialog();                    // input by the user (or macro) happens here
        if (gd.wasCanceled()) return DONE;
        if (oldMacro) sigma /= 2.5;         // for old macros, "radius" was 2.5 sigma
        IJ.register(this.getClass());       // protect static class variables (parameters) from garbage collection
        return IJ.setupDialog(imp, flags)// ask whether to process all slices of stack (if a stack)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.