public class AbstractComboBoxCellReader extends Object
AbstractComboBox.| Constructor and Description |
|---|
AbstractComboBoxCellReader() |
| Modifier and Type | Method and Description |
|---|---|
String |
valueAsText(com.jidesoft.combobox.AbstractComboBox comboBox,
Object value) |
String |
valueAt(com.jidesoft.combobox.AbstractComboBox comboBox,
int index)
Returns the internal value of a cell in a
as expected
in a test. |
public String valueAt(com.jidesoft.combobox.AbstractComboBox comboBox, int index)
ListComboBox as expected
in a test. This method first tries to get the value from the toString implementation of the object
stored in the JComboBox's model at the specified index. If it fails, it returns the value displayed in
the ListComboBox's cell renderer.comboBox - the given ListComboBox.index - the index of the cell.ListComboBox as expected in a test.Copyright © 2014–2016 AssertJ. All rights reserved.