Interface JTreeCellReader

All Known Implementing Classes:
BasicJTreeCellReader

@RunsInCurrentThread public interface JTreeCellReader
Understands reading the internal value of a cell in a JTree as expected in a test.

Note: methods in this interface are not executed in the event dispatch thread (EDT.) Clients are responsible for invoking them in the EDT.

  • Method Summary

    Modifier and Type
    Method
    Description
    valueAt(JTree tree, Object modelValue)
    Returns the internal value of a cell in a JTree as expected in a test.
  • Method Details

    • valueAt

      String valueAt(JTree tree, Object modelValue)
      Returns the internal value of a cell in a JTree as expected in a test.

      Note: Implementations of this method should not use the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.

      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.