public class DefaultTableDisplay extends AbstractDisplay<Table<?,?>> implements TableDisplay
Table
s, including DoubleTable
s.isClosed
Constructor and Description |
---|
DefaultTableDisplay() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDisplay(Class<?> c)
Tests whether the display is capable of visualizing objects of the given
class.
|
void |
display(Object o)
Displays the given object in this display.
|
boolean |
isDisplaying(Object o)
Tests whether the display is currently visualizing the given object.
|
add, add, addAll, addAll, checkObject, clear, close, contains, containsAll, get, getName, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, noteStructureChange, rebuild, remove, remove, removeAll, retainAll, set, setName, size, subList, toArray, toArray, toString, update
getInfo, getPriority, setInfo, setPriority
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canDisplay, close, update
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean canDisplay(Class<?> c)
Display
canDisplay
in interface Display<Table<?,?>>
canDisplay
in class AbstractDisplay<Table<?,?>>
c
- The class to check for visualization capabilities.public void display(Object o)
Display
This method is essentially the same as List.add(E)
except that it accepts
any Object
regardless of type.
public boolean isDisplaying(Object o)
Display
Note that this method may behave differently than List.contains(java.lang.Object)
; in
general, any time List.contains(java.lang.Object)
returns true, this method will also
return true, but not vice versa. For example, in ImageJ, an
ImageDisplay
is a Display<DataView>
but calling
isDisplaying
on a Dataset
(which is not a DataView
)
will return true if the ImageDisplay
currently contains a
DatasetView
that wraps that Dataset
.
isDisplaying
in interface Display<Table<?,?>>
Copyright © 2015–2022 SciJava. All rights reserved.