|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.extensions.jfcunit.finder.Finder
junit.extensions.jfcunit.finder.AbstractWindowFinder
junit.extensions.jfcunit.finder.FrameFinder
Class for checking if the Component
being searched for has been found
The pattern syntax can be found at the Jakarta RegExp API Documentation in RE
.
Field Summary |
Fields inherited from class junit.extensions.jfcunit.finder.AbstractWindowFinder |
|
Fields inherited from class junit.extensions.jfcunit.finder.Finder |
OP_CONTAINS, OP_ENDSWITH, OP_EQUALS, OP_MATCH, OP_STARTSWITH |
Constructor Summary | |
FrameFinder(java.lang.String title)
Constructor accepting all arguments needed to filter component. |
|
FrameFinder(java.lang.String title,
boolean caseIndependent)
Constructor accepting all arguments needed to filter a component ( Frame ). |
Method Summary | |
boolean |
testComponent(java.awt.Component comp)
Method that returns true if the given Component matches the search
criteria. |
Methods inherited from class junit.extensions.jfcunit.finder.AbstractWindowFinder |
checkIfTitleMatches, findAll, getTitle, getWindows, isCaseIndependent, setCaseIndependent, setTitle |
Methods inherited from class junit.extensions.jfcunit.finder.Finder |
createPatternMatcher, evaluate, find, find, find, find, findAll, findAll, findAll, findComponentList, getDebug, getDefaultWait, getOperation, getOperation, getOperationString, getShowDebug, getWait, isValidForProcessing, matchPattern, matchPattern, matchPattern, pause, recreatePatternMatcher, setDebug, setDefaultWait, setIgnoreVisibility, setOperation, setShowDebug, setWait |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FrameFinder(java.lang.String title)
title
- The desired pattern for the title of the component.public FrameFinder(java.lang.String title, boolean caseIndependent)
Frame
).
title
- The desired pattern for the title of the component.caseIndependent
- Whether the match should be case independent (true) or not (false)Method Detail |
public boolean testComponent(java.awt.Component comp)
Component
matches the search
criteria.
testComponent
in class Finder
comp
- The Component
to test
Component
is a match
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |