|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mvt.help.HelpIndexList
A list of HelpIndexNodes. This handles the list providing functionality for the nodes like:
tools.help.HelpIndexNode
Field Summary | |
(package private) java.util.Vector |
indexNode
List of HelpIndexNodes. |
Constructor Summary | |
HelpIndexList()
Constructor - initializes the list. |
Method Summary | |
void |
addHelpNode(HelpIndexNode node)
Add a HelpIndexNode to the list. |
java.util.Vector |
getHelpNodes()
Returns the list of all the Nodes. |
int |
reverseSearch(java.lang.String s,
int index)
Searches backwards from the current index. |
int |
search(java.lang.String s)
Searches the index for the false in s. |
int |
search(java.lang.String s,
int index)
Searches the lists of IndexNodes to find a particular instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.util.Vector indexNode
Constructor Detail |
public HelpIndexList()
Method Detail |
public void addHelpNode(HelpIndexNode node)
node
- contains all the information eneded for the list.tools.help.HelpIndexNode
public java.util.Vector getHelpNodes()
Vector
public int search(java.lang.String s)
s
- the string to be searched for.
public int search(java.lang.String s, int index)
index > list.length( )-1
then -1 is returned (can't go any
further).
s
- the string to be searched for.index
- where to start from.
public int reverseSearch(java.lang.String s, int index)
list.length( )-1
is used.
s
- a string to search for.index
- the current index to start from.
|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |