Class JDialogSelectChannelSequence

All Implemented Interfaces:
DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogSelectChannelSequence extends JDialogBase
The purpose of this dialog is to allow the user to rearrange the channel order of an image before it is loaded. It is meant to be used exclusively with the ViewOpenImageSequence class.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • channelOrder

      private int[] channelOrder
      DOCUMENT ME!
    • comboBoxes

      private JComboBox[] comboBoxes
      DOCUMENT ME!
    • parent

      private ViewOpenImageSequence parent
      DOCUMENT ME!
  • Constructor Details

    • JDialogSelectChannelSequence

      public JDialogSelectChannelSequence(ViewOpenImageSequence parent, int[] channelOrder)
      Creates a new JDialogSelectChannelSequence object.
      Parameters:
      parent - ViewOpenImageSequence - the parent object for this dialog
      channelOrder - int[] - an array of ints indicating the channel order. Valid values range from 0 to 3, and correspond to the ARGB interleave.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Invoked when an action occurs. If the user clicks "OK", ViewOpenImageSequence.newChannelMap is called on the parent object. This effectively rearranges the channel ordering of the TIFF sequence in the parent object.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - ActionEvent
    • buildGUI

      private void buildGUI()
      DOCUMENT ME!