public class BasicJTreeCellReader extends Object implements JTreeCellReader
JTreeCellReader.| Constructor and Description |
|---|
BasicJTreeCellReader()
Creates a new
BasicJTreeCellReader that uses a
to read the value from the cell renderer component in a
JTree. |
BasicJTreeCellReader(CellRendererReader rendererReader)
Creates a new
BasicJTreeCellReader. |
public BasicJTreeCellReader()
BasicJTreeCellReader that uses a
BasicCellRendererReader to read the value from the cell renderer component in a
JTree.public BasicJTreeCellReader(CellRendererReader rendererReader)
BasicJTreeCellReader.rendererReader - knows how to read values from the cell renderer component in a
JTree.NullPointerException - if rendererReader is null.@RunsInCurrentThread public String valueAt(JTree tree, Object modelValue)
JTree as expected in a test.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
valueAt in interface JTreeCellReadertree - the given JTree.modelValue - the value of a cell, retrieved from the model.JTree as expected in a test.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.