edu.gwu.jworddrivers
Class RootBookDriver
java.lang.Object
edu.gwu.jworddrivers.JWordDriver
edu.gwu.jworddrivers.RootBookDriver
public class RootBookDriver
- extends JWordDriver
Method Summary |
java.lang.String |
getTitle()
This method should return the title of the dictionary |
void |
initDictionary()
This method should be implemented to load all dictionary resources
this method will be called by JWord before running any other
methods in the class |
static void |
main(java.lang.String[] args)
|
void |
returnPOS(javax.swing.tree.DefaultMutableTreeNode posRoot,
int POS,
java.lang.String searchWord)
Note: This Method is NOT SUPPORTED by the RootBookDriver!
Calling it will perform no action |
void |
returnSearch(javax.swing.tree.DefaultMutableTreeNode root,
java.lang.String searchWord)
Given the starting position on a JTree and a search word
this method will construct DefatultMutableTreeNodes containing JWordNodes
based on the dictionary's word relationships matched by the searchWord |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootBookDriver
public RootBookDriver()
getTitle
public java.lang.String getTitle()
- This method should return the title of the dictionary
- Specified by:
getTitle
in class JWordDriver
initDictionary
public void initDictionary()
- This method should be implemented to load all dictionary resources
this method will be called by JWord before running any other
methods in the class
- Specified by:
initDictionary
in class JWordDriver
returnSearch
public void returnSearch(javax.swing.tree.DefaultMutableTreeNode root,
java.lang.String searchWord)
- Given the starting position on a JTree and a search word
this method will construct DefatultMutableTreeNodes containing JWordNodes
based on the dictionary's word relationships matched by the searchWord
- Specified by:
returnSearch
in class JWordDriver
returnPOS
public void returnPOS(javax.swing.tree.DefaultMutableTreeNode posRoot,
int POS,
java.lang.String searchWord)
- Note: This Method is NOT SUPPORTED by the RootBookDriver!
Calling it will perform no action
- Specified by:
returnPOS
in class JWordDriver
main
public static void main(java.lang.String[] args)