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, updateTitlegetWindow, onEvent, setPanelgetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDisplaycanView, getWindow, isCompatible, onDisplayActivatedEvent, onDisplayDeletedEvent, onDisplayUpdatedEvent, setPanel, viewgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionprotected AWTInputEventDispatcher dispatcher
public JHotDrawImageCanvas getCanvas()
SwingImageDisplayViewergetCanvas in interface SwingImageDisplayViewerpublic void view(DisplayWindow w, Display<?> d)
view in interface DisplayViewer<DataView>view in class AbstractImageDisplayViewerpublic SwingImageDisplayPanel getPanel()
getPanel in interface SwingImageDisplayViewergetPanel in interface DisplayViewer<DataView>getPanel in class AbstractDisplayViewer<DataView>public Dataset capture()
capture in interface ImageDisplayViewerpublic void dispose()
dispose in interface Disposabledispose in interface DisplayViewer<DataView>protected void onEvent(OptionsEvent e)
Copyright © 2014–2022 ImageJ. All rights reserved.