|
|||||||||||
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.ComponentFinder junit.extensions.jfcunit.finder.JInternalFrameFinder
Title: class JInternalFrameFinder.
Description:
Copyright: Copyright (c) 2003
Company:
Field Summary | |
private java.lang.String |
m_title
Title of the frame. |
Fields inherited from class junit.extensions.jfcunit.finder.ComponentFinder |
|
Fields inherited from class junit.extensions.jfcunit.finder.Finder |
OP_CONTAINS, OP_ENDSWITH, OP_EQUALS, OP_MATCH, OP_STARTSWITH |
Constructor Summary | |
JInternalFrameFinder(java.lang.String title,
boolean ignoreCase)
Constructor for the internal frame finder. |
Method Summary | |
java.awt.Component |
find(java.awt.Container cont,
int index)
Find the DeskTop then search the desktops for the internal frame with the given name. |
java.lang.String |
getTitle()
Get the title to be matched. |
void |
setTitle(java.lang.String title)
Set the title to be matched. |
Methods inherited from class junit.extensions.jfcunit.finder.ComponentFinder |
getComponentClass, setComponentClass, testComponent |
Methods inherited from class junit.extensions.jfcunit.finder.Finder |
createPatternMatcher, evaluate, 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.lang.String m_title
Constructor Detail |
public JInternalFrameFinder(java.lang.String title, boolean ignoreCase)
title
- Title of the frame.ignoreCase
- Ignore the case if true.Method Detail |
public final void setTitle(java.lang.String title)
title
- to be matched.public final java.lang.String getTitle()
public java.awt.Component find(java.awt.Container cont, int index)
find
in class Finder
cont
- Container to be searched.index
- Index of the matching internal frames to return.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |