Class BasicJTreeCellReader

java.lang.Object
org.fest.swing.driver.BasicJTreeCellReader
All Implemented Interfaces:
JTreeCellReader

public class BasicJTreeCellReader extends Object implements JTreeCellReader
Understands the default implementation of JTreeCellReader.
  • Field Details

  • Constructor Details

  • Method Details

    • valueAt

      @RunsInCurrentThread public String valueAt(JTree tree, Object modelValue)
      Returns the internal value of a cell in a JTree 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 JTreeCellReader
      Parameters:
      tree - the given JTree.
      modelValue - the value of a cell, retrieved from the model.
      Returns:
      the internal value of a cell in a JTree as expected in a test.