|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.search.FindResults
public class FindResults
FindResult
represents one occurrence of the find result. FindResults
represents all the
FindResult
s in one piece of the text.
Constructor Summary | |
---|---|
FindResults(String name,
FindResultIntepreter intepreter)
|
Method Summary | |
---|---|
void |
addFindResult(FindResult findResult)
Adds a FindResult . |
void |
addFindResults(FindResults findResults)
Adds a FindResults . |
Object |
getElementAt(int index)
Gets the element at the index. |
int |
getElementCount()
Gets the element count. |
FindResult |
getFirstFindResult(FindResultIntepreter interpreter)
Gets the first match result for the interpreter. |
FindResultIntepreter |
getIntepreter()
Gets the interpreter. |
String |
getName()
Gets the name of the find results. |
int |
getNumberOfFindResults()
Gets the number of FindResult. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FindResults(String name, FindResultIntepreter intepreter)
Method Detail |
---|
public String getName()
public void addFindResult(FindResult findResult)
FindResult
.
findResult
- public void addFindResults(FindResults findResults)
FindResults
. Please note, it doesn't take each FindResult
of the
FindResults
and add them separately. It will simply add a FindResults as a whole thing. By allowing
adding FindResults
to FindResults
, you can easily form a tree of
FindResult
s.
findResults
- public Object getElementAt(int index)
index
-
public int getElementCount()
public int getNumberOfFindResults()
public FindResult getFirstFindResult(FindResultIntepreter interpreter)
interpreter
- the target interpreter
public FindResultIntepreter getIntepreter()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |