public abstract static class Locator.AbstractResetableChooser extends Object implements org.netbeans.jemmy.ComponentChooser
ComponentChooser a chooser is used several times for the same components. You never know when a new round
is started. A Locator.AbstractResetableChooser tries to find out when a new round is started and allows you to reset the state
of your chooser.| Constructor and Description |
|---|
AbstractResetableChooser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkComponent(Component comp)
(non-Javadoc)
|
protected abstract boolean |
checkComponentWithReset(Component comp)
Same as org.netbeans.jemmy.ComponentChooser.checkComponent(Component)
|
protected abstract void |
reset() |
protected abstract boolean checkComponentWithReset(Component comp)
protected abstract void reset()
public final boolean checkComponent(Component comp)
checkComponent in interface org.netbeans.jemmy.ComponentChooserComponentChooser.checkComponent(java.awt.Component)Copyright © 2017. All rights reserved.