org.scijava.ui.viewer.text
Class AbstractTextDisplayViewer
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.ui.viewer.AbstractDisplayViewer<String>
org.scijava.ui.viewer.text.AbstractTextDisplayViewer
- All Implemented Interfaces:
- Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, RichPlugin, SciJavaPlugin, Prioritized, DisplayViewer<String>
public abstract class AbstractTextDisplayViewer
- extends AbstractDisplayViewer<String>
Implements the UI-independent elements of a text viewer.
- Author:
- Lee Kamentsky
Method Summary |
boolean |
canView(Display<?> d)
Returns true if an instance of this display viewer can view the given
display. |
TextDisplay |
getDisplay()
Gets the display being viewed. |
Methods inherited from class org.scijava.ui.viewer.AbstractDisplayViewer |
dispose, getPanel, getWindow, onDisplayActivatedEvent, onDisplayDeletedEvent, onDisplayUpdatedEvent, onEvent, onEvent, setPanel, updateTitle, view |
AbstractTextDisplayViewer
public AbstractTextDisplayViewer()
canView
public boolean canView(Display<?> d)
- Description copied from interface:
DisplayViewer
- Returns true if an instance of this display viewer can view the given
display.
getDisplay
public TextDisplay getDisplay()
- Description copied from interface:
DisplayViewer
- Gets the display being viewed.
- Specified by:
getDisplay
in interface DisplayViewer<String>
- Overrides:
getDisplay
in class AbstractDisplayViewer<String>
Copyright © 2009–2014 SciJava. All rights reserved.