|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.driver.BasicJListCellReader
public class BasicJListCellReader
Understands the default implementation of
.
JListCellReader
Constructor Summary | |
---|---|
BasicJListCellReader()
Creates a new BasicJListCellReader that uses a
to read the value from the cell renderer component in a
JList . |
|
BasicJListCellReader(CellRendererReader rendererReader)
Creates a new BasicJListCellReader . |
Method Summary | |
---|---|
String |
valueAt(JList list,
int index)
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 BasicJListCellReader()
BasicJListCellReader
that uses a
BasicCellRendererReader
to read the value from the cell renderer component in a
JList
.
public BasicJListCellReader(CellRendererReader rendererReader)
BasicJListCellReader
.
rendererReader
- knows how to read values from the cell renderer component in a
JList
.
NullPointerException
- if rendererReader
is null
.Method Detail |
---|
@RunsInCurrentThread public String valueAt(JList list, int index)
JList
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 JListCellReader
list
- the given JList
.index
- the index of the cell.
JList
as expected in a test.CellRendererReader.valueFrom(Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |