public class HeadlessDisplayViewer extends AbstractDisplayViewer<Object>
Constructor and Description |
---|
HeadlessDisplayViewer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canView(Display<?> d)
Returns true if an instance of this display viewer can view the given
display.
|
boolean |
isCompatible(UserInterface ui)
Returns true if this display viewer can be used with the given UI.
|
void |
view(DisplayWindow w,
Display<?> d)
Begins viewing the given display.
|
getDisplay, getPanel, getWindow, onEvent, onEvent, setPanel, updateTitle
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, onDisplayActivatedEvent, onDisplayDeletedEvent, onDisplayUpdatedEvent, view
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean isCompatible(UserInterface ui)
DisplayViewer
public void view(DisplayWindow w, Display<?> d)
DisplayViewer
view
in interface DisplayViewer<Object>
view
in class AbstractDisplayViewer<Object>
w
- The frame / window that will contain the GUI elementsd
- the model for the display to show.public boolean canView(Display<?> d)
DisplayViewer
Copyright © 2015–2022 SciJava. All rights reserved.