Module ij
Package ij.gui

Class StackWindow

All Implemented Interfaces:
ActionListener, AdjustmentListener, FocusListener, MouseWheelListener, WindowListener, WindowStateListener, ImageObserver, MenuContainer, Serializable, Runnable, EventListener, Accessible

public class StackWindow extends ImageWindow implements Runnable, AdjustmentListener, ActionListener, MouseWheelListener
This class is an extended ImageWindow that displays stacks and hyperstacks.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • setSlidersEnabled

      public void setSlidersEnabled(boolean b)
      Enables or disables the sliders. Used when locking/unlocking an image.
    • adjustmentValueChanged

      public void adjustmentValueChanged(AdjustmentEvent e)
      Specified by:
      adjustmentValueChanged in interface AdjustmentListener
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • mouseWheelMoved

      public void mouseWheelMoved(MouseWheelEvent e)
      Specified by:
      mouseWheelMoved in interface MouseWheelListener
      Overrides:
      mouseWheelMoved in class ImageWindow
    • close

      public boolean close()
      Description copied from class: ImageWindow
      Removes this window from the window list and disposes of it. Returns false if the user cancels the "save changes" dialog.
      Overrides:
      close in class ImageWindow
    • showSlice

      public void showSlice(int index)
      Displays the specified slice and updates the stack scrollbar.
    • updateSliceSelector

      public void updateSliceSelector()
      Updates the stack scrollbar.
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • createSubtitle

      public String createSubtitle()
      Description copied from class: ImageWindow
      Creates the subtitle.
      Overrides:
      createSubtitle in class ImageWindow
    • isHyperStack

      public boolean isHyperStack()
    • setPosition

      public void setPosition(int channel, int slice, int frame)
    • validDimensions

      public boolean validDimensions()
    • setAnimate

      public void setAnimate(boolean b)
    • getAnimate

      public boolean getAnimate()
    • getNScrollbars

      public int getNScrollbars()