treebolic.provider.wn
Class LinkNode

java.lang.Object
  extended by treebolic.model.NodeData
      extended by treebolic.model.XNodeData
          extended by treebolic.model.Node
              extended by treebolic.model.MutableNode
                  extended by treebolic.provider.wn.Node
                      extended by treebolic.provider.wn.LinkNode
All Implemented Interfaces:
INode

public class LinkNode
extends Node

Node for WordNet link

Author:
Bernard Bou

Field Summary
private static java.awt.Image[] theImages
          Images
private static java.awt.Color theLinkBackColor
          Background color
private static java.awt.Color theLinkForeColor
          Foreground color
private  int theLinkIdx
          Link index
 
Fields inherited from class treebolic.model.Node
theChildren, theParent
 
Fields inherited from class treebolic.model.XNodeData
theEdgeImage, theMountPoint
 
Fields inherited from class treebolic.model.NodeData
theBackColor, theContent, theEdgeColor, theEdgeImageFile, theEdgeLabel, theEdgeStyle, theForeColor, theId, theImageFile, theLabel, theLink, theTarget
 
Constructor Summary
LinkNode(Node thisParentNode, int thisLinkIdx)
          Constructor
 
Method Summary
 java.lang.String getContent()
          Get node content
 
Methods inherited from class treebolic.provider.wn.Node
makeNodeId
 
Methods inherited from class treebolic.model.MutableNode
setBackColor, setContent, setEdgeColor, setEdgeImageFile, setEdgeLabel, setEdgeStyle, setForeColor, setImageFile, setLabel, setLink, setTarget
 
Methods inherited from class treebolic.model.Node
getChildren, getParent, setParent
 
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
 

Field Detail

theImages

private static final java.awt.Image[] theImages
Images


theLinkIdx

private int theLinkIdx
Link index


theLinkBackColor

private static final java.awt.Color theLinkBackColor
Background color


theLinkForeColor

private static final java.awt.Color theLinkForeColor
Foreground color

Constructor Detail

LinkNode

public LinkNode(Node thisParentNode,
                int thisLinkIdx)
Constructor

Parameters:
thisParentNode - parent node
thisLinkIdx - link index
Method Detail

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