public class SliceObserver extends Object implements AdjustmentListener, ij.ImageListener, WindowListener, MouseWheelListener
Modifier and Type | Field and Description |
---|---|
protected ij.ImagePlus |
image |
protected ij.process.ImageProcessor |
ip |
protected SliceListener |
listener |
protected int |
slice |
protected ImageWindow |
window |
Constructor and Description |
---|
SliceObserver(ij.ImagePlus image,
SliceListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
adjustmentValueChanged(AdjustmentEvent e) |
ij.ImagePlus |
getImagePlus() |
void |
imageClosed(ij.ImagePlus image) |
void |
imageOpened(ij.ImagePlus image) |
void |
imageUpdated(ij.ImagePlus image) |
static void |
main(String[] args) |
void |
mouseWheelMoved(MouseWheelEvent e) |
protected boolean |
notifyIfChanged() |
protected void |
register() |
static void |
register(SliceListener listener) |
void |
unregister() |
void |
windowActivated(WindowEvent e) |
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e) |
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
protected SliceListener listener
protected ij.ImagePlus image
protected ImageWindow window
protected ij.process.ImageProcessor ip
protected int slice
public SliceObserver(ij.ImagePlus image, SliceListener listener)
protected boolean notifyIfChanged()
public static void register(SliceListener listener)
protected void register()
public ij.ImagePlus getImagePlus()
public void unregister()
public void adjustmentValueChanged(AdjustmentEvent e)
adjustmentValueChanged
in interface AdjustmentListener
public void imageOpened(ij.ImagePlus image)
imageOpened
in interface ij.ImageListener
public void imageClosed(ij.ImagePlus image)
imageClosed
in interface ij.ImageListener
public void imageUpdated(ij.ImagePlus image)
imageUpdated
in interface ij.ImageListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public final void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved
in interface MouseWheelListener
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.