Package org.scijava.ui.headless
Class HeadlessDisplayViewer
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- org.scijava.ui.viewer.AbstractDisplayViewer<Object>
-
- org.scijava.ui.headless.HeadlessDisplayViewer
-
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Disposable,Identifiable,Locatable,Logged,HasPluginInfo,RichPlugin,SciJavaPlugin,Prioritized,DisplayViewer<Object>,Versioned
public class HeadlessDisplayViewer extends AbstractDisplayViewer<Object>
A display viewer used when running headless.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description HeadlessDisplayViewer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanView(Display<?> d)Returns true if an instance of this display viewer can view the given display.booleanisCompatible(UserInterface ui)Returns true if this display viewer can be used with the given UI.voidview(DisplayWindow w, Display<?> d)Begins viewing the given display.-
Methods inherited from class org.scijava.ui.viewer.AbstractDisplayViewer
getDisplay, getPanel, getWindow, onEvent, onEvent, setPanel, updateTitle
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.ui.viewer.DisplayViewer
dispose, onDisplayActivatedEvent, onDisplayDeletedEvent, onDisplayUpdatedEvent, view
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
isCompatible
public boolean isCompatible(UserInterface ui)
Description copied from interface:DisplayViewerReturns true if this display viewer can be used with the given UI.
-
view
public void view(DisplayWindow w, Display<?> d)
Description copied from interface:DisplayViewerBegins viewing the given display.- Specified by:
viewin interfaceDisplayViewer<Object>- Overrides:
viewin classAbstractDisplayViewer<Object>- Parameters:
w- The frame / window that will contain the GUI elementsd- the model for the display to show.
-
canView
public boolean canView(Display<?> d)
Description copied from interface:DisplayViewerReturns true if an instance of this display viewer can view the given display.
-
-