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