edu.princeton.wordnet.browser.tree.renderers.pojos
Class SenseDecorator

java.lang.Object
  extended by edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator
      extended by edu.princeton.wordnet.browser.tree.renderers.pojos.PlainDecorator
          extended by edu.princeton.wordnet.browser.tree.renderers.pojos.SenseDecorator

public class SenseDecorator
extends PlainDecorator

Sense decorator

Author:
Bernard Bou

Field Summary
 
Fields inherited from class edu.princeton.wordnet.browser.tree.renderers.pojos.PlainDecorator
theStyle
 
Fields inherited from class edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator
theDefaultStyle, theObject
 
Constructor Summary
SenseDecorator(edu.princeton.wordnet.pojos.Sense thisSense)
          Constructor
 
Method Summary
 java.lang.String getName()
          Get node name
 edu.princeton.wordnet.pojos.Sense getSense()
          Get sense
 java.lang.String getValue()
          Get node data
 
Methods inherited from class edu.princeton.wordnet.browser.tree.renderers.pojos.PlainDecorator
getIcon, getNameStyle, getValueStyle
 
Methods inherited from class edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator
childrenToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseDecorator

public SenseDecorator(edu.princeton.wordnet.pojos.Sense thisSense)
Constructor

Parameters:
thisSense - sense
Method Detail

getSense

public edu.princeton.wordnet.pojos.Sense getSense()
Get sense

Returns:
sense

getName

public java.lang.String getName()
Description copied from class: DefaultDecorator
Get node name

Overrides:
getName in class DefaultDecorator
Returns:
node name

getValue

public java.lang.String getValue()
Description copied from class: DefaultDecorator
Get node data

Overrides:
getValue in class DefaultDecorator
Returns:
node data