Class JComboBoxSelectedIndexQuery

java.lang.Object
org.fest.swing.driver.JComboBoxSelectedIndexQuery

final class JComboBoxSelectedIndexQuery extends Object
Understands an action, executed in the event dispatch thread, that returns the selected index in a JComboBox.
See Also:
  • Constructor Details

    • JComboBoxSelectedIndexQuery

      private JComboBoxSelectedIndexQuery()
  • Method Details

    • selectedIndexOf

      @RunsInEDT public static int selectedIndexOf(JComboBox comboBox)
      Returns the selected index in the given JComboBox. This action is executed in the event dispatch thread.
      Parameters:
      comboBox - the given JComboBox.
      Returns:
      the selected index in the given JComboBox.
      See Also: