-
- All Implemented Interfaces:
Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Disposable,org.scijava.Gateway,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.Prioritized,org.scijava.Versioned
public class ImageJ extends org.scijava.AbstractGateway
Main entry point into ImageJ2. This class enables working with ImageJ2 services in a simple way, while retaining extensibility (i.e., access to third-party services).- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description ImageJ()Creates a new application context with all ImageJ2, SCIFIO and SciJava services.ImageJ(org.scijava.Context context)Creates a new application context which wraps the given existing SciJava context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.imagej.animation.AnimationServiceanimation()Gets this application context'sAnimationService.net.imagej.DatasetServicedataset()Gets this application context'sDatasetService.StringgetShortName()net.imagej.display.ImageDisplayServiceimageDisplay()Gets this application context'sImageDisplayService.net.imagej.lut.LUTServicelut()Gets this application context'sLUTService.net.imagej.notebook.NotebookServicenotebook()Gets this application context'sNotebookService.net.imagej.ops.OpServiceop()Gets this application context'sOpService.net.imagej.display.OverlayServiceoverlay()Gets this application context'sOverlayService.net.imagej.render.RenderingServicerendering()Gets this application context'sRenderingService.net.imagej.sampler.SamplerServicesampler()Gets this application context'sSamplerService.io.scif.SCIFIOscifio()net.imagej.display.ScreenCaptureServicescreenCapture()Gets this application context'sScreenCaptureService.net.imagej.updater.UpdateServiceupdate()Gets this application context'sUpdateService.net.imagej.updater.UploaderServiceuploader()Gets this application context'sUploaderService.net.imagej.display.WindowServicewindow()Gets this application context'sWindowService.-
Methods inherited from class org.scijava.AbstractGateway
app, appEvent, command, console, convert, display, event, eventHistory, get, get, getApp, getInfo, getTitle, getVersion, icon, input, io, launch, location, log, main, menu, module, object, options, platform, plugin, prefs, recentFile, script, startup, status, text, thread, tool, ui, widget
-
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.Gateway
dispose
-
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
-
-
-
-
Constructor Detail
-
ImageJ
public ImageJ()
Creates a new application context with all ImageJ2, SCIFIO and SciJava services.
-
ImageJ
public ImageJ(org.scijava.Context context)
Creates a new application context which wraps the given existing SciJava context.- See Also:
Context
-
-
Method Detail
-
scifio
public io.scif.SCIFIO scifio()
-
animation
public net.imagej.animation.AnimationService animation()
Gets this application context'sAnimationService.- Returns:
- The
AnimationServiceof this application context.
-
dataset
public net.imagej.DatasetService dataset()
Gets this application context'sDatasetService.- Returns:
- The
DatasetServiceof this application context.
-
imageDisplay
public net.imagej.display.ImageDisplayService imageDisplay()
Gets this application context'sImageDisplayService.- Returns:
- The
ImageDisplayServiceof this application context.
-
lut
public net.imagej.lut.LUTService lut()
Gets this application context'sLUTService.- Returns:
- The
LUTServiceof this application context.
-
notebook
public net.imagej.notebook.NotebookService notebook()
Gets this application context'sNotebookService.- Returns:
- The
NotebookServiceof this application context.
-
op
public net.imagej.ops.OpService op()
Gets this application context'sOpService.- Returns:
- The
OpServiceof this application context.
-
overlay
public net.imagej.display.OverlayService overlay()
Gets this application context'sOverlayService.- Returns:
- The
OverlayServiceof this application context.
-
rendering
public net.imagej.render.RenderingService rendering()
Gets this application context'sRenderingService.- Returns:
- The
RenderingServiceof this application context.
-
sampler
public net.imagej.sampler.SamplerService sampler()
Gets this application context'sSamplerService.- Returns:
- The
SamplerServiceof this application context.
-
screenCapture
public net.imagej.display.ScreenCaptureService screenCapture()
Gets this application context'sScreenCaptureService.- Returns:
- The
ScreenCaptureServiceof this application context.
-
update
public net.imagej.updater.UpdateService update()
Gets this application context'sUpdateService.- Returns:
- The
UpdateServiceof this application context.
-
uploader
public net.imagej.updater.UploaderService uploader()
Gets this application context'sUploaderService.- Returns:
- The
UploaderServiceof this application context.
-
window
public net.imagej.display.WindowService window()
Gets this application context'sWindowService.- Returns:
- The
WindowServiceof this application context.
-
getShortName
public String getShortName()
- Specified by:
getShortNamein interfaceorg.scijava.Gateway- Overrides:
getShortNamein classorg.scijava.AbstractGateway
-
-