@RunsInCurrentThread public interface JListCellReader
Reads the content of a cell in Jlist, as it appears to the user.
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.
@Nullable String valueAt(@Nonnull JList list, int index)
Returns the internal value of a cell in a Jlist 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.
list - the given JList.index - the index of the cell.JList as expected in a test.Copyright © 2014 AssertJ. All rights reserved.