Class AbstractDropDownTextFieldTest<T>

    • Constructor Detail

      • AbstractDropDownTextFieldTest

        public AbstractDropDownTextFieldTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • initializeGui

        protected void initializeGui()
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createDefaultTestModel

        protected java.util.List<java.lang.String> createDefaultTestModel()
      • installTextFieldIntoFrame

        protected void installTextFieldIntoFrame()
      • setSelectedValue

        protected void setSelectedValue​(T t)
      • clearListSelection

        protected void clearListSelection()
      • clearTextSelection

        protected void clearTextSelection()
      • getTextFieldText

        protected java.lang.String getTextFieldText()
      • setSelectedListIndex

        protected void setSelectedListIndex​(int index)
      • getSelectedListItem

        protected T getSelectedListItem()
      • getListItemAt

        protected T getListItemAt​(int index)
      • assertSelectedListItem

        protected void assertSelectedListItem​(int expected)
        The item that is selected in the JList; not the 'selectedValue' in the text field
      • assertSelectedListItem

        protected void assertSelectedListItem​(T expected)
        The item that is selected in the JList; not the 'selectedValue' in the text field
      • assertSelectedValue

        protected void assertSelectedValue​(T expected)
        The 'selectedValue' made after the user makes a choice
      • assertNoSelectedListItem

        protected void assertNoSelectedListItem()
      • assertNoEditingCancelledEvent

        protected void assertNoEditingCancelledEvent()
      • assertNoEditingStoppedEvent

        protected void assertNoEditingStoppedEvent()
      • assertEditingStoppedEvent

        protected void assertEditingStoppedEvent()
      • assertEditingCancelledEvent

        protected void assertEditingCancelledEvent()
      • assertTextFieldText

        protected void assertTextFieldText​(java.lang.String text)
      • assertMatchingWindowHidden

        protected void assertMatchingWindowHidden()
      • assertMatchingWindowShowing

        protected void assertMatchingWindowShowing()
      • assetNoListSelection

        protected void assetNoListSelection()
      • simulateFocusLost

        protected void simulateFocusLost()
      • setCaretPosition

        protected void setCaretPosition​(int pos)
      • hideWindowPressKeyThenValidate

        protected void hideWindowPressKeyThenValidate​(int keyCode)
      • tpyeActionKey

        protected void tpyeActionKey​(int keyCode)
      • setText

        protected void setText​(java.lang.String text)
      • closeMatchingWindow

        protected void closeMatchingWindow()
      • clearText

        protected void clearText()
      • delete

        protected void delete()
      • enter

        protected void enter()
      • escape

        protected void escape()
      • up

        protected void up()
      • down

        protected void down()
      • typeText

        protected void typeText​(java.lang.String text,
                                boolean expectWindow)
      • getJList

        protected javax.swing.JList<T> getJList()