Class MainDialog

All Implemented Interfaces:
FocusListener, ItemListener, MouseListener, EventListener

public class MainDialog extends ImporterDialog implements FocusListener, ItemListener, MouseListener
Bio-Formats Importer general options dialog box.
  • Field Details

    • INFO_DEFAULT

      public static final String INFO_DEFAULT
      Initial message to display in help text box.
      See Also:
    • autoscaleBox

      protected Checkbox autoscaleBox
    • colorModeChoice

      protected Choice colorModeChoice
    • concatenateBox

      protected Checkbox concatenateBox
    • cropBox

      protected Checkbox cropBox
    • groupFilesBox

      protected Checkbox groupFilesBox
    • ungroupFilesBox

      protected Checkbox ungroupFilesBox
    • openAllSeriesBox

      protected Checkbox openAllSeriesBox
    • showMetadataBox

      protected Checkbox showMetadataBox
    • showOMEXMLBox

      protected Checkbox showOMEXMLBox
    • showROIsBox

      protected Checkbox showROIsBox
    • roisModeChoice

      protected Choice roisModeChoice
    • specifyRangesBox

      protected Checkbox specifyRangesBox
    • splitZBox

      protected Checkbox splitZBox
    • splitTBox

      protected Checkbox splitTBox
    • splitCBox

      protected Checkbox splitCBox
    • stackFormatChoice

      protected Choice stackFormatChoice
    • stackOrderChoice

      protected Choice stackOrderChoice
    • swapDimsBox

      protected Checkbox swapDimsBox
    • virtualBox

      protected Checkbox virtualBox
    • stitchTilesBox

      protected Checkbox stitchTilesBox
    • infoTable

      protected Map<Component,String> infoTable
    • infoPane

      protected JEditorPane infoPane
  • Constructor Details

    • MainDialog

      public MainDialog(ImportProcess process)
      Creates a general options dialog for the Bio-Formats Importer.
  • Method Details

    • needPrompt

      protected boolean needPrompt()
      Specified by:
      needPrompt in class ImporterDialog
    • constructDialog

      protected ij.gui.GenericDialog constructDialog()
      Specified by:
      constructDialog in class ImporterDialog
    • harvestResults

      protected boolean harvestResults(ij.gui.GenericDialog gd)
      Specified by:
      harvestResults in class ImporterDialog
    • focusGained

      public void focusGained(FocusEvent e)
      Handles information pane updates when component focus changes.
      Specified by:
      focusGained in interface FocusListener
    • focusLost

      public void focusLost(FocusEvent e)
      Specified by:
      focusLost in interface FocusListener
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      Handles toggling of mutually exclusive options.
      Specified by:
      itemStateChanged in interface ItemListener
    • mouseEntered

      public void mouseEntered(MouseEvent e)
      Focuses the component upon mouseover.
      Specified by:
      mouseEntered in interface MouseListener
    • mouseClicked

      public void mouseClicked(MouseEvent e)
      Specified by:
      mouseClicked in interface MouseListener
    • mouseExited

      public void mouseExited(MouseEvent e)
      Specified by:
      mouseExited in interface MouseListener
    • mousePressed

      public void mousePressed(MouseEvent e)
      Specified by:
      mousePressed in interface MouseListener
    • mouseReleased

      public void mouseReleased(MouseEvent e)
      Specified by:
      mouseReleased in interface MouseListener
    • rebuildDialog

      private void rebuildDialog(ij.gui.GenericDialog gd)
      Fancies up the importer dialog to look much nicer.
    • xyw

      private com.jgoodies.forms.layout.CellConstraints xyw(com.jgoodies.forms.layout.CellConstraints cc, int x, int y, int w)
      Convenience method for creating a left-aligned, vertically centered cell constraints object.
    • verifyOptions

      private void verifyOptions(Object src)
      Ensures that the options dialog has no mutually exclusive options.