org.scijava.ui.viewer.text
Class AbstractTextDisplayViewer

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by org.scijava.ui.viewer.AbstractDisplayViewer<String>
              extended by 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

Constructor Summary
AbstractTextDisplayViewer()
           
 
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
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority, toString
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.ui.viewer.DisplayViewer
isCompatible
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 

Constructor Detail

AbstractTextDisplayViewer

public AbstractTextDisplayViewer()
Method Detail

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–2015 SciJava. All rights reserved.