|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.gwu.jworddrivers.JWordNode
edu.gwu.jworddrivers.WordNetNode
WordNetNode Node is a class used for displaying Synonym Sets in a JTree and additional information text component. This component is an additional abstraction from the Wordnet library, it adds no additional functionality.
Constructor Summary | |
WordNetNode()
|
|
WordNetNode(Synset sense,
java.lang.String curWord)
Takes in a Synset to create object. |
Method Summary | |
java.lang.String |
getCurrentDescription()
Returns an HTML formatted list of each gloss found for the current selected word |
java.lang.String |
getDescription()
Returns an HTML formatted list of each gloss found for the synset. |
java.lang.String |
toString()
Returns a string containing the first Gloss found for the sense. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WordNetNode(Synset sense, java.lang.String curWord)
sense
- Input Synset to break into its String components.public WordNetNode()
Method Detail |
public java.lang.String toString()
toString
in class JWordNode
public java.lang.String getDescription()
getDescription
in class JWordNode
public java.lang.String getCurrentDescription()
getCurrentDescription
in class JWordNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |