treebolic.provider.wn
Class SenseNode
java.lang.Object
treebolic.model.NodeData
treebolic.model.XNodeData
treebolic.model.Node
treebolic.model.MutableNode
treebolic.provider.wn.Node
treebolic.provider.wn.SenseNode
- All Implemented Interfaces:
- INode
public class SenseNode
- extends Node
Sense node
- Author:
- Bernard Bou
Fields inherited from class treebolic.model.NodeData |
theBackColor, theContent, theEdgeColor, theEdgeImageFile, theEdgeLabel, theEdgeStyle, theForeColor, theId, theImageFile, theLabel, theLink, theTarget |
Constructor Summary |
SenseNode(Node thisParentNode,
int thisSenseIdx,
edu.princeton.wordnet.Synset thisSynset)
Constructor |
Method Summary |
java.lang.String |
getContent()
Get node content |
Methods inherited from class treebolic.model.MutableNode |
setBackColor, setContent, setEdgeColor, setEdgeImageFile, setEdgeLabel, setEdgeStyle, setForeColor, setImageFile, setLabel, setLink, setTarget |
Methods inherited from class treebolic.model.XNodeData |
getChildrenWeight, getEdgeImage, getImage, getLocation, getMinWeight, getMountPoint, getWeight, setChildrenWeight, setEdgeImage, setImage, setMinWeight, setMountPoint, setWeight |
Methods inherited from class treebolic.model.NodeData |
getBackColor, getEdgeColor, getEdgeImageFile, getEdgeLabel, getEdgeStyle, getForeColor, getId, getImageFile, getLabel, getLink, getTarget, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface treebolic.model.INode |
getBackColor, getChildrenWeight, getEdgeColor, getEdgeImage, getEdgeImageFile, getEdgeLabel, getEdgeStyle, getForeColor, getId, getImage, getImageFile, getLabel, getLink, getLocation, getMinWeight, getMountPoint, getTarget, getWeight, setChildrenWeight, setEdgeImage, setImage, setMinWeight, setMountPoint, setWeight |
theSynset
private edu.princeton.wordnet.Synset theSynset
- Synset
theImage
private static final java.awt.Image theImage
- Image
theSenseBackColor
private static final java.awt.Color theSenseBackColor
- Background color
theSenseForeColor
private static final java.awt.Color theSenseForeColor
- Foreground color
SenseNode
public SenseNode(Node thisParentNode,
int thisSenseIdx,
edu.princeton.wordnet.Synset thisSynset)
- Constructor
- Parameters:
thisParentNode
- parent nodethisSenseIdx
- sense indexthisSynset
- synset
getContent
public java.lang.String getContent()
- Description copied from interface:
INode
- Get node content
- Specified by:
getContent
in interface INode
- Overrides:
getContent
in class NodeData
- Returns:
- node content as string