Class BasicJListCellReader

java.lang.Object
org.fest.swing.driver.BasicJListCellReader
All Implemented Interfaces:
JListCellReader

public class BasicJListCellReader extends Object implements JListCellReader
Understands the default implementation of JListCellReader.
  • Field Details

  • Constructor Details

  • Method Details

    • valueAt

      @RunsInCurrentThread public String valueAt(JList list, int index)
      Returns the internal value of a cell in a JList as expected in a test.

      Note: This method is not executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.

      Specified by:
      valueAt in interface JListCellReader
      Parameters:
      list - the given JList.
      index - the index of the cell.
      Returns:
      the internal value of a cell in a JList as expected in a test.
      See Also: