|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.extensions.jfcunit.finder.Finder junit.extensions.jfcunit.finder.JPopupMenuFinder
Title: Find a popup menu given the invoker.
Description: Locate the popup menu associated with the invoker.
Copyright: Copyright (c) 2003
Company: JFCUnit OpenSource Project
Field Summary | |
private java.awt.Component |
m_invoker
The Invoker of the Popup Menu. |
Fields inherited from class junit.extensions.jfcunit.finder.Finder |
OP_CONTAINS, OP_ENDSWITH, OP_EQUALS, OP_MATCH, OP_STARTSWITH |
Constructor Summary | |
JPopupMenuFinder(java.awt.Component invoker)
Constructor. |
Method Summary | |
java.awt.Component |
getInvoker()
Get the invoker to be matched. |
void |
setInvoker(java.awt.Component invoker)
Set the invoker to be matched. |
boolean |
testComponent(java.awt.Component comp)
For JPopupMenu components validate return all Components with the invoker. |
Methods inherited from class junit.extensions.jfcunit.finder.Finder |
createPatternMatcher, evaluate, find, find, find, find, findAll, findAll, findAll, findAll, findComponentList, getDebug, getDefaultWait, getOperation, getOperation, getOperationString, getShowDebug, getWait, isCaseIndependent, isValidForProcessing, matchPattern, matchPattern, matchPattern, pause, recreatePatternMatcher, setCaseIndependent, setDebug, setDefaultWait, setIgnoreVisibility, setOperation, setShowDebug, setWait |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.awt.Component m_invoker
Constructor Detail |
public JPopupMenuFinder(java.awt.Component invoker)
invoker
- Component which is used to determine
which menu to return.Method Detail |
public final void setInvoker(java.awt.Component invoker)
invoker
- Component invoker to be matched.public final java.awt.Component getInvoker()
public boolean testComponent(java.awt.Component comp)
testComponent
in class Finder
comp
- Component to be tested.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |