@RunsInCurrentThread public interface JTreeCellReader
Reads the content, as shown to the user, of a cell in a JTable
.
Note: Methods in this class are accessed in the current executing thread. Such thread may or may not be the event dispatch thread (EDT). Client code must call methods in this class from the EDT.
Modifier and Type | Method and Description |
---|---|
String |
valueAt(JTree tree,
Object modelValue)
Returns the internal value of a cell in a
JTree as expected in a test. |
@Nullable String valueAt(@Nonnull JTree tree, @Nullable Object modelValue)
Returns the internal value of a cell in a JTree
as expected in a test.
Note: This method is accessed in the current executing thread. Such thread may or may not be the event dispatch thread (EDT). Client code must call this method from the EDT.
tree
- the given JTree
.modelValue
- the value of a cell, retrieved from the model.JTree
as expected in a test.Copyright © 2014–2019 AssertJ. All rights reserved.