|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.driver.BasicJTreeCellReader
public class BasicJTreeCellReader
Understands the default implementation of
.
JTreeCellReader
Constructor Summary | |
---|---|
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 . |
Method Summary | |
---|---|
String |
valueAt(JTree tree,
Object modelValue)
Returns the internal value of a cell in a as expected in a test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
.Method Detail |
---|
@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 JTreeCellReader
tree
- the given JTree
.modelValue
- the value of a cell, retrieved from the model.
JTree
as expected in a test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |