Class JTreeChildrenShowUpCondition

java.lang.Object
org.fest.swing.timing.Condition
org.fest.swing.driver.JTreeChildrenShowUpCondition

class JTreeChildrenShowUpCondition extends Condition
Understands a condition that verifies that the children of a node in a JTree are displayed.
  • Field Details

  • Constructor Details

    • JTreeChildrenShowUpCondition

      private JTreeChildrenShowUpCondition(JTree tree, TreePath path)
  • Method Details

    • untilChildrenShowUp

      static JTreeChildrenShowUpCondition untilChildrenShowUp(JTree tree, TreePath path)
    • test

      @RunsInEDT public boolean test()
      Description copied from class: Condition
      Checks if the condition has been satisfied.
      Specified by:
      test in class Condition
      Returns:
      true if the condition has been satisfied, otherwise false.
    • done

      protected void done()
      Description copied from class: Condition
      Notification that this condition has been evaluated. This method is invoked by Pause.pause(Condition) (and all overloaded methods) when this condition is evaluated (either it was satisfied or it timed-out.) This is a good place to do any necessary resource cleanup.
      Overrides:
      done in class Condition