public abstract class AbstractSwingImageDisplayViewer extends AbstractImageDisplayViewer implements SwingImageDisplayViewer
DisplayWindow
in which the display should be housed.AbstractImageDisplayViewer.ZoomScaleOption
Modifier and Type | Field and Description |
---|---|
protected AWTInputEventDispatcher |
dispatcher |
Constructor and Description |
---|
AbstractSwingImageDisplayViewer() |
Modifier and Type | Method and Description |
---|---|
Dataset |
capture() |
void |
dispose()
NB: a reference to the imgCanvas is held, ultimately, by a finalizable
parent of a javax.swing.JViewport.
|
JHotDrawImageCanvas |
getCanvas()
Gets the JHotDraw canvas used by the viewer.
|
SwingImageDisplayPanel |
getPanel() |
protected void |
onEvent(OptionsEvent e) |
void |
view(DisplayWindow w,
Display<?> d) |
canView, getDataset, getDisplay, getZoomScaleOption, onEvent, onEvent, onEvent, onEvent, onEvent, onEvent, updateLabel, updateTitle
getWindow, onEvent, setPanel
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDisplay
canView, getWindow, isCompatible, onDisplayActivatedEvent, onDisplayDeletedEvent, onDisplayUpdatedEvent, setPanel, view
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
protected AWTInputEventDispatcher dispatcher
public JHotDrawImageCanvas getCanvas()
SwingImageDisplayViewer
getCanvas
in interface SwingImageDisplayViewer
public void view(DisplayWindow w, Display<?> d)
view
in interface DisplayViewer<DataView>
view
in class AbstractImageDisplayViewer
public SwingImageDisplayPanel getPanel()
getPanel
in interface SwingImageDisplayViewer
getPanel
in interface DisplayViewer<DataView>
getPanel
in class AbstractDisplayViewer<DataView>
public Dataset capture()
capture
in interface ImageDisplayViewer
public void dispose()
dispose
in interface Disposable
dispose
in interface DisplayViewer<DataView>
protected void onEvent(OptionsEvent e)
Copyright © 2014–2022 ImageJ. All rights reserved.