org.fest.swing.cell
Interface JComboBoxCellReader

All Known Implementing Classes:
BasicJComboBoxCellReader

@RunsInCurrentThread
public interface JComboBoxCellReader

Understands reading the internal value of a cell in a JComboBox as expected in a test.

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

Author:
Alex Ruiz

Method Summary
 String valueAt(JComboBox comboBox, int index)
          Returns the internal value of a cell in a JComboBox as expected in a test.
 

Method Detail

valueAt

String valueAt(JComboBox comboBox,
               int index)
Returns the internal value of a cell in a JComboBox as expected in a test.

Note: Implementations of this method may not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.

Parameters:
comboBox - the given JComboBox.
index - the index of the cell.
Returns:
the internal value of a cell in a JComboBox as expected in a test.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.